CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
HcalTBDigiProducer Class Reference

#include <HcalTBDigiProducer.h>

Inheritance diagram for HcalTBDigiProducer:
DigiAccumulatorMixMod

Public Member Functions

virtual void accumulate (edm::Event const &e, edm::EventSetup const &c) override
 
virtual void accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override
 
virtual void finalizeEvent (edm::Event &e, edm::EventSetup const &c) override
 
 HcalTBDigiProducer (const edm::ParameterSet &ps, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
 
virtual void initializeEvent (edm::Event const &e, edm::EventSetup const &c) override
 
virtual ~HcalTBDigiProducer ()
 
- Public Member Functions inherited from DigiAccumulatorMixMod
virtual void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup)
 
virtual void beginRun (edm::Run const &run, edm::EventSetup const &setup)
 
 DigiAccumulatorMixMod ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup)
 
virtual void endRun (edm::Run const &run, edm::EventSetup const &setup)
 
virtual void finalizeBunchCrossing (edm::Event &event, edm::EventSetup const &setup, int bunchCrossing)
 
virtual PileupMixingContentgetEventPileupInfo ()
 
virtual void initializeBunchCrossing (edm::Event const &event, edm::EventSetup const &setup, int bunchCrossing)
 
virtual void StorePileupInformation (std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventList, int bunchSpace)
 
virtual ~DigiAccumulatorMixMod ()
 

Private Types

typedef CaloTDigitizer
< HBHEDigitizerTraits
HBHEDigitizer
 
typedef CaloTDigitizer
< HODigitizerTraits
HODigitizer
 

Private Member Functions

void accumulateCaloHits (edm::Handle< std::vector< PCaloHit > > const &hits, int bunchCrossing, CLHEP::HepRandomEngine *)
 
void checkGeometry (const edm::EventSetup &eventSetup)
 
CLHEP::HepRandomEngine * randomEngine (edm::StreamID const &streamID)
 
void setPhaseShift (const DetId &detId)
 
void sortHits (const edm::PCaloHitContainer &hits)
 fills the vectors for each subdetector More...
 
void updateGeometry ()
 

Private Attributes

bool doPhaseShift
 
std::string ecalTBInfoLabel
 
std::vector< DetIdhbheCells
 
std::vector< DetIdhoCells
 
std::vector
< CLHEP::HepRandomEngine * > 
randomEngines_
 
HcalAmplifiertheAmplifier
 
HcalCoderFactorytheCoderFactory
 
HcalElectronicsSimtheElectronicsSim
 
const CaloGeometrytheGeometry
 
HBHEDigitizertheHBHEDigitizer
 
HBHEHitFilter theHBHEHitFilter
 
std::vector< PCaloHittheHBHEHits
 
CaloHitResponsetheHBHEResponse
 
CaloVShapetheHcalIntegratedShape
 
CaloVShapetheHcalShape
 
HcalHitCorrectiontheHitCorrection
 
HODigitizertheHODigitizer
 
HOHitFilter theHOHitFilter
 
std::vector< PCaloHittheHOHits
 
CaloHitResponsetheHOResponse
 
HcalTBSimParameterMaptheParameterMap
 
double thisPhaseShift
 
double tunePhaseShift
 

Detailed Description

Definition at line 35 of file HcalTBDigiProducer.h.

Member Typedef Documentation

Reconstruction algorithm

Definition at line 63 of file HcalTBDigiProducer.h.

Definition at line 64 of file HcalTBDigiProducer.h.

Constructor & Destructor Documentation

HcalTBDigiProducer::HcalTBDigiProducer ( const edm::ParameterSet ps,
edm::stream::EDProducerBase mixMod,
edm::ConsumesCollector iC 
)
explicit

Definition at line 20 of file HcalTBDigiProducer.cc.

HcalTBDigiProducer::~HcalTBDigiProducer ( )
virtual

Definition at line 71 of file HcalTBDigiProducer.cc.

Member Function Documentation

void HcalTBDigiProducer::accumulate ( edm::Event const &  e,
edm::EventSetup const &  c 
)
overridevirtual

Implements DigiAccumulatorMixMod.

Definition at line 130 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::accumulate ( PileUpEventPrincipal const &  e,
edm::EventSetup const &  c,
edm::StreamID const &  streamID 
)
overridevirtual

Implements DigiAccumulatorMixMod.

