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
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeo_esToken_
PositionAtECalEntranceComputer(edm::ConsumesCollector &&, bool isPhase2=false)
void beginEvent(const edm::EventSetup &)
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bField_esToken_
reco::Candidate::Point operator()(const reco::Candidate *particle, bool &success) const
math::XYZPoint Point
point in the space
Definition: Candidate.h:40