CMS 3D CMS Logo

BasicMuonAnalyzer.h
Go to the documentation of this file.
1 #include <map>
2 #include <string>
3 
4 #include "TH1.h"
7 
21 public:
26  ~BasicMuonAnalyzer() override{};
28  void beginJob() override{};
30  void endJob() override{};
32  void analyze(const edm::EventBase& event) override;
33 
34 private:
39  std::map<std::string, TH1*> hists_;
40 };
BasicMuonAnalyzer::hists_
std::map< std::string, TH1 * > hists_
histograms
Definition: BasicMuonAnalyzer.h:39
Muon.h
BasicMuonAnalyzer::~BasicMuonAnalyzer
~BasicMuonAnalyzer() override
default destructor
Definition: BasicMuonAnalyzer.h:26
edm::EDGetTokenT
Definition: EDGetToken.h:33
BasicMuonAnalyzer::BasicMuonAnalyzer
BasicMuonAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fs)
default constructor
Definition: BasicMuonAnalyzer.cc:6
TFileDirectory
Definition: TFileDirectory.h:24
BasicAnalyzer.h
BasicMuonAnalyzer::endJob
void endJob() override
everything that needs to be done after the event loop
Definition: BasicMuonAnalyzer.h:30
edm::ParameterSet
Definition: ParameterSet.h:47
BasicMuonAnalyzer::analyze
void analyze(const edm::EventBase &event) override
everything that needs to be done during the event loop
Definition: BasicMuonAnalyzer.cc:24
looper.cfg
cfg
Definition: looper.py:296
BasicMuonAnalyzer::muonsToken_
edm::EDGetTokenT< std::vector< reco::Muon > > muonsToken_
Definition: BasicMuonAnalyzer.h:37
BasicMuonAnalyzer::beginJob
void beginJob() override
everything that needs to be done before the event loop
Definition: BasicMuonAnalyzer.h:28
edm::BasicAnalyzer
Definition: BasicAnalyzer.h:42
BasicMuonAnalyzer
Example class that can be used both within FWLite and within the full framework.
Definition: BasicMuonAnalyzer.h:20
edm::EventBase
Definition: EventBase.h:46
event
Definition: event.py:1
BasicMuonAnalyzer::muons_
edm::InputTag muons_
input tag for mouns
Definition: BasicMuonAnalyzer.h:36
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45