CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
CaloTDigitizerQIE1011Run< Traits > Class Template Reference

#include <HcalQIE1011Traits.h>

Public Types

typedef Traits::Digi Digi
 
typedef Traits::DigiCollection DigiCollection
 
typedef Traits::ElectronicsSim ElectronicsSim
 

Public Member Functions

void operator() (DigiCollection &output, CLHEP::HepRandomEngine *engine, CaloSamples *analogSignal, std::vector< DetId >::const_iterator idItr, ElectronicsSim *theElectronicsSim)
 

Detailed Description

template<class Traits>
class CaloTDigitizerQIE1011Run< Traits >

Definition at line 26 of file HcalQIE1011Traits.h.

Member Typedef Documentation

template<class Traits >
typedef Traits::Digi CaloTDigitizerQIE1011Run< Traits >::Digi

Definition at line 29 of file HcalQIE1011Traits.h.

template<class Traits >
typedef Traits::DigiCollection CaloTDigitizerQIE1011Run< Traits >::DigiCollection

Definition at line 30 of file HcalQIE1011Traits.h.

template<class Traits >
typedef Traits::ElectronicsSim CaloTDigitizerQIE1011Run< Traits >::ElectronicsSim

Definition at line 28 of file HcalQIE1011Traits.h.

Member Function Documentation

template<class Traits >
void CaloTDigitizerQIE1011Run< Traits >::operator() ( DigiCollection output,
CLHEP::HepRandomEngine *  engine,
CaloSamples analogSignal,
std::vector< DetId >::const_iterator  idItr,
ElectronicsSim theElectronicsSim 
)
inline

Definition at line 32 of file HcalQIE1011Traits.h.

36  {
37  output.push_back(idItr->rawId());
38  Digi digi(output.back()); //QIEDataFrame gets ptr to edm::DataFrame data
39  theElectronicsSim->analogToDigital(engine, *analogSignal, digi, Traits::PreMixFactor, Traits::PreMixBits);
40  }