11 #include <calibration/CalibrationCollectorModule.h>
13 #include <framework/datastore/StoreArray.h>
14 #include <framework/database/DBObjPtr.h>
16 #include <pxd/dataobjects/PXDCluster.h>
17 #include <mdst/dataobjects/MCParticle.h>
18 #include <mdst/dataobjects/Track.h>
19 #include <tracking/dataobjects/RecoTrack.h>
21 #include <pxd/dbobjects/PXDClusterChargeMapPar.h>
22 #include <pxd/dbobjects/PXDGainMapPar.h>
Calibration collector module base class.
Class for accessing objects in the database.
Collector module for PXD gain calibration.
int m_matchTrack
Flag to use track matched clusters (=1) and apply theta angle projection to cluster charge (=2)
void prepare() override final
Prepare.
std::string m_storeRecoTracksName
Name of the collection to use for RecoTracks.
std::string m_storeTracksName
Name of the collection to use for Tracks.
int m_nBinsV
Number of corrections per sensor along v side.
PXDClusterChargeMapPar m_chargeMap
ChargeMap to be stored in dbtree.
int m_signal
Cluster charge in ADU.
int m_minClusterSize
Minimum cluster size cut.
std::string m_gainName
Payload name for Gain to be read from DB.
std::string m_storeMCParticlesName
Name of the collection to use for MCParticles.
PXDGainMapPar m_gainMap
GainMap to be stored in dbtree.
int m_nBinsU
Number of corrections per sensor along u side.
bool m_mcSamples
Flag to deal with MC samples.
void collect() override final
Collect.
std::string m_chargeName
Payload name for Cluster Charge to be read from DB.
StoreObjPtr< EventMetaData > m_evtMetaData
Required input EventMetaData.
DBObjPtr< PXDGainMapPar > m_DBGainMapPar
Pointer to GainMap calibration in DB.
StoreArray< Track > m_tracks
Required input Tracks.
int m_exp
Experiment number to be stored in dbtree.
bool m_relationCheck
Flag to check relations between PXDClusters and PXDClustersFromTracks.
std::string m_storeClustersName
Name of the collection to use for PXDClusters.
int m_maxClusterSize
Maximum cluster size cut.
StoreArray< PXDCluster > m_pxdClusters
Required input PXDClusters
StoreArray< RecoTrack > m_recoTracks
Required input RecoTracks.
int m_minClusterCharge
Minimum cluster charge cut
StoreArray< MCParticle > m_mcParticles
Optional input MCParticles
void startRun() override final
Start run.
int m_run
Run number to be stored in dbtree.
DBObjPtr< PXDClusterChargeMapPar > m_DBChargeMapPar
Pointer to ChargeMap calibration in DB.
PXDClusterChargeCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
bool m_fillChargeHistogram
Flag to fill cluster charge histograms.
The payload class for PXD cluster charge calibrations.
The payload class for PXD gain corrections.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.