CMS 3D CMS Logo

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

#include <EventFilter/EcalDigiToRaw/src/EcalDigiToRaw.cc>

Inheritance diagram for EcalDigiToRaw:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Types

typedef unsigned int Word32
 
typedef long long Word64
 
- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void beginJob ()
 
 EcalDigiToRaw (const edm::ParameterSet &pset)
 
void endJob ()
 
int * GetBX ()
 
int * GetCounter ()
 
bool GetDebug ()
 
bool GetDoBarrel ()
 
bool GetDoEndCap ()
 
bool GetDoSR ()
 
bool GetDoTCC ()
 
bool GetDoTower ()
 
std::vector< int32_t > * GetListDCCId ()
 
int * GetLV1 ()
 
int * GetOrbit ()
 
int * GetRunNumber ()
 
void produce (edm::Event &e, const edm::EventSetup &c)
 
virtual ~EcalDigiToRaw ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Attributes

static const int BXMAX = 2808
 

Private Attributes

int bx_
 
int counter_
 
bool debug_
 
bool doBarrel_
 
bool doEndCap_
 
bool doSR_
 
bool doTCC_
 
bool doTower_
 
edm::EDGetTokenT
< EBDigiCollection
EBDigiToken_
 
edm::EDGetTokenT
< EEDigiCollection
EEDigiToken_
 
BlockFormatterHeaderblockformatter_
 
std::string instanceNameEB_
 
std::string instanceNameEE_
 
std::string label_
 
edm::EDGetTokenT
< EBSrFlagCollection
labelEBSR_
 
edm::EDGetTokenT
< EESrFlagCollection
labelEESR_
 
edm::EDGetTokenT
< EcalTrigPrimDigiCollection
labelTT_
 
std::vector< int32_t > listDCCId_
 
int lv1_
 
int orbit_number_
 
int runnumber_
 
SRBlockFormatterSRblockformatter_
 
TCCBlockFormatterTCCblockformatter_
 
TowerBlockFormatterTowerblockformatter_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 50 of file EcalDigiToRaw.h.

Member Typedef Documentation

typedef unsigned int EcalDigiToRaw::Word32

Definition at line 60 of file EcalDigiToRaw.h.

typedef long long EcalDigiToRaw::Word64

Definition at line 59 of file EcalDigiToRaw.h.

Constructor & Destructor Documentation

EcalDigiToRaw::EcalDigiToRaw ( const edm::ParameterSet pset)

Definition at line 47 of file EcalDigiToRaw.cc.

EcalDigiToRaw::~EcalDigiToRaw ( )
virtual

Definition at line 88 of file EcalDigiToRaw.cc.

Member Function Documentation

void EcalDigiToRaw::beginJob ( void  )
virtual

Reimplemented from edm::EDProducer.

Definition at line 294 of file EcalDigiToRaw.cc.

void EcalDigiToRaw::endJob ( void  )
virtual

Reimplemented from edm::EDProducer.

Definition at line 304 of file EcalDigiToRaw.cc.

int* EcalDigiToRaw::GetBX ( )
inline

Definition at line 65 of file EcalDigiToRaw.h.

References bx_.

65 {return &bx_ ;}
int* EcalDigiToRaw::GetCounter ( )
inline

Definition at line 62 of file EcalDigiToRaw.h.

References counter_.

62 {return &counter_ ;}
bool EcalDigiToRaw::GetDebug ( )
inline

Definition at line 63 of file EcalDigiToRaw.h.

References debug_.

63 {return debug_ ;}
bool EcalDigiToRaw::GetDoBarrel ( )
inline

Definition at line 68 of file EcalDigiToRaw.h.

References doBarrel_.

68 {return doBarrel_ ;}
bool EcalDigiToRaw::GetDoEndCap ( )
inline

Definition at line 69 of file EcalDigiToRaw.h.

References doEndCap_.

69 {return doEndCap_ ;}
bool EcalDigiToRaw::GetDoSR ( )
inline

Definition at line 70 of file EcalDigiToRaw.h.

References doSR_.

70 {return doSR_ ;}
bool EcalDigiToRaw::GetDoTCC ( )
inline

Definition at line 72 of file EcalDigiToRaw.h.

References doTCC_.

72 {return doTCC_ ;}
bool EcalDigiToRaw::GetDoTower ( )
inline

Definition at line 71 of file EcalDigiToRaw.h.

References doTower_.

71 {return doTower_ ;}
std::vector<int32_t>* EcalDigiToRaw::GetListDCCId ( )
inline

