1 #ifndef HcalSimAlgos_HcalQIE10Traits_h
2 #define HcalSimAlgos_HcalQIE10Traits_h
25 template <
class Traits>
29 typedef typename Traits::Digi
Digi;
33 CLHEP::HepRandomEngine* engine,
35 std::vector<DetId>::const_iterator idItr,
37 output.push_back(idItr->rawId());
38 Digi digi(output.back());
39 theElectronicsSim->analogToDigital(engine, *analogSignal, digi, Traits::PreMixFactor, Traits::PreMixBits);
QIE11DigiCollection DigiCollection
static const unsigned PreMixBits
static constexpr double PreMixFactor
HcalElectronicsSim ElectronicsSim
void operator()(DigiCollection &output, CLHEP::HepRandomEngine *engine, CaloSamples *analogSignal, std::vector< DetId >::const_iterator idItr, ElectronicsSim *theElectronicsSim)
static const unsigned PreMixBits
QIE10DigiCollection DigiCollection
HcalElectronicsSim ElectronicsSim
Traits::DigiCollection DigiCollection
static constexpr double PreMixFactor
Traits::ElectronicsSim ElectronicsSim