SimFastTiming
FastTimingCommon
interface
ETLDeviceSim.h
Go to the documentation of this file.
1
#ifndef __SimFastTiming_FastTimingCommon_ETLDeviceSim_h__
2
#define __SimFastTiming_FastTimingCommon_ETLDeviceSim_h__
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
9
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
10
#include "
SimFastTiming/FastTimingCommon/interface/MTDDigitizerTypes.h
"
11
12
#include "
Geometry/Records/interface/MTDDigiGeometryRecord.h
"
13
#include "
Geometry/MTDGeometryBuilder/interface/MTDGeometry.h
"
14
15
#include <tuple>
16
17
namespace
CLHEP
{
18
class
HepRandomEngine;
19
}
20
21
class
ETLDeviceSim
{
22
public
:
23
ETLDeviceSim
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
iC);
24
25
void
getEvent
(
const
edm::Event
& evt) {}
26
27
void
getEventSetup
(
const
edm::EventSetup
& evt);
28
29
void
getHitsResponse
(
const
std::vector
<std::tuple<int, uint32_t, float> >& hitRefs,
30
const
edm::Handle<edm::PSimHitContainer>
&
hits
,
31
mtd_digitizer::MTDSimHitDataAccumulator
* simHitAccumulator,
32
CLHEP::HepRandomEngine* hre);
33
34
private
:
35
const
edm::ESGetToken<MTDGeometry, MTDDigiGeometryRecord>
geomToken_
;
36
const
MTDGeometry
*
geom_
;
37
38
float
MIPPerMeV_
;
39
float
bxTime_
;
40
float
tofDelay_
;
41
};
42
43
#endif
ETLDeviceSim
Definition:
ETLDeviceSim.h:21
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
ETLDeviceSim::ETLDeviceSim
ETLDeviceSim(const edm::ParameterSet &pset, edm::ConsumesCollector iC)
Definition:
ETLDeviceSim.cc:15
PSimHitContainer.h
MTDGeometry.h
MTDDigiGeometryRecord.h
ETLDeviceSim::getHitsResponse
void getHitsResponse(const std::vector< std::tuple< int, uint32_t, float > > &hitRefs, const edm::Handle< edm::PSimHitContainer > &hits, mtd_digitizer::MTDSimHitDataAccumulator *simHitAccumulator, CLHEP::HepRandomEngine *hre)
Definition:
ETLDeviceSim.cc:24
edm::Handle< edm::PSimHitContainer >
MTDDigitizerTypes.h
ETLDeviceSim::geomToken_
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > geomToken_
Definition:
ETLDeviceSim.h:35
PSimHit.h
ETLDeviceSim::tofDelay_
float tofDelay_
Definition:
ETLDeviceSim.h:40
CLHEP
Definition:
CocoaGlobals.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ETLDeviceSim::bxTime_
float bxTime_
Definition:
ETLDeviceSim.h:39
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
ETLDeviceSim::geom_
const MTDGeometry * geom_
Definition:
ETLDeviceSim.h:36
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord >
MTDGeometry
Definition:
MTDGeometry.h:14
ETLDeviceSim::getEventSetup
void getEventSetup(const edm::EventSetup &evt)
Definition:
ETLDeviceSim.cc:22
mtd_digitizer::MTDSimHitDataAccumulator
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
Definition:
MTDDigitizerTypes.h:39
EventSetup.h
ETLDeviceSim::getEvent
void getEvent(const edm::Event &evt)
Definition:
ETLDeviceSim.h:25
ParameterSet.h
edm::Event
Definition:
Event.h:73
ETLDeviceSim::MIPPerMeV_
float MIPPerMeV_
Definition:
ETLDeviceSim.h:38
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16