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 | Private Attributes
EcalStatusAnalyzer Class Reference

#include <EcalStatusAnalyzer.h>

Inheritance diagram for EcalStatusAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

enum  EcalLaserColorType { iBLUE = 0, iGREEN = 1, iRED = 3, iIR = 2 }
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
 
virtual void beginJob ()
 
 EcalStatusAnalyzer (const edm::ParameterSet &iConfig)
 
virtual void endJob ()
 
 ~EcalStatusAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- 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 ()
 

Private Attributes

std::string _dataType
 
int dccID
 
std::vector< int > dccIDsLas
 
std::vector< int > dccIDsPed
 
std::vector< int > dccIDsTP
 
int event
 
std::string eventHeaderCollection_
 
std::string eventHeaderProducer_
 
int fedID
 
std::vector< int > fedIDsLas
 
std::vector< int > fedIDsPed
 
std::vector< int > fedIDsTP
 
int iEvent
 
std::map< int, int > isFedLasCreated
 
std::map< int, int > isFedPedCreated
 
std::map< int, int > isFedTPCreated
 
std::map< int, int > laserDelayBlue
 
std::map< int, int > laserDelayRed
 
std::map< int, int > laserFilterBlue
 
std::map< int, int > laserFilterRed
 
std::map< int, int > laserPowerBlue
 
std::map< int, int > laserPowerRed
 
std::map< int, short > MEMGainLas
 
std::map< int, short > MEMGainPed
 
std::map< int, short > MEMGainTP
 
std::map< int, short > MGPAGainLas
 
std::map< int, short > MGPAGainPed
 
std::map< int, short > MGPAGainTP
 
std::map< int, int > nBlueLas
 
std::map< int, int > nEvtsLas
 
std::map< int, int > nEvtsPed
 
std::map< int, int > nEvtsTP
 
std::map< int, int > nRedLas
 
int nSM
 
std::string resdir_
 
int runNum
 
int runType
 
std::map< int, int > runTypeLas
 
std::map< int, int > runTypePed
 
std::map< int, int > runTypeTP
 
std::string statusfile_
 
std::map< int, unsigned long long > timeStampBegLas
 
std::map< int, unsigned long long > timeStampBegPed
 
std::map< int, unsigned long long > timeStampBegTP
 
unsigned long long timeStampCur
 
std::map< int, unsigned long long > timeStampEndLas
 
std::map< int, unsigned long long > timeStampEndPed
 
std::map< int, unsigned long long > timeStampEndTP
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- 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

Definition at line 11 of file EcalStatusAnalyzer.h.

Member Enumeration Documentation

Enumerator
iBLUE 
iGREEN 
iRED 
iIR 

Definition at line 22 of file EcalStatusAnalyzer.h.

22  {
23  iBLUE = 0,
24  iGREEN = 1,
25  iRED = 3, // in fact should be 2
26  iIR = 2 // in fact should be 3
27  };

Constructor & Destructor Documentation

EcalStatusAnalyzer::EcalStatusAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 38 of file EcalStatusAnalyzer.cc.

EcalStatusAnalyzer::~EcalStatusAnalyzer ( )

Definition at line 62 of file EcalStatusAnalyzer.cc.

Member Function Documentation

