src
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::geom_
const MTDGeometry * geom_
Definition:
ETLDeviceSim.h:36
ETLDeviceSim::geomToken_
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > geomToken_
Definition:
ETLDeviceSim.h:35
MTDGeometry.h
Event.h
ETLDeviceSim::getEvent
void getEvent(const edm::Event &evt)
Definition:
ETLDeviceSim.h:25
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
edm::Handle< edm::PSimHitContainer >
EventSetup.h
MTDGeometry
Definition:
MTDGeometry.h:14
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
mtd_digitizer::MTDSimHitDataAccumulator
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
Definition:
MTDDigitizerTypes.h:39
ETLDeviceSim::ETLDeviceSim
ETLDeviceSim(const edm::ParameterSet &pset, edm::ConsumesCollector iC)
Definition:
ETLDeviceSim.cc:15
ETLDeviceSim::bxTime_
float bxTime_
Definition:
ETLDeviceSim.h:39
ETLDeviceSim::getEventSetup
void getEventSetup(const edm::EventSetup &evt)
Definition:
ETLDeviceSim.cc:22
MTDDigitizerTypes.h
ParameterSet.h
CLHEP
Definition:
CocoaGlobals.h:27
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord >
PSimHitContainer.h
edm::EventSetup
Definition:
EventSetup.h:56
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
PSimHit.h
MTDDigiGeometryRecord.h
ETLDeviceSim::tofDelay_
float tofDelay_
Definition:
ETLDeviceSim.h:40
ETLDeviceSim
Definition:
ETLDeviceSim.h:21
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
ETLDeviceSim::MIPPerMeV_
float MIPPerMeV_
Definition:
ETLDeviceSim.h:38
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14