Go to the documentation of this file. 1 #ifndef EcalSimAlgos_EcalTimeMapDigitizer_h
2 #define EcalSimAlgos_EcalTimeMapDigitizer_h
67 typedef std::vector<unsigned int>
VecInd;
73 void add(
const std::vector<PCaloHit>&
hits,
int bunchCrossing);
static const float MIN_ENERGY_THRESHOLD
static const int m_maxBunch
void run(EcalTimeDigiCollection &output)
std::vector< TimeSamples > m_vSam
void setGeometry(const CaloSubdetectorGeometry *geometry)
void setTimeLayerId(const int &layerId)
TimeSamples * vSamAll(unsigned int i)
float tot_energy[time_average_capacity]
void add(const std::vector< PCaloHit > &hits, int bunchCrossing)
static const int BUNCHSPACE
unsigned int samplesSizeAll() const
float average_time[time_average_capacity]
const TimeSamples * operator[](unsigned int i) const
constexpr std::array< uint8_t, layerIndexSize > layer
time_average(const DetId &myId)
EcalSubdetector subdetector()
EcalTimeMapDigitizer(EcalSubdetector myDet)
unsigned int samplesSize() const
double timeOfFlight(const DetId &detId, int layer) const
void blankOutUsedSamples()
unsigned int nhits[time_average_capacity]
virtual ~EcalTimeMapDigitizer()
std::vector< unsigned int > VecInd
TimeSamples * vSam(unsigned int i)
static const int m_minBunch
TimeSamples * findSignal(const DetId &detId)
static const unsigned short time_average_capacity
const CaloSubdetectorGeometry * m_geometry