Definition at line 74 of file EcalDigiToRaw.h.

References listDCCId_.

74 {return &listDCCId_ ;}
std::vector< int32_t > listDCCId_
int* EcalDigiToRaw::GetLV1 ( )
inline

Definition at line 66 of file EcalDigiToRaw.h.

References lv1_.

66 {return &lv1_ ;}
int* EcalDigiToRaw::GetOrbit ( )
inline

Definition at line 64 of file EcalDigiToRaw.h.

References orbit_number_.

64 {return &orbit_number_ ;}
int* EcalDigiToRaw::GetRunNumber ( )
inline

Definition at line 67 of file EcalDigiToRaw.h.

References runnumber_.

67 {return &runnumber_ ;}
void EcalDigiToRaw::produce ( edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDProducer.

Definition at line 108 of file EcalDigiToRaw.cc.

Referenced by JSONExport.JsonExport::export().

Member Data Documentation

int EcalDigiToRaw::bx_
private

Definition at line 88 of file EcalDigiToRaw.h.

Referenced by GetBX().

const int EcalDigiToRaw::BXMAX = 2808
static

Definition at line 76 of file EcalDigiToRaw.h.

int EcalDigiToRaw::counter_
private

Definition at line 84 of file EcalDigiToRaw.h.

Referenced by GetCounter().

bool EcalDigiToRaw::debug_
private

Definition at line 86 of file EcalDigiToRaw.h.

Referenced by GetDebug().

bool EcalDigiToRaw::doBarrel_
private

Definition at line 101 of file EcalDigiToRaw.h.

Referenced by GetDoBarrel().

bool EcalDigiToRaw::doEndCap_
private

Definition at line 102 of file EcalDigiToRaw.h.

Referenced by GetDoEndCap().

bool EcalDigiToRaw::doSR_
private

Definition at line 92 of file EcalDigiToRaw.h.

Referenced by GetDoSR().

bool EcalDigiToRaw::doTCC_
private

Definition at line 91 of file EcalDigiToRaw.h.

Referenced by GetDoTCC().

bool EcalDigiToRaw::doTower_
private

Definition at line 93 of file EcalDigiToRaw.h.

Referenced by GetDoTower().

edm::EDGetTokenT<EBDigiCollection> EcalDigiToRaw::EBDigiToken_
private

Definition at line 98 of file EcalDigiToRaw.h.

edm::EDGetTokenT<EEDigiCollection> EcalDigiToRaw::EEDigiToken_
private

Definition at line 99 of file EcalDigiToRaw.h.

BlockFormatter* EcalDigiToRaw::Headerblockformatter_
private

Definition at line 112 of file EcalDigiToRaw.h.

std::string EcalDigiToRaw::instanceNameEB_
private

Definition at line 107 of file EcalDigiToRaw.h.

std::string EcalDigiToRaw::instanceNameEE_
private

Definition at line 108 of file EcalDigiToRaw.h.

std::string EcalDigiToRaw::label_
private

Definition at line 106 of file EcalDigiToRaw.h.

edm::EDGetTokenT<EBSrFlagCollection> EcalDigiToRaw::labelEBSR_
private

Definition at line 96 of file EcalDigiToRaw.h.

edm::EDGetTokenT<EESrFlagCollection> EcalDigiToRaw::labelEESR_
private

Definition at line 97 of file EcalDigiToRaw.h.

edm::EDGetTokenT<EcalTrigPrimDigiCollection> EcalDigiToRaw::labelTT_
private

Definition at line 95 of file EcalDigiToRaw.h.

std::vector<int32_t> EcalDigiToRaw::listDCCId_
private

Definition at line 104 of file EcalDigiToRaw.h.

Referenced by GetListDCCId().

int EcalDigiToRaw::lv1_
private

Definition at line 89 of file EcalDigiToRaw.h.

Referenced by GetLV1().

int EcalDigiToRaw::orbit_number_
private

Definition at line 85 of file EcalDigiToRaw.h.

Referenced by GetOrbit().

int EcalDigiToRaw::runnumber_
private

Definition at line 87 of file EcalDigiToRaw.h.

Referenced by GetRunNumber().

SRBlockFormatter* EcalDigiToRaw::SRblockformatter_
private

Definition at line 113 of file EcalDigiToRaw.h.

TCCBlockFormatter* EcalDigiToRaw::TCCblockformatter_
private

Definition at line 111 of file EcalDigiToRaw.h.

TowerBlockFormatter* EcalDigiToRaw::Towerblockformatter_
private

Definition at line 110 of file EcalDigiToRaw.h.