SimTracker
SiPhase2Digitizer
plugins
PSPDigitizerAlgorithm.h
Go to the documentation of this file.
1
#ifndef _SimTracker_SiPhase2Digitizer_PSPDigitizerAlgorithm_h
2
#define _SimTracker_SiPhase2Digitizer_PSPDigitizerAlgorithm_h
3
4
#include "
CondFormats/DataRecord/interface/SiPhase2OuterTrackerLorentzAngleRcd.h
"
5
#include "
FWCore/Utilities/interface/ESGetToken.h
"
6
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
7
#include "
SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizerAlgorithm.h
"
8
9
class
PSPDigitizerAlgorithm
:
public
Phase2TrackerDigitizerAlgorithm
{
10
public
:
11
PSPDigitizerAlgorithm
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
iC);
12
~PSPDigitizerAlgorithm
()
override
;
13
14
// initialization that cannot be done in the constructor
15
void
init
(
const
edm::EventSetup
& es)
override
;
16
17
bool
select_hit
(
const
PSimHit
&
hit
,
double
tCorr,
double
& sigScale)
const override
;
18
bool
isAboveThreshold
(
const
DigitizerUtility::SimHitInfo
* hitInfo,
float
charge
,
float
thr)
const override
;
19
20
private
:
21
edm::ESGetToken<SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleSimRcd>
siPhase2OTLorentzAngleToken_
;
22
const
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
geomToken_
;
23
};
24
#endif
PSPDigitizerAlgorithm::~PSPDigitizerAlgorithm
~PSPDigitizerAlgorithm() override
Definition:
PSPDigitizerAlgorithm.cc:39
PSPDigitizerAlgorithm::geomToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
Definition:
PSPDigitizerAlgorithm.h:22
Phase2TrackerDigitizerAlgorithm.h
PSPDigitizerAlgorithm
Definition:
PSPDigitizerAlgorithm.h:9
ESGetToken.h
PSPDigitizerAlgorithm::isAboveThreshold
bool isAboveThreshold(const DigitizerUtility::SimHitInfo *hitInfo, float charge, float thr) const override
Definition:
PSPDigitizerAlgorithm.cc:50
SiPhase2OuterTrackerLorentzAngleRcd.h
PSPDigitizerAlgorithm::init
void init(const edm::EventSetup &es) override
Definition:
PSPDigitizerAlgorithm.cc:15
PSPDigitizerAlgorithm::PSPDigitizerAlgorithm
PSPDigitizerAlgorithm(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
Definition:
PSPDigitizerAlgorithm.cc:23
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Phase2TrackerDigitizerAlgorithm
Definition:
Phase2TrackerDigitizerAlgorithm.h:54
edm::EventSetup
Definition:
EventSetup.h:58
PSPDigitizerAlgorithm::select_hit
bool select_hit(const PSimHit &hit, double tCorr, double &sigScale) const override
Definition:
PSPDigitizerAlgorithm.cc:43
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleSimRcd >
DigitizerUtility::SimHitInfo
Definition:
DigitizerUtility.h:14
PSimHit
Definition:
PSimHit.h:15
PSPDigitizerAlgorithm::siPhase2OTLorentzAngleToken_
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleSimRcd > siPhase2OTLorentzAngleToken_
Definition:
PSPDigitizerAlgorithm.h:21
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16