1 #ifndef HcalSimAlgos_HcalQIE10Traits_h 2 #define HcalSimAlgos_HcalQIE10Traits_h 27 template<
class Traits>
34 void operator()(DigiCollection &
output, CLHEP::HepRandomEngine* engine,
CaloSamples * analogSignal, std::vector<DetId>::const_iterator idItr, ElectronicsSim* theElectronicsSim){
35 output.push_back( idItr->rawId() ) ;
36 Digi digi ( output.back() ) ;
37 theElectronicsSim->analogToDigital( engine, *analogSignal , digi, Traits::PreMixFactor, Traits::PreMixBits ) ;
QIE11DigiCollection DigiCollection
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
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
static double PreMixFactor
HcalElectronicsSim ElectronicsSim
Traits::DigiCollection DigiCollection
Traits::ElectronicsSim ElectronicsSim