CMS 3D CMS Logo

PositionAtECalEntranceComputer.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_RecoTau_PositionAtECalEntranceComputer_h
2 #define RecoTauTag_RecoTau_PositionAtECalEntranceComputer_h
3 
21 
22 class MagneticField;
24 
26 public:
30 
31  void beginEvent(const edm::EventSetup&);
32 
33  //To do: it seems to more practical to put this to the ES
34  reco::Candidate::Point operator()(const reco::Candidate* particle, bool& success) const;
35 
36 private:
39  double bField_z_;
40  bool isPhase2_;
42  float hgcalFace_z_;
43  static constexpr float ecalBarrelEndcapEtaBorder_ = 1.479;
44  static constexpr float hgcalHfEtaBorder_ = 3.0;
45 };
46 
47 #endif // RecoTauTag_RecoTau_PositionAtECalEntranceComputer_h
hgcal::RecHitTools
Definition: RecHitTools.h:23
PositionAtECalEntranceComputer::ecalBarrelEndcapEtaBorder_
static constexpr float ecalBarrelEndcapEtaBorder_
Definition: PositionAtECalEntranceComputer.h:43
PositionAtECalEntranceComputer::hgcalFace_z_
float hgcalFace_z_
Definition: PositionAtECalEntranceComputer.h:42
PositionAtECalEntranceComputer::PositionAtECalEntranceComputer
PositionAtECalEntranceComputer(edm::ConsumesCollector &&, bool isPhase2=false)
Definition: PositionAtECalEntranceComputer.cc:11
PositionAtECalEntranceComputer::~PositionAtECalEntranceComputer
~PositionAtECalEntranceComputer()
Definition: PositionAtECalEntranceComputer.cc:23
ESGetToken.h
PositionAtECalEntranceComputer
Definition: PositionAtECalEntranceComputer.h:25
PositionAtECalEntranceComputer::beginEvent
void beginEvent(const edm::EventSetup &)
Definition: PositionAtECalEntranceComputer.cc:25
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
PositionAtECalEntranceComputer::bField_esToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bField_esToken_
Definition: PositionAtECalEntranceComputer.h:37
summarizeEdmComparisonLogfiles.success
success
Definition: summarizeEdmComparisonLogfiles.py:115
PositionAtECalEntranceComputer::caloGeo_esToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeo_esToken_
Definition: PositionAtECalEntranceComputer.h:38
PositionAtECalEntranceComputer::operator()
reco::Candidate::Point operator()(const reco::Candidate *particle, bool &success) const
Definition: PositionAtECalEntranceComputer.cc:33
PATTauDiscriminationAgainstElectronMVA6Phase2_cff.isPhase2
isPhase2
Definition: PATTauDiscriminationAgainstElectronMVA6Phase2_cff.py:15
edm::EventSetup
Definition: EventSetup.h:57
PositionAtECalEntranceComputer::recHitTools_
hgcal::RecHitTools recHitTools_
Definition: PositionAtECalEntranceComputer.h:41
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
reco::Candidate
Definition: Candidate.h:27
EventSetup.h
PositionAtECalEntranceComputer::bField_z_
double bField_z_
Definition: PositionAtECalEntranceComputer.h:39
PositionAtECalEntranceComputer::isPhase2_
bool isPhase2_
Definition: PositionAtECalEntranceComputer.h:40
ConsumesCollector.h
Candidate.h
reco::Candidate::Point
math::XYZPoint Point
point in the space
Definition: Candidate.h:40
PositionAtECalEntranceComputer::hgcalHfEtaBorder_
static constexpr float hgcalHfEtaBorder_
Definition: PositionAtECalEntranceComputer.h:44
MagneticField
Definition: MagneticField.h:19
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
RecHitTools.h