Public Member Functions | |
PatTopSelectionAnalyzer (const edm::ParameterSet &) | |
default constructor More... | |
~PatTopSelectionAnalyzer () | |
default destructor More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
everything that needs to be done during the event loop More... | |
virtual void | beginJob () |
everything that needs to be done before the event loop More... | |
bool | booked (const std::string histName) const |
check if histogram was booked More... | |
virtual void | endJob () |
everything that needs to be done after the event loop More... | |
void | fill (const std::string histName, double value) const |
fill histogram if it had been booked before More... | |
Private Attributes | |
edm::InputTag | elecs_ |
std::map< std::string, TH1F * > | hists_ |
edm::InputTag | jets_ |
edm::InputTag | met_ |
edm::InputTag | muons_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 13 of file PatTopSelectionAnalyzer.cc.
|
explicit |
default constructor
Definition at line 51 of file PatTopSelectionAnalyzer.cc.
PatTopSelectionAnalyzer::~PatTopSelectionAnalyzer | ( | ) |
|
privatevirtual |
everything that needs to be done during the event loop
Implements edm::EDAnalyzer.
Definition at line 65 of file PatTopSelectionAnalyzer.cc.
References elecs_, fill(), edm::Event::getByLabel(), analyzePatCleaning_cfg::jets, jets_, CaloMET_cfi::met, met_, patZpeak::muons, and muons_.
|
privatevirtual |
everything that needs to be done before the event loop
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file PatTopSelectionAnalyzer.cc.
References hists_, and TFileDirectory::make().
|
inlineprivate |
check if histogram was booked
Definition at line 30 of file PatTopSelectionAnalyzer.cc.
References hists_.
|
privatevirtual |
everything that needs to be done after the event loop
Reimplemented from edm::EDAnalyzer.
Definition at line 135 of file PatTopSelectionAnalyzer.cc.
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 32 of file PatTopSelectionAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 40 of file PatTopSelectionAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 32 of file PatTopSelectionAnalyzer.cc.
Referenced by beginJob(), and booked().
|
private |
Definition at line 42 of file PatTopSelectionAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 43 of file PatTopSelectionAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 41 of file PatTopSelectionAnalyzer.cc.
Referenced by analyze().