#include <BTLDeviceSim.h>
Definition at line 18 of file BTLDeviceSim.h.
Definition at line 11 of file BTLDeviceSim.cc.
T getParameter(std::string const &) const
const float smearLightCollTime_
const float LightCollTime_
const float LightCollEff_
void BTLDeviceSim::getEvent |
( |
const edm::Event & |
evt | ) |
|
|
inline |
Definition at line 21 of file BTLDeviceSim.cc.
References bxTime_, PSimHit::energyLoss(), PSimHit::entryPoint(), DetId::Forward, LightCollEff_, LightCollTime_, LightYield_, PV3DBase< T, PVType, FrameType >::mag(), PDE_, refSpeed_, and smearLightCollTime_.
27 const int nchits = hitRefs.size();
28 for(
int ihit=0; ihit<nchits; ++ihit) {
30 const int hitidx = std::get<0>(hitRefs[ihit]);
31 const uint32_t
id = std::get<1>(hitRefs[ihit]);
36 if ( detId.det()!=
DetId::Forward || detId.mtdSubDetector()!=1 )
continue;
54 const int itime = std::floor( toa/
bxTime_ ) + 9;
56 if(itime<0 || itime>14)
continue;
59 if(itime >= (
int)simHitIt->second.hit_info[0].size() )
continue;
60 (simHitIt->second).hit_info[0][itime] += Npe;
64 if( (simHitIt->second).hit_info[1][itime] == 0 )
65 (simHitIt->second).hit_info[1][itime] = toa;
Detector identifier base class for the MIP Timing Layer.
const float smearLightCollTime_
const float LightCollTime_
float energyLoss() const
The energy deposit in the PSimHit, in ???.
const float LightCollEff_
Local3DPoint entryPoint() const
Entry point in the local Det frame.
const float BTLDeviceSim::bxTime_ |
|
private |
const float BTLDeviceSim::LightCollEff_ |
|
private |
const float BTLDeviceSim::LightCollTime_ |
|
private |
const float BTLDeviceSim::LightYield_ |
|
private |
const float BTLDeviceSim::PDE_ |
|
private |
const float BTLDeviceSim::refSpeed_ |
|
private |
const float BTLDeviceSim::smearLightCollTime_ |
|
private |