Definition at line 140 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::accumulateCaloHits ( edm::Handle< std::vector< PCaloHit > > const &  hits,
int  bunchCrossing,
CLHEP::HepRandomEngine *  engine 
)
private

Definition at line 115 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::checkGeometry ( const edm::EventSetup eventSetup)
private

make sure the digitizer has the correct list of all cells that exist in the geometry

Definition at line 183 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::finalizeEvent ( edm::Event e,
edm::EventSetup const &  c 
)
overridevirtual

Implements DigiAccumulatorMixMod.

Definition at line 150 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::initializeEvent ( edm::Event const &  e,
edm::EventSetup const &  c 
)
overridevirtual

Implements DigiAccumulatorMixMod.

Definition at line 87 of file HcalTBDigiProducer.cc.

CLHEP::HepRandomEngine * HcalTBDigiProducer::randomEngine ( edm::StreamID const &  streamID)
private

Definition at line 238 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::setPhaseShift ( const DetId detId)
private

Definition at line 224 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::sortHits ( const edm::PCaloHitContainer hits)
private

fills the vectors for each subdetector

Definition at line 168 of file HcalTBDigiProducer.cc.

void HcalTBDigiProducer::updateGeometry ( )
private

Definition at line 198 of file HcalTBDigiProducer.cc.

Member Data Documentation

bool HcalTBDigiProducer::doPhaseShift
private

Definition at line 94 of file HcalTBDigiProducer.h.

std::string HcalTBDigiProducer::ecalTBInfoLabel
private

Definition at line 91 of file HcalTBDigiProducer.h.

std::vector<DetId> HcalTBDigiProducer::hbheCells
private

Definition at line 86 of file HcalTBDigiProducer.h.

std::vector<DetId> HcalTBDigiProducer::hoCells
private

Definition at line 87 of file HcalTBDigiProducer.h.

std::vector<CLHEP::HepRandomEngine*> HcalTBDigiProducer::randomEngines_
private

Definition at line 97 of file HcalTBDigiProducer.h.

HcalAmplifier* HcalTBDigiProducer::theAmplifier
private

Definition at line 73 of file HcalTBDigiProducer.h.

HcalCoderFactory* HcalTBDigiProducer::theCoderFactory
private

Definition at line 74 of file HcalTBDigiProducer.h.

HcalElectronicsSim* HcalTBDigiProducer::theElectronicsSim
private

Definition at line 75 of file HcalTBDigiProducer.h.

const CaloGeometry* HcalTBDigiProducer::theGeometry
private

Definition at line 85 of file HcalTBDigiProducer.h.

HBHEDigitizer* HcalTBDigiProducer::theHBHEDigitizer
private

Definition at line 82 of file HcalTBDigiProducer.h.

HBHEHitFilter HcalTBDigiProducer::theHBHEHitFilter
private

Definition at line 77 of file HcalTBDigiProducer.h.

std::vector<PCaloHit> HcalTBDigiProducer::theHBHEHits
private

Definition at line 89 of file HcalTBDigiProducer.h.

CaloHitResponse* HcalTBDigiProducer::theHBHEResponse
private

Definition at line 70 of file HcalTBDigiProducer.h.

CaloVShape* HcalTBDigiProducer::theHcalIntegratedShape
private

Definition at line 68 of file HcalTBDigiProducer.h.

CaloVShape* HcalTBDigiProducer::theHcalShape
private

Definition at line 67 of file HcalTBDigiProducer.h.

HcalHitCorrection* HcalTBDigiProducer::theHitCorrection
private

Definition at line 80 of file HcalTBDigiProducer.h.

HODigitizer* HcalTBDigiProducer::theHODigitizer
private

Definition at line 83 of file HcalTBDigiProducer.h.

HOHitFilter HcalTBDigiProducer::theHOHitFilter
private

Definition at line 78 of file HcalTBDigiProducer.h.

std::vector<PCaloHit> HcalTBDigiProducer::theHOHits
private

Definition at line 89 of file HcalTBDigiProducer.h.

CaloHitResponse* HcalTBDigiProducer::theHOResponse
private

Definition at line 71 of file HcalTBDigiProducer.h.

HcalTBSimParameterMap* HcalTBDigiProducer::theParameterMap
private

Definition at line 66 of file HcalTBDigiProducer.h.

double HcalTBDigiProducer::thisPhaseShift
private

Definition at line 92 of file HcalTBDigiProducer.h.

double HcalTBDigiProducer::tunePhaseShift
private

Definition at line 95 of file HcalTBDigiProducer.h.