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 // forward declaration
23 
24 class CaloGeometry;
25 
27 public:
30  void produce(edm::Event& evt, const edm::EventSetup& es) override;
31 
32 private:
33  //Functions to correct the TOF from the EcalDigi which is not corrected for the vertex position
34  double deltaTimeOfFlight(GlobalPoint& vertex, const DetId& detId, int layer) const;
35 
37 
38  edm::EDGetTokenT<EBRecHitCollection> EBRecHitCollection_; // secondary name given to collection of EBrechits
39  edm::EDGetTokenT<EERecHitCollection> EERecHitCollection_; // secondary name given to collection of EErechits
40 
45 
48 
50  ebTimeDigiCollection_; // secondary name given to collection of EB uncalib rechits
52  eeTimeDigiCollection_; // secondary name given to collection of EE uncalib rechits
53 
54  std::string EBDetailedTimeRecHitCollection_; // secondary name to be given to EB collection of hits
55  std::string EEDetailedTimeRecHitCollection_; // secondary name to be given to EE collection of hits
56 };
57 #endif
edm::EDGetTokenT< EcalTimeDigiCollection > eeTimeDigiCollection_
edm::EDGetTokenT< EcalTimeDigiCollection > ebTimeDigiCollection_
edm::EDGetTokenT< reco::VertexCollection > recoVertex_
EcalDetailedTimeRecHitProducer(const edm::ParameterSet &ps)
Definition: DetId.h:17
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollection_
double deltaTimeOfFlight(GlobalPoint &vertex, const DetId &detId, int layer) const
edm::EDGetTokenT< edm::SimVertexContainer > simVertex_
edm::EDGetTokenT< EERecHitCollection > EERecHitCollection_
void produce(edm::Event &evt, const edm::EventSetup &es) override