Belle II Software  release-06-02-00
reconstruction modules
Collaboration diagram for reconstruction modules:

Classes

class  CDCDedxCorrectionModule
 This module may be used to apply the corrections to dE/dx per the calibration constants. More...
 
class  CDCDedxDQMModule
 This module to design collect CDC dEdx monitoring for DQM and only minimal information are stored. More...
 
class  CDCDedxElectronCollectorModule
 A collector module for CDC dE/dx electron calibrations. More...
 
class  CDCDedxPIDModule
 Extract CDC dE/dx information from fitted tracks. More...
 
class  CDCDedxScanModule
 This class performs the same function as CDCDedxPIDModule, but does so without using real objects from basf2. More...
 
class  DedxPoint
 A collection of classes that are useful for making a simple path length correction to the dE/dx measurement for each hit in a CDC cell. More...
 
class  DedxLine
 A class to hold the endpoints and slope of a line. More...
 
class  DedxDriftCell
 A class to hold the geometry of a cell. More...
 
class  CDCDedxSkimModule
 This module may be used to skim a data sample according to a specific set of cuts. More...
 
class  CDCDedxSkimCDSTModule
 Extracts dE/dx information for calibration testing. More...
 
class  CDCDedxValidationModule
 First version commited on Feb 21 2019 Extracts dE/dx information for validation and writes a ROOT file. More...
 
class  ClusterMatcherModule
 Match KLM Clusters to close ECL Clusters. More...
 
class  CombinedPIDPerformanceModule
 This module takes the MCParticles, the Tracks, and the PIDLikelihoods as input and produces a root file containing various histograms showing the PID performance. More...
 
class  EventsOfDoomBusterModule
 Module that flags an event destined for doom at reconstruction, based on the size of selected hits/digits containers after the unpacking. More...
 
class  EventT0CombinerModule
 Module to combine the EventT0 values from multiple sub-detectors. More...
 
class  EventT0DQMModule
 This module to design collect the event t0 values base on different detectors and physics processes. More...
 
class  HitLevelInfoWriterModule
 Extracts dE/dx information for calibration testing. More...
 
class  DataWriterModule
 Module to write Ntuples for KlId BKG classifier training. More...
 
class  ECLExpertModule
 Module to perform the ECL Klong ID classification. More...
 
class  KLMExpertModule
 Module to perform the KLM KlId classification. More...
 
class  KlongValidationModule
 Module used by the validation server to generate root files for the validation. More...
 
class  MdstPIDModule
 a module to fill PIDLikelihoods More...
 
class  PIDNtupleModule
 makes PID ntuple from mdst input More...
 
class  HelixHelper
 Helper class representing a helical track. More...
 
class  VXDDedxPIDModule
 Extract dE/dx from fitted tracks. More...
 

Functions

 MdstPIDModule ()
 Constructor.
 
virtual ~MdstPIDModule ()
 Destructor.
 
virtual void initialize () override
 Initialize the module. More...
 
virtual void beginRun () override
 Called when a new run is started.
 
virtual void endRun () override
 Called when run ended.
 
virtual void terminate () override
 Terminates the module.
 
virtual void event () override
 Called for each event. More...
 
void setLikelihoods (const TOPLikelihood *logl)
 Set TOP log likelihoods and corresponding reconstruction flag. More...
 
void setLikelihoods (const ARICHLikelihood *logl)
 Set ARICH log likelihoods and corresponding reconstruction flag. More...
 
void setLikelihoods (const CDCDedxLikelihood *logl)
 Set CDC dE/dx log likelihoods and corresponding reconstruction flag. More...
 
void setLikelihoods (const VXDDedxLikelihood *logl)
 Set VXD dE/dx log likelihoods and corresponding reconstruction flag. More...
 
void setLikelihoods (const ECLPidLikelihood *logl)
 Set ECL log likelihoods and corresponding reconstruction flag. More...
 
void setLikelihoods (const KLMMuidLikelihood *muid)
 Set KLM log likelihoods and corresponding reconstruction flag. More...
 

Variables

static TVector3 minimize_distance_to_point
 user supplied point we're trying to find the nearest helix point to
 
static TVector3 minimize_distance_to_line_a
 first user supplied line we're trying to find the nearest helix point to
 
static TVector3 minimize_distance_to_line_b
 second user supplied line we're trying to find the nearest helix point to
 
