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 | Protected Member Functions | Private Member Functions | Private Attributes
GlobalDigisAnalyzer Class Reference

#include <GlobalDigisAnalyzer.h>

Inheritance diagram for GlobalDigisAnalyzer:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Types

typedef std::vector< double > DoubleVector
 
typedef std::vector< float > FloatVector
 
typedef std::vector< int > IntVector
 
typedef std::map< uint32_t,
float, std::less< uint32_t > > 
MapType
 
- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
 GlobalDigisAnalyzer (const edm::ParameterSet &)
 
virtual ~GlobalDigisAnalyzer ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- 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 ()
 

Protected Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- 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)
 

Private Member Functions

void fillECal (const edm::Event &, const edm::EventSetup &)
 
void fillHCal (const edm::Event &, const edm::EventSetup &)
 
void fillMuon (const edm::Event &, const edm::EventSetup &)
 
void fillTrk (const edm::Event &, const edm::EventSetup &)
 

Private Attributes

unsigned int count
 
edm::EDGetTokenT
< CrossingFrame< PCaloHit > > 
EBHits_Token_
 
double ECalbarrelADCtoGeV_
 
edm::InputTag ECalEBSrc_
 
edm::EDGetTokenT
< EBDigiCollection
ECalEBSrc_Token_
 
edm::InputTag ECalEESrc_
 
edm::EDGetTokenT
< EEDigiCollection
ECalEESrc_Token_
 
double ECalendcapADCtoGeV_
 
edm::InputTag ECalESSrc_
 
edm::EDGetTokenT
< ESDigiCollection
ECalESSrc_Token_
 
std::map< int, double,
std::less< int > > 
ECalgainConv_
 
edm::EDGetTokenT
< CrossingFrame< PCaloHit > > 
EEHits_Token_
 
edm::EDGetTokenT
< CrossingFrame< PCaloHit > > 
ESHits_Token_
 
std::string fName
 
int frequency
 
bool getAllProvenances
 
edm::EDGetTokenT
< edm::SortedCollection
< HBHEDataFrame > > 
HBHEDigi_Token_
 
edm::InputTag HCalDigi_
 
edm::InputTag HCalSrc_
 
edm::EDGetTokenT
< edm::PCaloHitContainer
HCalSrc_Token_
 
edm::EDGetTokenT
< edm::SortedCollection
< HFDataFrame > > 
HFDigi_Token_
 
std::string hitsProducer
 
edm::EDGetTokenT
< edm::SortedCollection
< HODataFrame > > 
HODigi_Token_
 
std::string label
 
MonitorElementmehCSCStripADC
 
MonitorElementmehCSCStripn
 
MonitorElementmehCSCWiren
 
MonitorElementmehCSCWireTime
 
MonitorElementmehDtMuonLayer [4]
 
MonitorElementmehDtMuonn [4]
 
MonitorElementmehDtMuonTime [4]
 
MonitorElementmehDtMuonTimevLayer [4]
 
MonitorElementmehEcalAEE [2]
 
MonitorElementmehEcalMaxPos [2]
 
MonitorElementmehEcalMultvAEE [2]
 
MonitorElementmehEcaln [2]
 
MonitorElementmehEcalSHE [2]
 
MonitorElementmehEcalSHEvAEESHE [2]
 
MonitorElementmehEScalADC [3]
 
MonitorElementmehEScaln
 
MonitorElementmehHcalAEE [4]
 
MonitorElementmehHcalAEESHE [4]
 
MonitorElementmehHcaln [4]
 
MonitorElementmehHcalSHE [4]
 
MonitorElementmehHcalSHEvAEE [4]
 
MonitorElementmehRPCMuonn
 
MonitorElementmehRPCRes [5]
 
MonitorElementmehSiPixelADC [7]
 
MonitorElementmehSiPixelCol [7]
 
MonitorElementmehSiPixeln [7]
 
MonitorElementmehSiPixelRow [7]
 
MonitorElementmehSiStripADC [19]
 
MonitorElementmehSiStripn [19]
 
MonitorElementmehSiStripStrip [19]
 
edm::InputTag MuCSCStripSrc_
 
edm::EDGetTokenT
< CSCStripDigiCollection
MuCSCStripSrc_Token_
 
edm::InputTag MuCSCWireSrc_
 
edm::EDGetTokenT
< CSCWireDigiCollection
MuCSCWireSrc_Token_
 
edm::InputTag MuDTSrc_
 
edm::EDGetTokenT
< DTDigiCollection
MuDTSrc_Token_
 
