PatMuonAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fs)
default constructor
void analyze(const edm::EventBase &event)
everything that needs to be done during the event loop
void endJob()
everything that needs to be done after the event loop
edm::InputTag muons_
input tag for mouns
edm::EDGetTokenT< std::vector< pat::Muon > > muonsToken_
std::map< std::string, TH1 * > hists_
histograms
virtual ~PatMuonAnalyzer()
default destructor
void beginJob()
everything that needs to be done before the event loop
Example class that can be used to analyze pat::Muons both within FWLite and within the full framework...