void EcalStatusAnalyzer::analyze ( const edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 93 of file EcalStatusAnalyzer.cc.

void EcalStatusAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 74 of file EcalStatusAnalyzer.cc.

void EcalStatusAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 283 of file EcalStatusAnalyzer.cc.

Member Data Documentation

std::string EcalStatusAnalyzer::_dataType
private

Definition at line 49 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::dccID
private

Definition at line 58 of file EcalStatusAnalyzer.h.

std::vector<int> EcalStatusAnalyzer::dccIDsLas
private

Definition at line 45 of file EcalStatusAnalyzer.h.

std::vector<int> EcalStatusAnalyzer::dccIDsPed
private

Definition at line 47 of file EcalStatusAnalyzer.h.

std::vector<int> EcalStatusAnalyzer::dccIDsTP
private

Definition at line 46 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::event
private

Definition at line 55 of file EcalStatusAnalyzer.h.

Referenced by core.AutoHandle.AutoHandle::product().

std::string EcalStatusAnalyzer::eventHeaderCollection_
private

Definition at line 35 of file EcalStatusAnalyzer.h.

std::string EcalStatusAnalyzer::eventHeaderProducer_
private

Definition at line 36 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::fedID
private

Definition at line 57 of file EcalStatusAnalyzer.h.

std::vector<int> EcalStatusAnalyzer::fedIDsLas
private

Definition at line 42 of file EcalStatusAnalyzer.h.

std::vector<int> EcalStatusAnalyzer::fedIDsPed
private

Definition at line 44 of file EcalStatusAnalyzer.h.

std::vector<int> EcalStatusAnalyzer::fedIDsTP
private

Definition at line 43 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::iEvent
private

Definition at line 31 of file EcalStatusAnalyzer.h.

std::map<int,int> EcalStatusAnalyzer::isFedLasCreated
private

Definition at line 38 of file EcalStatusAnalyzer.h.

std::map<int,int> EcalStatusAnalyzer::isFedPedCreated
private

Definition at line 40 of file EcalStatusAnalyzer.h.

std::map<int,int> EcalStatusAnalyzer::isFedTPCreated
private

Definition at line 39 of file EcalStatusAnalyzer.h.

std::map<int, int > EcalStatusAnalyzer::laserDelayBlue
private

Definition at line 82 of file EcalStatusAnalyzer.h.

std::map<int, int > EcalStatusAnalyzer::laserDelayRed
private

Definition at line 86 of file EcalStatusAnalyzer.h.

std::map<int, int > EcalStatusAnalyzer::laserFilterBlue
private

Definition at line 81 of file EcalStatusAnalyzer.h.

std::map<int, int > EcalStatusAnalyzer::laserFilterRed
private

Definition at line 85 of file EcalStatusAnalyzer.h.

std::map<int, int > EcalStatusAnalyzer::laserPowerBlue
private

Definition at line 80 of file EcalStatusAnalyzer.h.

std::map<int, int > EcalStatusAnalyzer::laserPowerRed
private

Definition at line 84 of file EcalStatusAnalyzer.h.

std::map<int, short> EcalStatusAnalyzer::MEMGainLas
private

Definition at line 72 of file EcalStatusAnalyzer.h.

std::map<int, short> EcalStatusAnalyzer::MEMGainPed
private

Definition at line 78 of file EcalStatusAnalyzer.h.

std::map<int, short> EcalStatusAnalyzer::MEMGainTP
private

Definition at line 75 of file EcalStatusAnalyzer.h.

std::map<int, short> EcalStatusAnalyzer::MGPAGainLas
private

Definition at line 71 of file EcalStatusAnalyzer.h.

std::map<int, short> EcalStatusAnalyzer::MGPAGainPed
private

Definition at line 77 of file EcalStatusAnalyzer.h.

std::map<int, short> EcalStatusAnalyzer::MGPAGainTP
private

Definition at line 74 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::nBlueLas
private

Definition at line 89 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::nEvtsLas
private

Definition at line 88 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::nEvtsPed
private

Definition at line 96 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::nEvtsTP
private

Definition at line 93 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::nRedLas
private

Definition at line 90 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::nSM
private

Definition at line 56 of file EcalStatusAnalyzer.h.

std::string EcalStatusAnalyzer::resdir_
private

Definition at line 33 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::runNum
private

Definition at line 54 of file EcalStatusAnalyzer.h.

int EcalStatusAnalyzer::runType
private

Definition at line 53 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::runTypeLas
private

Definition at line 91 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::runTypePed
private

Definition at line 97 of file EcalStatusAnalyzer.h.

std::map<int, int> EcalStatusAnalyzer::runTypeTP
private

Definition at line 94 of file EcalStatusAnalyzer.h.

std::string EcalStatusAnalyzer::statusfile_
private

Definition at line 34 of file EcalStatusAnalyzer.h.

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampBegLas
private

Definition at line 62 of file EcalStatusAnalyzer.h.

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampBegPed
private

Definition at line 68 of file EcalStatusAnalyzer.h.

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampBegTP
private

Definition at line 65 of file EcalStatusAnalyzer.h.

unsigned long long EcalStatusAnalyzer::timeStampCur
private

Definition at line 60 of file EcalStatusAnalyzer.h.

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampEndLas
private

Definition at line 63 of file EcalStatusAnalyzer.h.

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampEndPed
private

Definition at line 69 of file EcalStatusAnalyzer.h.

std::map<int, unsigned long long> EcalStatusAnalyzer::timeStampEndTP
private

Definition at line 66 of file EcalStatusAnalyzer.h.