CMS 3D CMS Logo

EcalDetailedTimeRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalDetailedTimeRecHitProducer_HH
2 #define RecoLocalCalo_EcalRecProducers_EcalDetailedTimeRecHitProducer_HH
3 
14 
21 
22 
23 // forward declaration
24 
25 class CaloGeometry;
26 
28 
29  public:
32  virtual void produce(edm::Event& evt, const edm::EventSetup& es);
33 
34  private:
35 
36  //Functions to correct the TOF from the EcalDigi which is not corrected for the vertex position
37  double deltaTimeOfFlight( GlobalPoint& vertex, const DetId& detId , int layer) const ;
38 
40 
41  edm::EDGetTokenT<EBRecHitCollection> EBRecHitCollection_; // secondary name given to collection of EBrechits
42  edm::EDGetTokenT<EERecHitCollection> EERecHitCollection_; // secondary name given to collection of EErechits
43 
48 
51 
52  edm::EDGetTokenT<EcalTimeDigiCollection> ebTimeDigiCollection_; // secondary name given to collection of EB uncalib rechits
53  edm::EDGetTokenT<EcalTimeDigiCollection> eeTimeDigiCollection_; // secondary name given to collection of EE uncalib rechits
54 
55  std::string EBDetailedTimeRecHitCollection_; // secondary name to be given to EB collection of hits
56  std::string EEDetailedTimeRecHitCollection_; // secondary name to be given to EE collection of hits
57 
58 };
59 #endif
edm::EDGetTokenT< EcalTimeDigiCollection > eeTimeDigiCollection_
edm::EDGetTokenT< EcalTimeDigiCollection > ebTimeDigiCollection_
edm::EDGetTokenT< reco::VertexCollection > recoVertex_
EcalDetailedTimeRecHitProducer(const edm::ParameterSet &ps)
Definition: DetId.h:18
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollection_
double deltaTimeOfFlight(GlobalPoint &vertex, const DetId &detId, int layer) const
edm::EDGetTokenT< edm::SimVertexContainer > simVertex_
edm::EDGetTokenT< EERecHitCollection > EERecHitCollection_
virtual void produce(edm::Event &evt, const edm::EventSetup &es)