edm::InputTag MuRPCSrc_
 
edm::EDGetTokenT
< RPCDigiCollection
MuRPCSrc_Token_
 
bool printProvenanceInfo
 
edm::EDGetTokenT
< edm::PSimHitContainer
RPCSimHit_Token_
 
edm::InputTag SiPxlSrc_
 
edm::EDGetTokenT
< edm::DetSetVector< PixelDigi > > 
SiPxlSrc_Token_
 
edm::InputTag SiStripSrc_
 
edm::EDGetTokenT
< edm::DetSetVector
< SiStripDigi > > 
SiStripSrc_Token_
 
int theCSCStripPedestalCount
 
float theCSCStripPedestalSum
 
int verbosity
 

Additional Inherited Members

- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 108 of file GlobalDigisAnalyzer.h.

Member Typedef Documentation

typedef std::vector<double> GlobalDigisAnalyzer::DoubleVector

Definition at line 113 of file GlobalDigisAnalyzer.h.

typedef std::vector<float> GlobalDigisAnalyzer::FloatVector

Definition at line 112 of file GlobalDigisAnalyzer.h.

typedef std::vector<int> GlobalDigisAnalyzer::IntVector

Definition at line 114 of file GlobalDigisAnalyzer.h.

typedef std::map<uint32_t,float,std::less<uint32_t> > GlobalDigisAnalyzer::MapType

Definition at line 115 of file GlobalDigisAnalyzer.h.

Constructor & Destructor Documentation

GlobalDigisAnalyzer::GlobalDigisAnalyzer ( const edm::ParameterSet iPSet)
explicit

Definition at line 13 of file GlobalDigisAnalyzer.cc.

GlobalDigisAnalyzer::~GlobalDigisAnalyzer ( )
virtual

Definition at line 126 of file GlobalDigisAnalyzer.cc.

Member Function Documentation

void GlobalDigisAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 419 of file GlobalDigisAnalyzer.cc.

void GlobalDigisAnalyzer::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 128 of file GlobalDigisAnalyzer.cc.

void GlobalDigisAnalyzer::fillECal ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 514 of file GlobalDigisAnalyzer.cc.

void GlobalDigisAnalyzer::fillHCal ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 874 of file GlobalDigisAnalyzer.cc.

void GlobalDigisAnalyzer::fillMuon ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 1405 of file GlobalDigisAnalyzer.cc.

void GlobalDigisAnalyzer::fillTrk ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 1142 of file GlobalDigisAnalyzer.cc.

Member Data Documentation

unsigned int GlobalDigisAnalyzer::count
private

Definition at line 247 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<CrossingFrame<PCaloHit> > GlobalDigisAnalyzer::EBHits_Token_
private

Definition at line 241 of file GlobalDigisAnalyzer.h.

double GlobalDigisAnalyzer::ECalbarrelADCtoGeV_
private

Definition at line 166 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::ECalEBSrc_
private

Definition at line 161 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<EBDigiCollection> GlobalDigisAnalyzer::ECalEBSrc_Token_
private

Definition at line 228 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::ECalEESrc_
private

Definition at line 162 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<EEDigiCollection> GlobalDigisAnalyzer::ECalEESrc_Token_
private

Definition at line 229 of file GlobalDigisAnalyzer.h.

double GlobalDigisAnalyzer::ECalendcapADCtoGeV_
private

Definition at line 167 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::ECalESSrc_
private

Definition at line 163 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<ESDigiCollection> GlobalDigisAnalyzer::ECalESSrc_Token_
private

Definition at line 230 of file GlobalDigisAnalyzer.h.

std::map<int, double, std::less<int> > GlobalDigisAnalyzer::ECalgainConv_
private

Definition at line 165 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<CrossingFrame<PCaloHit> > GlobalDigisAnalyzer::EEHits_Token_
private

Definition at line 242 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<CrossingFrame<PCaloHit> > GlobalDigisAnalyzer::ESHits_Token_
private

Definition at line 243 of file GlobalDigisAnalyzer.h.

std::string GlobalDigisAnalyzer::fName
private

Definition at line 141 of file GlobalDigisAnalyzer.h.

int GlobalDigisAnalyzer::frequency
private

Definition at line 143 of file GlobalDigisAnalyzer.h.

bool GlobalDigisAnalyzer::getAllProvenances
private

Definition at line 145 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::SortedCollection<HBHEDataFrame> > GlobalDigisAnalyzer::HBHEDigi_Token_
private

