13#include <calibration/CalibrationCollectorModule.h>
15#include <mdst/dataobjects/SoftwareTriggerResult.h>
16#include <mdst/dataobjects/EventLevelTriggerTimeInfo.h>
17#include <mdst/dataobjects/Track.h>
18#include <mdst/dataobjects/TrackFitResult.h>
19#include <mdst/dataobjects/ECLCluster.h>
21#include <framework/datastore/StoreArray.h>
22#include <framework/dataobjects/EventMetaData.h>
24#include <reconstruction/dataobjects/CDCDedxTrack.h>
25#include <reconstruction/dbobjects/CDCDedxWireGain.h>
49 virtual void prepare()
override;
54 virtual void collect()
override;
A collector module for CDC dE/dx electron calibrations.
bool m_isEntaRS
flag to write rescaled enta in tree
bool m_isLayer
flag to write layer number in tree
bool m_isEnta
flag to write enta in tree
bool m_isPt
flag to write trans momentum in treet
bool m_isADCcorr
flag to write adc corrected in tree
bool m_isWire
flag to write wire number in tree
int m_maxHits
module params
void setEoverPCutValue(double value)
Set range for EoP cut.
std::vector< double > m_adccorr
adc corrected for the hit
double m_dedx
dE/dx truncated mean
bool m_isCosth
flag to write costh in tree
bool m_isRadee
flag to select radee event
std::vector< int > m_wire
hit level information
bool m_isMom
flag to write momentum in treet
std::vector< int > m_layer
continuous layer number for the hit
bool m_cuts
Electron collector variables.
bool m_isRun
flag to write run number in tree
StoreArray< TrackFitResult > m_trackFitResults
Required array for TrackFitResults.
bool m_isTrgSel
flag to enable trigger skim selected in the module (off default)
bool m_isCharge
flag to write charge in treet
StoreObjPtr< SoftwareTriggerResult > m_trgResult
required input
std::vector< double > m_dedxhit
dE/dx for the hit
std::vector< double > m_doca
distance of closest approach for the hit
int m_nhits
number of dE/dx hits on the track
virtual void collect() override
Fill ROOT objects.
StoreArray< Track > m_tracks
Required array for Tracks.
bool m_isDedxhit
flag to write dedxhits in tree
bool m_isBhabha
flag to select bhabha event
double m_injRing
event level information
virtual void prepare() override
Create and book ROOT objects.
DBObjPtr< CDCDedxWireGain > m_DBWireGains
Wire gain DB object.
CDCDedxElectronCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
double m_costh
track cos(theta)
std::vector< double > m_entaRS
rescaled entrance angle for the hit
bool m_isInjTime
flag to enable trigger skim (off default)
int m_charge
track momentum
bool m_isDoca
flag to write doca in tree
std::vector< double > m_enta
entrance angle for the hit
StoreArray< CDCDedxTrack > m_dedxTracks
Required array for CDCDedxTracks.
bool m_isDocaRS
flag to write rescaled doca in tree
std::vector< double > m_docaRS
rescaled distance of closest approach for the hit
double m_pt
track level information
double m_setEoP
Cut of E over P value.
double m_injTime
time since last injection
Calibration collector module base class.
Class for accessing objects in the database.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.