 |
Belle II Software
release-05-02-19
|
13 #include <calibration/CalibrationCollectorModule.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <framework/database/DBObjPtr.h>
18 #include <pxd/dataobjects/PXDCluster.h>
19 #include <mdst/dataobjects/MCParticle.h>
20 #include <mdst/dataobjects/Track.h>
21 #include <tracking/dataobjects/RecoTrack.h>
23 #include <pxd/dbobjects/PXDClusterChargeMapPar.h>
24 #include <pxd/dbobjects/PXDGainMapPar.h>
44 class PXDClusterChargeCollectorModule :
public CalibrationCollectorModule {
int m_run
Run number to be stored in dbtree.
void startRun() override final
Replacement for beginRun(). Do anything you would normally do in beginRun here.
int m_nBinsU
Number of corrections per sensor along u side.
StoreArray< RecoTrack > m_recoTracks
Required input RecoTracks.
StoreArray< MCParticle > m_mcParticles
Optional input MCParticles
std::string m_storeClustersName
Name of the collection to use for PXDClusters.
std::string m_gainName
Payload name for Gain to be read from DB.
The payload class for PXD gain corrections.
StoreArray< PXDCluster > m_pxdClusters
Required input PXDClusters
std::string m_storeRecoTracksName
Name of the collection to use for RecoTracks.
std::string m_storeTracksName
Name of the collection to use for Tracks.
DBObjPtr< PXDClusterChargeMapPar > m_DBChargeMapPar
Pointer to ChargeMap calibration in DB.
Class for accessing objects in the database.
bool m_fillChargeHistogram
Flag to fill cluster charge histograms.
std::string m_storeMCParticlesName
Name of the collection to use for MCParticles.
This is the Reconstruction Event-Data Model Track.
int m_matchTrack
Flag to use track matched clusters (=1) and apply theta angle projection to cluster charge (=2)
int m_signal
Cluster charge in ADU.
bool m_mcSamples
Flag to deal with MC samples.
void prepare() override final
Replacement for initialize(). Register calibration dataobjects here as well.
int m_minClusterCharge
Minimum cluster charge cut
int m_exp
Experiment number to be stored in dbtree.
bool m_relationCheck
Flag to check relations between PXDClusters and PXDClustersFromTracks.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
void collect() override final
Replacement for event(). Fill you calibration data objects here.
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
StoreObjPtr< EventMetaData > m_evtMetaData
Required input EventMetaData.
std::string m_chargeName
Payload name for Cluster Charge to be read from DB.
The payload class for PXD cluster charge calibrations.
int m_nBinsV
Number of corrections per sensor along v side.
PXDClusterChargeCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreArray< Track > m_tracks
Required input Tracks.
int m_minClusterSize
Minimum cluster size cut.
Class that bundles various TrackFitResults.
A Class to store the Monte Carlo particle information.
Accessor to arrays stored in the data store.
PXDClusterChargeMapPar m_chargeMap
ChargeMap to be stored in dbtree.
PXDGainMapPar m_gainMap
GainMap to be stored in dbtree.
DBObjPtr< PXDGainMapPar > m_DBGainMapPar
Pointer to GainMap calibration in DB.
int m_maxClusterSize
Maximum cluster size cut.