static HelixHelper const * helix_object
 keep a 'this' pointer around for minimization
 

Detailed Description

Function Documentation

◆ event()

void event ( void  )
overridevirtual

Called for each event.

loop over Tracks, collect likelihoods and fill PIDLikelihoods

Reimplemented from Module.

Definition at line 72 of file MdstPIDModule.cc.

73  {
74  // loop over reconstructed tracks and collect likelihoods
75  for (int itra = 0; itra < m_tracks.getEntries(); ++itra) {
76 
77  // reconstructed track
78  const Track* track = m_tracks[itra];
79 
80  // append new and set relation
81  m_pid = m_pidLikelihoods.appendNew();
82  track->addRelationTo(m_pid);
83 
84  // set top likelihoods
85  const TOPLikelihood* top = track->getRelated<TOPLikelihood>();
86  if (top) setLikelihoods(top);
87 
88  // set arich likelihoods
89  const ARICHLikelihood* arich = track->getRelated<ARICHLikelihood>();
90  if (arich) setLikelihoods(arich);
91 
92  // set CDC dE/dx likelihoods
93  const CDCDedxLikelihood* cdcdedx = track->getRelatedTo<CDCDedxLikelihood>();
94  if (cdcdedx) setLikelihoods(cdcdedx);
95 
96  // set VXD dE/dx likelihoods
97  const VXDDedxLikelihood* vxddedx = track->getRelatedTo<VXDDedxLikelihood>();
98  if (vxddedx) setLikelihoods(vxddedx);
99 
100  // set ecl likelihoods
101  const ECLPidLikelihood* ecl = track->getRelatedTo<ECLPidLikelihood>();
102  if (ecl) setLikelihoods(ecl);
103 
104  // set klm likelihoods
105  const KLMMuidLikelihood* muid = track->getRelatedTo<KLMMuidLikelihood>();
106  if (muid) setLikelihoods(muid);
107 
108  }
109 
110  }
PIDLikelihood * m_pid
pointer to the object to be filled
StoreArray< Track > m_tracks
Required array for Tracks.
Definition: MdstPIDModule.h:81
StoreArray< PIDLikelihood > m_pidLikelihoods
Required array for PIDLikelihoods.
Definition: MdstPIDModule.h:82
void setLikelihoods(const TOPLikelihood *logl)
Set TOP log likelihoods and corresponding reconstruction flag.

◆ initialize()

void initialize ( void  )
overridevirtual

Initialize the module.

data store registration of PIDLikelihoods and relations to Tracks

Reimplemented from Module.

Definition at line 41 of file MdstPIDModule.cc.

◆ setLikelihoods() [1/6]

void setLikelihoods ( const ARICHLikelihood logl)
private

Set ARICH log likelihoods and corresponding reconstruction flag.

Parameters
loglARICHLikelihood pointer

Definition at line 124 of file MdstPIDModule.cc.

◆ setLikelihoods() [2/6]

void setLikelihoods ( const CDCDedxLikelihood logl)
private

Set CDC dE/dx log likelihoods and corresponding reconstruction flag.

Parameters
loglCDCDedxLikelihood pointer

Definition at line 135 of file MdstPIDModule.cc.

◆ setLikelihoods() [3/6]

void setLikelihoods ( const ECLPidLikelihood logl)
private

Set ECL log likelihoods and corresponding reconstruction flag.

Parameters
loglECLPidLikelihood pointer

Definition at line 155 of file MdstPIDModule.cc.

◆ setLikelihoods() [4/6]

void setLikelihoods ( const KLMMuidLikelihood muid)
private

Set KLM log likelihoods and corresponding reconstruction flag.

Parameters
muidKLMMuidLikelihood pointer

Definition at line 165 of file MdstPIDModule.cc.

◆ setLikelihoods() [5/6]

void setLikelihoods ( const TOPLikelihood logl)
private

Set TOP log likelihoods and corresponding reconstruction flag.

Parameters
loglTOPLikelihood pointer

Definition at line 113 of file MdstPIDModule.cc.

◆ setLikelihoods() [6/6]

void setLikelihoods ( const VXDDedxLikelihood logl)
private

Set VXD dE/dx log likelihoods and corresponding reconstruction flag.

Parameters
loglVXDDedxLikelihood pointer

Definition at line 145 of file MdstPIDModule.cc.