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 Attributes
L1TEfficiencyJets_Offline Class Reference

#include <L1TEfficiencyJets_Offline.h>

Inheritance diagram for L1TEfficiencyJets_Offline:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

enum  Errors { UNKNOWN = 1, WARNING_PY_MISSING_FIT = 2 }
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 

Public Member Functions

 L1TEfficiencyJets_Offline (const edm::ParameterSet &ps)
 
virtual ~L1TEfficiencyJets_Offline ()
 
- 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
 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
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void beginJob ()
 
virtual void beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
 
void beginRun (const edm::Run &run, const edm::EventSetup &iSetup)
 
void endJob ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
 
void endRun (const edm::Run &run, const edm::EventSetup &iSetup)
 
- 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 Attributes

DQMStoredbe
 
bool m_verbose
 

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 &)
 

Detailed Description

Definition at line 40 of file L1TEfficiencyJets_Offline.h.

Member Enumeration Documentation

Enumerator
UNKNOWN 
WARNING_PY_MISSING_FIT 

Definition at line 44 of file L1TEfficiencyJets_Offline.h.

Constructor & Destructor Documentation

L1TEfficiencyJets_Offline::L1TEfficiencyJets_Offline ( const edm::ParameterSet ps)

Definition at line 34 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout, and cppFunctionSkipper::operator.

34  {
35 
36  // Inicializing Variables
37  if (m_verbose) {
38  cout << "[L1TEfficiencyJets_Offline:] ____________ Storage inicialization ____________ " << endl;
39  cout << "[L1TEfficiencyJets_Offline:] Setting up dbe folder: L1T/Efficiency/Jets" << endl;
40  }
41 
43  dbe->setVerbose(0);
44  dbe->setCurrentFolder("L1T/Efficiency/Jets");
45 
46  // Inicializing Variables
47  if (m_verbose) {cout << "[L1TEfficiencyJets_Offline:] Pointer for DQM Store: " << dbe << endl;}
48 }
void setVerbose(unsigned level)
Definition: DQMStore.cc:548
tuple cout
Definition: gather_cfg.py:121
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
L1TEfficiencyJets_Offline::~L1TEfficiencyJets_Offline ( )
virtual

Definition at line 51 of file L1TEfficiencyJets_Offline.cc.

51 {}

Member Function Documentation

void L1TEfficiencyJets_Offline::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::EDAnalyzer.

Definition at line 103 of file L1TEfficiencyJets_Offline.cc.

103  {
104 
105 }
void L1TEfficiencyJets_Offline::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 54 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout.

54  {
55 
56  if (m_verbose) {cout << "[L1TEfficiencyJets_Offline:] Called beginJob." << endl;}
57 
58 }
tuple cout
Definition: gather_cfg.py:121
void L1TEfficiencyJets_Offline::beginLuminosityBlock ( edm::LuminosityBlock const &  lumiBlock,
edm::EventSetup const &  c 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 84 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout, edm::LuminosityBlockBase::id(), and edm::LuminosityBlockID::luminosityBlock().

84  {
85 
86  if(m_verbose){
87  cout << "[L1TEfficiencyJets_Offline:] Called beginLuminosityBlock at LS="
88  << lumiBlock.id().luminosityBlock() << endl;
89  }
90 }
tuple cout
Definition: gather_cfg.py:121
void L1TEfficiencyJets_Offline::beginRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 70 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout.

70  {
71 
72  if (m_verbose) {cout << "[L1TEfficiencyJets_Offline:] Called endRun." << endl;}
73 
74 }
tuple cout
Definition: gather_cfg.py:121
void L1TEfficiencyJets_Offline::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 61 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout.

61  {
62 
63  if (m_verbose) {cout << "[L1TEfficiencyJets_Offline:] Called endJob." << endl;}
64 
65 }
tuple cout
Definition: gather_cfg.py:121
void L1TEfficiencyJets_Offline::endLuminosityBlock ( edm::LuminosityBlock const &  lumiBlock,
edm::EventSetup const &  c 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 93 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout, edm::LuminosityBlockBase::id(), and edm::LuminosityBlockID::luminosityBlock().

93  {
94 
95  if(m_verbose){
96  cout << "[L1TEfficiencyJets_Offline:] Called endLuminosityBlock at LS="
97  << lumiBlock.id().luminosityBlock() << endl;
98  }
99 }
tuple cout
Definition: gather_cfg.py:121
void L1TEfficiencyJets_Offline::endRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 77 of file L1TEfficiencyJets_Offline.cc.

References gather_cfg::cout.

77  {
78 
79  if (m_verbose) {cout << "[L1TEfficiencyJets_Offline:] Called endRun." << endl;}
80 
81 }
tuple cout
Definition: gather_cfg.py:121

Member Data Documentation

DQMStore* L1TEfficiencyJets_Offline::dbe
private

Definition at line 76 of file L1TEfficiencyJets_Offline.h.

bool L1TEfficiencyJets_Offline::m_verbose
private

Definition at line 74 of file L1TEfficiencyJets_Offline.h.