13#include <calibration/CalibrationCollectorModule.h>
15#include <mdst/dataobjects/SoftwareTriggerResult.h>
16#include <mdst/dataobjects/Track.h>
17#include <mdst/dataobjects/TrackFitResult.h>
19#include <framework/datastore/StoreArray.h>
21#include <cdc/dataobjects/CDCDedxTrack.h>
22#include <cdc/dbobjects/CDCDedxWireGain.h>
47 virtual void prepare()
override;
52 virtual void collect()
override;
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
Class for accessing objects in the database.
int m_maxHits
module params
void setEoverPCutValue(double value)
Set range for EoP cut.
double m_dedx
dE/dx truncated mean
std::vector< int > m_wire
hit level information
std::vector< int > m_layer
continuous layer number for the hit
bool m_cuts
Electron collector variables.
StoreArray< TrackFitResult > m_trackFitResults
Required array for TrackFitResults.
StoreObjPtr< SoftwareTriggerResult > m_trgResult
required input
std::vector< double > m_dedxhit
dE/dx 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.
ElectronValCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
double m_injRing
event level information
virtual void prepare() override
Create and book ROOT objects.
DBObjPtr< CDCDedxWireGain > m_DBWireGains
Wire gain DB object.
double m_costh
track cos(theta)
std::vector< double > m_entaRS
rescaled entrance angle for the hit
int m_charge
track momentum
std::vector< double > m_enta
entrance angle for the hit
StoreArray< CDCDedxTrack > m_dedxTracks
Required array for CDCDedxTracks.
double m_pt
track level information
double m_setEoP
Cut of E over P value.
double m_injTime
time since last injection
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.