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
CastorDigiProducer Class Reference

#include <CastorDigiProducer.h>

Inheritance diagram for CastorDigiProducer:
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
 
 CastorDigiProducer (const edm::ParameterSet &ps, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
 
virtual void finalizeEvent (edm::Event &e, edm::EventSetup const &c) override
 
virtual void initializeEvent (edm::Event const &e, edm::EventSetup const &c) override
 
virtual ~CastorDigiProducer ()
 
- 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
< CastorDigitizerTraits
CastorDigitizer
 

Private Member Functions

void accumulateCaloHits (std::vector< PCaloHit > const &, int bunchCrossing, CLHEP::HepRandomEngine *)
 
void checkGeometry (const edm::EventSetup &eventSetup)
 
void fillFakeHits ()
 some hits in each subdetector, just for testing purposes More...
 
CLHEP::HepRandomEngine * randomEngine (edm::StreamID const &streamID)
 
void sortHits (const edm::PCaloHitContainer &hits)
 fills the vectors for each subdetector More...
 

Private Attributes

std::vector
< CLHEP::HepRandomEngine * > 
randomEngines_
 
CastorAmplifiertheAmplifier
 
CastorDigitizertheCastorDigitizer
 
CastorHitFilter theCastorHitFilter
 
std::vector< PCaloHittheCastorHits
 
CaloVShapetheCastorIntegratedShape
 
CaloHitResponsetheCastorResponse
 
CaloVShapetheCastorShape
 
CastorCoderFactorytheCoderFactory
 
CastorElectronicsSimtheElectronicsSim
 
CastorHitCorrectiontheHitCorrection
 
edm::InputTag theHitsProducerTag
 
CastorSimParameterMaptheParameterMap
 

Detailed Description

Definition at line 34 of file CastorDigiProducer.h.

Member Typedef Documentation

Reconstruction algorithm

Definition at line 63 of file CastorDigiProducer.h.

Constructor & Destructor Documentation

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

Definition at line 22 of file CastorDigiProducer.cc.

CastorDigiProducer::~CastorDigiProducer ( )
virtual

Definition at line 64 of file CastorDigiProducer.cc.

Member Function Documentation

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

Implements DigiAccumulatorMixMod.

Definition at line 103 of file CastorDigiProducer.cc.

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

Implements DigiAccumulatorMixMod.

Definition at line 111 of file CastorDigiProducer.cc.

void CastorDigiProducer::accumulateCaloHits ( std::vector< PCaloHit > const &  hcalHits,
int  bunchCrossing,
CLHEP::HepRandomEngine *  engine 
)
private

Definition at line 94 of file CastorDigiProducer.cc.

void CastorDigiProducer::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 154 of file CastorDigiProducer.cc.

void CastorDigiProducer::fillFakeHits ( )
private

some hits in each subdetector, just for testing purposes

Definition at line 147 of file CastorDigiProducer.cc.

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

Implements DigiAccumulatorMixMod.

Definition at line 119 of file CastorDigiProducer.cc.

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

Implements DigiAccumulatorMixMod.

Definition at line 76 of file CastorDigiProducer.cc.

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

Definition at line 166 of file CastorDigiProducer.cc.

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

fills the vectors for each subdetector

Definition at line 134 of file CastorDigiProducer.cc.

Member Data Documentation

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

Definition at line 83 of file CastorDigiProducer.h.

CastorAmplifier* CastorDigiProducer::theAmplifier
private

Definition at line 71 of file CastorDigiProducer.h.

CastorDigitizer* CastorDigiProducer::theCastorDigitizer
private

Definition at line 79 of file CastorDigiProducer.h.

CastorHitFilter CastorDigiProducer::theCastorHitFilter
private

Definition at line 75 of file CastorDigiProducer.h.

std::vector<PCaloHit> CastorDigiProducer::theCastorHits
private

Definition at line 81 of file CastorDigiProducer.h.

CaloVShape* CastorDigiProducer::theCastorIntegratedShape
private

Definition at line 67 of file CastorDigiProducer.h.

CaloHitResponse* CastorDigiProducer::theCastorResponse
private

Definition at line 69 of file CastorDigiProducer.h.

CaloVShape* CastorDigiProducer::theCastorShape
private

Definition at line 66 of file CastorDigiProducer.h.

CastorCoderFactory* CastorDigiProducer::theCoderFactory
private

Definition at line 72 of file CastorDigiProducer.h.

CastorElectronicsSim* CastorDigiProducer::theElectronicsSim
private

Definition at line 73 of file CastorDigiProducer.h.

CastorHitCorrection* CastorDigiProducer::theHitCorrection
private

Definition at line 77 of file CastorDigiProducer.h.

edm::InputTag CastorDigiProducer::theHitsProducerTag
private

Definition at line 58 of file CastorDigiProducer.h.

CastorSimParameterMap* CastorDigiProducer::theParameterMap
private

Definition at line 65 of file CastorDigiProducer.h.