CMS 3D CMS Logo

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

#include <L1TMP7ZeroSupp.h>

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

Public Member Functions

 L1TMP7ZeroSupp (const edm::ParameterSet &ps)
 
virtual ~L1TMP7ZeroSupp ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 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

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
virtual void bookHistograms (DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
 
virtual void dqmBeginRun (const edm::Run &, const edm::EventSetup &)
 
- 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 Types

enum  binlabels {
  EVTS =0, EVTSGOOD, EVTSBAD, BLOCKS,
  ZSBLKSGOOD, ZSBLKSBAD, ZSBLKSBADFALSEPOS, ZSBLKSBADFALSENEG,
  NBINLABELS
}
 

Private Member Functions

void bookCapIdHistograms (DQMStore::IBooker &, const unsigned int &)
 

Private Attributes

int amc13HeaderSize_
 
int amc13TrailerSize_
 
int amcHeaderSize_
 
int amcTrailerSize_
 
MonitorElementcapIds_
 
std::vector< unsigned int > definedMaskCapIds_
 
edm::EDGetTokenT
< FEDRawDataCollection
fedDataToken_
 
std::vector< int > fedIds_
 
std::vector< std::vector< int > > masks_
 
int maxFedReadoutSize_
 
unsigned int maxMasks_
 
std::string monitorDir_
 
std::map< unsigned int,
MonitorElement * > 
readoutSizeNoZSMap_
 
std::map< unsigned int,
MonitorElement * > 
readoutSizeZSExpectedMap_
 
std::map< unsigned int,
MonitorElement * > 
readoutSizeZSMap_
 
int slinkHeaderSize_
 
int slinkTrailerSize_
 
bool verbose_
 
std::map< unsigned int,
MonitorElement * > 
zeroSuppValMap_
 
bool zsEnabled_
 
int zsFlagMask_
 

Additional Inherited Members

- 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
 
- 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 20 of file L1TMP7ZeroSupp.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

L1TMP7ZeroSupp::L1TMP7ZeroSupp ( const edm::ParameterSet ps)

Definition at line 6 of file L1TMP7ZeroSupp.cc.

L1TMP7ZeroSupp::~L1TMP7ZeroSupp ( )
virtual

Definition at line 47 of file L1TMP7ZeroSupp.cc.

Member Function Documentation

void L1TMP7ZeroSupp::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprotectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 103 of file L1TMP7ZeroSupp.cc.

void L1TMP7ZeroSupp::beginLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup  
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 51 of file L1TMP7ZeroSupp.cc.

void L1TMP7ZeroSupp::bookCapIdHistograms ( DQMStore::IBooker ibooker,
const unsigned int &  id 
)
private

Definition at line 70 of file L1TMP7ZeroSupp.cc.

void L1TMP7ZeroSupp::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run ,
const edm::EventSetup  
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 53 of file L1TMP7ZeroSupp.cc.

void L1TMP7ZeroSupp::dqmBeginRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 49 of file L1TMP7ZeroSupp.cc.

Member Data Documentation

int L1TMP7ZeroSupp::amc13HeaderSize_
private

Definition at line 49 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::amc13TrailerSize_
private

Definition at line 50 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::amcHeaderSize_
private

Definition at line 51 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::amcTrailerSize_
private

Definition at line 52 of file L1TMP7ZeroSupp.h.

MonitorElement* L1TMP7ZeroSupp::capIds_
private

Definition at line 68 of file L1TMP7ZeroSupp.h.

std::vector<unsigned int> L1TMP7ZeroSupp::definedMaskCapIds_
private

Definition at line 62 of file L1TMP7ZeroSupp.h.

edm::EDGetTokenT<FEDRawDataCollection> L1TMP7ZeroSupp::fedDataToken_
private

Definition at line 41 of file L1TMP7ZeroSupp.h.

std::vector<int> L1TMP7ZeroSupp::fedIds_
private

Definition at line 43 of file L1TMP7ZeroSupp.h.

std::vector<std::vector<int> > L1TMP7ZeroSupp::masks_
private

Definition at line 44 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::maxFedReadoutSize_
private

Definition at line 55 of file L1TMP7ZeroSupp.h.

unsigned int L1TMP7ZeroSupp::maxMasks_
private

Definition at line 60 of file L1TMP7ZeroSupp.h.

std::string L1TMP7ZeroSupp::monitorDir_
private

Definition at line 57 of file L1TMP7ZeroSupp.h.

std::map<unsigned int, MonitorElement*> L1TMP7ZeroSupp::readoutSizeNoZSMap_
private

Definition at line 65 of file L1TMP7ZeroSupp.h.

std::map<unsigned int, MonitorElement*> L1TMP7ZeroSupp::readoutSizeZSExpectedMap_
private

Definition at line 67 of file L1TMP7ZeroSupp.h.

std::map<unsigned int, MonitorElement*> L1TMP7ZeroSupp::readoutSizeZSMap_
private

Definition at line 66 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::slinkHeaderSize_
private

Definition at line 47 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::slinkTrailerSize_
private

Definition at line 48 of file L1TMP7ZeroSupp.h.

bool L1TMP7ZeroSupp::verbose_
private

Definition at line 58 of file L1TMP7ZeroSupp.h.

std::map<unsigned int, MonitorElement*> L1TMP7ZeroSupp::zeroSuppValMap_
private

Definition at line 64 of file L1TMP7ZeroSupp.h.

bool L1TMP7ZeroSupp::zsEnabled_
private

Definition at line 42 of file L1TMP7ZeroSupp.h.

int L1TMP7ZeroSupp::zsFlagMask_
private

Definition at line 53 of file L1TMP7ZeroSupp.h.