Definition at line 232 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::HCalDigi_
private

Definition at line 178 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::HCalSrc_
private

Definition at line 177 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::PCaloHitContainer> GlobalDigisAnalyzer::HCalSrc_Token_
private

Definition at line 231 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::SortedCollection<HFDataFrame> > GlobalDigisAnalyzer::HFDigi_Token_
private

Definition at line 234 of file GlobalDigisAnalyzer.h.

std::string GlobalDigisAnalyzer::hitsProducer
private

Definition at line 147 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::SortedCollection<HODataFrame> > GlobalDigisAnalyzer::HODigi_Token_
private

Definition at line 233 of file GlobalDigisAnalyzer.h.

std::string GlobalDigisAnalyzer::label
private

Definition at line 144 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehCSCStripADC
private

Definition at line 211 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehCSCStripn
private

Definition at line 210 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehCSCWiren
private

Definition at line 212 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehCSCWireTime
private

Definition at line 213 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehDtMuonLayer[4]
private

Definition at line 202 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehDtMuonn[4]
private

Definition at line 201 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehDtMuonTime[4]
private

Definition at line 203 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehDtMuonTimevLayer[4]
private

Definition at line 204 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEcalAEE[2]
private

Definition at line 154 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEcalMaxPos[2]
private

Definition at line 156 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEcalMultvAEE[2]
private

Definition at line 157 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEcaln[2]
private

Definition at line 152 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEcalSHE[2]
private

Definition at line 155 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEcalSHEvAEESHE[2]
private

Definition at line 158 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEScalADC[3]
private

Definition at line 159 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehEScaln
private

Definition at line 153 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehHcalAEE[4]
private

Definition at line 172 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehHcalAEESHE[4]
private

Definition at line 174 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehHcaln[4]
private

Definition at line 171 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehHcalSHE[4]
private

Definition at line 173 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehHcalSHEvAEE[4]
private

Definition at line 175 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehRPCMuonn
private

Definition at line 222 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehRPCRes[5]
private

Definition at line 223 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiPixelADC[7]
private

Definition at line 192 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiPixelCol[7]
private

Definition at line 194 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiPixeln[7]
private

Definition at line 191 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiPixelRow[7]
private

Definition at line 193 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiStripADC[19]
private

Definition at line 184 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiStripn[19]
private

Definition at line 183 of file GlobalDigisAnalyzer.h.

MonitorElement* GlobalDigisAnalyzer::mehSiStripStrip[19]
private

Definition at line 185 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::MuCSCStripSrc_
private

Definition at line 215 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<CSCStripDigiCollection> GlobalDigisAnalyzer::MuCSCStripSrc_Token_
private

Definition at line 238 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::MuCSCWireSrc_
private

Definition at line 219 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<CSCWireDigiCollection> GlobalDigisAnalyzer::MuCSCWireSrc_Token_
private

Definition at line 239 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::MuDTSrc_
private

Definition at line 206 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<DTDigiCollection> GlobalDigisAnalyzer::MuDTSrc_Token_
private

Definition at line 237 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::MuRPCSrc_
private

Definition at line 225 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<RPCDigiCollection> GlobalDigisAnalyzer::MuRPCSrc_Token_
private

Definition at line 240 of file GlobalDigisAnalyzer.h.

bool GlobalDigisAnalyzer::printProvenanceInfo
private

Definition at line 146 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::PSimHitContainer> GlobalDigisAnalyzer::RPCSimHit_Token_
private

Definition at line 244 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::SiPxlSrc_
private

Definition at line 196 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::DetSetVector<PixelDigi> > GlobalDigisAnalyzer::SiPxlSrc_Token_
private

Definition at line 236 of file GlobalDigisAnalyzer.h.

edm::InputTag GlobalDigisAnalyzer::SiStripSrc_
private

Definition at line 187 of file GlobalDigisAnalyzer.h.

edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > GlobalDigisAnalyzer::SiStripSrc_Token_
private

Definition at line 235 of file GlobalDigisAnalyzer.h.

int GlobalDigisAnalyzer::theCSCStripPedestalCount
private

Definition at line 217 of file GlobalDigisAnalyzer.h.

float GlobalDigisAnalyzer::theCSCStripPedestalSum
private

Definition at line 216 of file GlobalDigisAnalyzer.h.

int GlobalDigisAnalyzer::verbosity
private

Definition at line 142 of file GlobalDigisAnalyzer.h.