 |
Belle II Software
release-05-02-19
|
15 #include <calibration/CalibrationCollectorModule.h>
16 #include <mdst/dataobjects/SoftwareTriggerResult.h>
17 #include <reconstruction/dataobjects/CDCDedxTrack.h>
18 #include <mdst/dataobjects/Track.h>
19 #include <mdst/dataobjects/TrackFitResult.h>
20 #include <framework/datastore/StoreArray.h>
22 #include <reconstruction/dbobjects/CDCDedxWireGain.h>
33 class CDCDedxElectronCollectorModule :
public CalibrationCollectorModule {
45 virtual void prepare()
override;
50 virtual void collect()
override;
double m_dedx
track level information
bool IsCharge
flag to write charge in treet
int m_nhits
number of dE/dx hits on the track
bool IsEntaRS
flag to write rescaled enta in tree
StoreArray< TrackFitResult > m_trackFitResults
Required array for TrackFitResults.
std::vector< double > m_entaRS
rescaled entrance angle for the hit
int m_charge
track momentum
bool IsDocaRS
flag to write rescaled doca in tree
std::vector< double > m_doca
distance of closest approach for the hit
bool IsBhabhaEvt
flag to select bhabha event
std::vector< double > m_docaRS
rescaled distance of closest approach for the hit
bool IsEnta
flag to write enta in tree
StoreArray< CDCDedxTrack > m_dedxTracks
Required array for CDCDedxTracks.
Class for accessing objects in the database.
bool IsWire
flag to write wire number in tree
double m_costh
track cos(theta)
std::vector< int > m_wire
hit level information
bool IsRadBhabhaEvt
flag to select radee event
Abstract base class for different kinds of events.
void setEoverPCutValue(double value)
Set range for EoP cut.
Type-safe access to single objects in the data store.
bool m_cuts
Electron collector variables.
std::vector< double > m_dedxhit
dE/dx for the hit
double fSetEoverP
Cut of E over P value.
virtual void prepare() override
Create and book ROOT objects.
bool IsMom
flag to write momentum in treet
bool IsRun
flag to write run number in tree
bool Isdedxhit
flag to write dedxhits in tree
std::vector< double > m_enta
entrance angle for the hit
CDCDedxElectronCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
bool IsLayer
flag to write layer number in tree
bool IsDoca
flag to write doca in tree
Accessor to arrays stored in the data store.
StoreArray< Track > m_tracks
Required array for Tracks.
DBObjPtr< CDCDedxWireGain > m_DBWireGains
Wire gain DB object.
std::vector< int > m_layer
continuous layer number for the hit
bool IsCosth
flag to write costh in tree
virtual void collect() override
Fill ROOT objects.
bool enableTrgSel
flag to enable trigger skim selected in the module (off deafult)
int m_maxNumHits
module params
StoreObjPtr< SoftwareTriggerResult > m_TrgResult
required input