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
EcalDetailedTimeRecHitProducer::simVertex_
edm::EDGetTokenT< edm::SimVertexContainer > simVertex_
Definition: EcalDetailedTimeRecHitProducer.h:42
EcalDetailedTimeRecHitProducer::m_geometry
const CaloGeometry * m_geometry
Definition: EcalDetailedTimeRecHitProducer.h:36
EcalDetailedTimeRecHitProducer::~EcalDetailedTimeRecHitProducer
~EcalDetailedTimeRecHitProducer() override
Definition: EcalDetailedTimeRecHitProducer.cc:70
EcalDetailedTimeRecHitProducer
Definition: EcalDetailedTimeRecHitProducer.h:26
EcalDetailedTimeRecHitProducer::deltaTimeOfFlight
double deltaTimeOfFlight(GlobalPoint &vertex, const DetId &detId, int layer) const
Definition: EcalDetailedTimeRecHitProducer.cc:207
edm::EDGetTokenT
Definition: EDGetToken.h:33
EDProducer.h
EcalRecHitCollections.h
EcalDetailedTimeRecHitProducer::recoVertex_
edm::EDGetTokenT< reco::VertexCollection > recoVertex_
Definition: EcalDetailedTimeRecHitProducer.h:41
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
SimVertex.h
EcalDigiCollections.h
Point3DBase< float, GlobalTag >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
edm::ParameterSet
Definition: ParameterSet.h:36
EcalRecHitAbsAlgo.h
Event.h
EcalDetailedTimeRecHitProducer::EEDetailedTimeRecHitCollection_
std::string EEDetailedTimeRecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:55
EcalDetailedTimeRecHitProducer::useMCTruthVertex_
bool useMCTruthVertex_
Definition: EcalDetailedTimeRecHitProducer.h:44
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
EcalDetailedTimeRecHitProducer::EBRecHitCollection_
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:38
EcalDetailedTimeRecHitProducer::EcalDetailedTimeRecHitProducer
EcalDetailedTimeRecHitProducer(const edm::ParameterSet &ps)
Definition: EcalDetailedTimeRecHitProducer.cc:43
EcalDetailedTimeRecHitProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: EcalDetailedTimeRecHitProducer.cc:72
VertexFwd.h
EcalDetailedTimeRecHitProducer::eeTimeLayer_
int eeTimeLayer_
Definition: EcalDetailedTimeRecHitProducer.h:47
EcalDetailedTimeRecHitProducer::correctForVertexZPosition_
bool correctForVertexZPosition_
Definition: EcalDetailedTimeRecHitProducer.h:43
EcalDetailedTimeRecHitProducer::ebTimeLayer_
int ebTimeLayer_
Definition: EcalDetailedTimeRecHitProducer.h:46
EventSetup.h
EcalDetailedTimeRecHitProducer::EERecHitCollection_
edm::EDGetTokenT< EERecHitCollection > EERecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:39
EcalDetailedTimeRecHitProducer::ebTimeDigiCollection_
edm::EDGetTokenT< EcalTimeDigiCollection > ebTimeDigiCollection_
Definition: EcalDetailedTimeRecHitProducer.h:50
ParameterSet.h
EcalDetailedTimeRecHitProducer::EBDetailedTimeRecHitCollection_
std::string EBDetailedTimeRecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:54
edm::Event
Definition: Event.h:73
GlobalPoint.h
SimVertexContainer.h
EcalDetailedTimeRecHitProducer::eeTimeDigiCollection_
edm::EDGetTokenT< EcalTimeDigiCollection > eeTimeDigiCollection_
Definition: EcalDetailedTimeRecHitProducer.h:52