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

#include <DTnoiseDBValidation.h>

Inheritance diagram for DTnoiseDBValidation:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &setup)
 
void beginRun (const edm::Run &run, const edm::EventSetup &setup)
 Operations. More...
 
 DTnoiseDBValidation (const edm::ParameterSet &pset)
 Constructor. More...
 
void endJob ()
 
void endRun (edm::Run const &, edm::EventSetup const &)
 
virtual ~DTnoiseDBValidation ()
 Destructor. More...
 
- 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 Member Functions

void bookHisto (const DTChamberId &)
 

Private Attributes

DQMStoredbe_
 
MonitorElementdiffHisto_
 
std::string diffTestName_
 
edm::ESHandle< DTGeometrydtGeom_
 
std::string labelDB_
 
std::string labelDBRef_
 
MonitorElementlayerHisto_
 
std::string layerTestName_
 
std::map< DTChamberId,
MonitorElement * > 
noiseHistoMap_
 
const DTStatusFlagnoiseMap_
 
const DTStatusFlagnoiseRefMap_
 
int noisyCellsRef_
 
int noisyCellsValid_
 
std::string outputFileName_
 
bool outputMEsInRootFile_
 
MonitorElementsectorHisto_
 
std::string sectorTestName_
 
MonitorElementstationHisto_
 
std::string stationTestName_
 
MonitorElementwheelHisto_
 
std::string wheelTestName_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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

Plot the noise from the DB comparaison

Author
G. Mila - INFN Torino

Definition at line 29 of file DTnoiseDBValidation.h.

Constructor & Destructor Documentation

DTnoiseDBValidation::DTnoiseDBValidation ( const edm::ParameterSet pset)

Constructor.

Definition at line 40 of file DTnoiseDBValidation.cc.

DTnoiseDBValidation::~DTnoiseDBValidation ( )
virtual

Destructor.

Definition at line 75 of file DTnoiseDBValidation.cc.

Member Function Documentation

void DTnoiseDBValidation::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
inlinevirtual

Implements edm::EDAnalyzer.

Definition at line 41 of file DTnoiseDBValidation.h.

41 {}
void DTnoiseDBValidation::beginRun ( const edm::Run run,
const edm::EventSetup setup 
)
virtual

Operations.

Reimplemented from edm::EDAnalyzer.

Definition at line 77 of file DTnoiseDBValidation.cc.

void DTnoiseDBValidation::bookHisto ( const DTChamberId chId)
private

Definition at line 271 of file DTnoiseDBValidation.cc.

void DTnoiseDBValidation::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 266 of file DTnoiseDBValidation.cc.

void DTnoiseDBValidation::endRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 208 of file DTnoiseDBValidation.cc.

Member Data Documentation

DQMStore* DTnoiseDBValidation::dbe_
private

Definition at line 48 of file DTnoiseDBValidation.h.

MonitorElement* DTnoiseDBValidation::diffHisto_
private

Definition at line 69 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::diffTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

edm::ESHandle<DTGeometry> DTnoiseDBValidation::dtGeom_
private

Definition at line 59 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::labelDB_
private

Definition at line 51 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::labelDBRef_
private

Definition at line 50 of file DTnoiseDBValidation.h.

MonitorElement* DTnoiseDBValidation::layerHisto_
private

Definition at line 73 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::layerTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

std::map<DTChamberId, MonitorElement*> DTnoiseDBValidation::noiseHistoMap_
private

Definition at line 74 of file DTnoiseDBValidation.h.

const DTStatusFlag* DTnoiseDBValidation::noiseMap_
private

Definition at line 62 of file DTnoiseDBValidation.h.

const DTStatusFlag* DTnoiseDBValidation::noiseRefMap_
private

Definition at line 63 of file DTnoiseDBValidation.h.

int DTnoiseDBValidation::noisyCellsRef_
private

Definition at line 66 of file DTnoiseDBValidation.h.

int DTnoiseDBValidation::noisyCellsValid_
private

Definition at line 67 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::outputFileName_
private

Definition at line 56 of file DTnoiseDBValidation.h.

bool DTnoiseDBValidation::outputMEsInRootFile_
private

Definition at line 55 of file DTnoiseDBValidation.h.

MonitorElement* DTnoiseDBValidation::sectorHisto_
private

Definition at line 72 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::sectorTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

MonitorElement* DTnoiseDBValidation::stationHisto_
private

Definition at line 71 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::stationTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

MonitorElement* DTnoiseDBValidation::wheelHisto_
private

Definition at line 70 of file DTnoiseDBValidation.h.

std::string DTnoiseDBValidation::wheelTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.