CMS 3D CMS Logo

PSSDigitizerAlgorithm.h
Go to the documentation of this file.
1 #ifndef _SimTracker_SiPhase2Digitizer_PSSDigitizerAlgorithm_h
2 #define _SimTracker_SiPhase2Digitizer_PSSDigitizerAlgorithm_h
3 
5 
7 public:
9  ~PSSDigitizerAlgorithm() 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
PSSDigitizerAlgorithm::init
void init(const edm::EventSetup &es) override
Definition: PSSDigitizerAlgorithm.cc:16
PSSDigitizerAlgorithm
Definition: PSSDigitizerAlgorithm.h:6
Phase2TrackerDigitizerAlgorithm.h
PSSDigitizerAlgorithm::select_hit
bool select_hit(const PSimHit &hit, double tCorr, double &sigScale) override
Definition: PSSDigitizerAlgorithm.cc:73
PSSDigitizerAlgorithm::isAboveThreshold
bool isAboveThreshold(const DigitizerUtility::SimHitInfo *hitInfo, float charge, float thr) override
Definition: PSSDigitizerAlgorithm.cc:80
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
PSSDigitizerAlgorithm::PSSDigitizerAlgorithm
PSSDigitizerAlgorithm(const edm::ParameterSet &conf)
Definition: PSSDigitizerAlgorithm.cc:17
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
edm::ParameterSet
Definition: ParameterSet.h:36
Phase2TrackerDigitizerAlgorithm
Definition: Phase2TrackerDigitizerAlgorithm.h:58
PSSDigitizerAlgorithm::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: PSSDigitizerAlgorithm.cc:30
PSSDigitizerAlgorithm::~PSSDigitizerAlgorithm
~PSSDigitizerAlgorithm() override
Definition: PSSDigitizerAlgorithm.cc:29
edm::EventSetup
Definition: EventSetup.h:57
DigitizerUtility::SimHitInfo
Definition: DigitizerUtility.h:14
PSimHit
Definition: PSimHit.h:15
hit
Definition: SiStripHitEffFromCalibTree.cc:88