CMS 3D CMS Logo

PSPDigitizerAlgorithm.h
Go to the documentation of this file.
1 #ifndef _SimTracker_SiPhase2Digitizer_PSPDigitizerAlgorithm_h
2 #define _SimTracker_SiPhase2Digitizer_PSPDigitizerAlgorithm_h
3 
5 
7 public:
9  ~PSPDigitizerAlgorithm() override;
10 
11  // initialization that cannot be done in the constructor
12  void init(const edm::EventSetup& es) override;
13 
14  // void initializeEvent();
15  // run the algorithm to digitize a single det
16  void accumulateSimHits(const std::vector<PSimHit>::const_iterator inputBegin,
17  const std::vector<PSimHit>::const_iterator inputEnd,
18  const size_t inputBeginGlobalIndex,
19  const uint32_t tofBin,
20  const Phase2TrackerGeomDetUnit* pixdet,
21  const GlobalVector& bfield) override;
22  bool select_hit(const PSimHit& hit, double tCorr, double& sigScale) override;
23  bool isAboveThreshold(const DigitizerUtility::SimHitInfo* hitInfo, float charge, float thr) override;
24 };
25 #endif
Vector3DBase
Definition: Vector3DBase.h:8
PSPDigitizerAlgorithm::select_hit
bool select_hit(const PSimHit &hit, double tCorr, double &sigScale) override
Definition: PSPDigitizerAlgorithm.cc:73
PSPDigitizerAlgorithm::~PSPDigitizerAlgorithm
~PSPDigitizerAlgorithm() override
Definition: PSPDigitizerAlgorithm.cc:29
PSPDigitizerAlgorithm::PSPDigitizerAlgorithm
PSPDigitizerAlgorithm(const edm::ParameterSet &conf)
Definition: PSPDigitizerAlgorithm.cc:17
Phase2TrackerDigitizerAlgorithm.h
PSPDigitizerAlgorithm::accumulateSimHits
void accumulateSimHits(const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const size_t inputBeginGlobalIndex, const uint32_t tofBin, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield) override
Definition: PSPDigitizerAlgorithm.cc:30
PSPDigitizerAlgorithm
Definition: PSPDigitizerAlgorithm.h:6
PSPDigitizerAlgorithm::isAboveThreshold
bool isAboveThreshold(const DigitizerUtility::SimHitInfo *hitInfo, float charge, float thr) override
Definition: PSPDigitizerAlgorithm.cc:80
PSPDigitizerAlgorithm::init
void init(const edm::EventSetup &es) override
Definition: PSPDigitizerAlgorithm.cc:16
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
edm::ParameterSet
Definition: ParameterSet.h:36
Phase2TrackerDigitizerAlgorithm
Definition: Phase2TrackerDigitizerAlgorithm.h:58
edm::EventSetup
Definition: EventSetup.h:57
DigitizerUtility::SimHitInfo
Definition: DigitizerUtility.h:14
PSimHit
Definition: PSimHit.h:15
hit
Definition: SiStripHitEffFromCalibTree.cc:88