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 
24 
25 // forward declaration
26 
27 class CaloGeometry;
28 
30 public:
33  void produce(edm::Event& evt, const edm::EventSetup& es) override;
34 
35 private:
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 
53  ebTimeDigiCollection_; // secondary name given to collection of EB uncalib rechits
55  eeTimeDigiCollection_; // secondary name given to collection of EE uncalib rechits
56 
58 
59  std::string EBDetailedTimeRecHitCollection_; // secondary name to be given to EB collection of hits
60  std::string EEDetailedTimeRecHitCollection_; // secondary name to be given to EE collection of hits
61 };
62 #endif
EcalDetailedTimeRecHitProducer::simVertex_
edm::EDGetTokenT< edm::SimVertexContainer > simVertex_
Definition: EcalDetailedTimeRecHitProducer.h:45
EcalDetailedTimeRecHitProducer::m_geometry
const CaloGeometry * m_geometry
Definition: EcalDetailedTimeRecHitProducer.h:39
EcalDetailedTimeRecHitProducer::~EcalDetailedTimeRecHitProducer
~EcalDetailedTimeRecHitProducer() override
Definition: EcalDetailedTimeRecHitProducer.cc:71
EcalDetailedTimeRecHitProducer
Definition: EcalDetailedTimeRecHitProducer.h:29
EcalDetailedTimeRecHitProducer::deltaTimeOfFlight
double deltaTimeOfFlight(GlobalPoint &vertex, const DetId &detId, int layer) const
Definition: EcalDetailedTimeRecHitProducer.cc:208
edm::EDGetTokenT
Definition: EDGetToken.h:33
EDProducer.h
ESGetToken.h
EcalRecHitCollections.h
EcalDetailedTimeRecHitProducer::recoVertex_
edm::EDGetTokenT< reco::VertexCollection > recoVertex_
Definition: EcalDetailedTimeRecHitProducer.h:44
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
SimVertex.h
EcalDigiCollections.h
Point3DBase< float, GlobalTag >
CaloGeometryRecord.h
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
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:47
EcalRecHitAbsAlgo.h
Event.h
EcalDetailedTimeRecHitProducer::EEDetailedTimeRecHitCollection_
std::string EEDetailedTimeRecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:60
EcalDetailedTimeRecHitProducer::useMCTruthVertex_
bool useMCTruthVertex_
Definition: EcalDetailedTimeRecHitProducer.h:47
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:58
EcalDetailedTimeRecHitProducer::caloGeometry_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_
Definition: EcalDetailedTimeRecHitProducer.h:57
EcalDetailedTimeRecHitProducer::EBRecHitCollection_
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:41
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
EcalDetailedTimeRecHitProducer::EcalDetailedTimeRecHitProducer
EcalDetailedTimeRecHitProducer(const edm::ParameterSet &ps)
Definition: EcalDetailedTimeRecHitProducer.cc:42
EcalDetailedTimeRecHitProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: EcalDetailedTimeRecHitProducer.cc:73
VertexFwd.h
EcalDetailedTimeRecHitProducer::eeTimeLayer_
int eeTimeLayer_
Definition: EcalDetailedTimeRecHitProducer.h:50
EcalDetailedTimeRecHitProducer::correctForVertexZPosition_
bool correctForVertexZPosition_
Definition: EcalDetailedTimeRecHitProducer.h:46
EcalDetailedTimeRecHitProducer::ebTimeLayer_
int ebTimeLayer_
Definition: EcalDetailedTimeRecHitProducer.h:49
CaloGeometry.h
EventSetup.h
EcalDetailedTimeRecHitProducer::EERecHitCollection_
edm::EDGetTokenT< EERecHitCollection > EERecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:42
EcalDetailedTimeRecHitProducer::ebTimeDigiCollection_
edm::EDGetTokenT< EcalTimeDigiCollection > ebTimeDigiCollection_
Definition: EcalDetailedTimeRecHitProducer.h:53
ParameterSet.h
EcalDetailedTimeRecHitProducer::EBDetailedTimeRecHitCollection_
std::string EBDetailedTimeRecHitCollection_
Definition: EcalDetailedTimeRecHitProducer.h:59
edm::Event
Definition: Event.h:73
GlobalPoint.h
SimVertexContainer.h
EcalDetailedTimeRecHitProducer::eeTimeDigiCollection_
edm::EDGetTokenT< EcalTimeDigiCollection > eeTimeDigiCollection_
Definition: EcalDetailedTimeRecHitProducer.h:55