CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonAnalyzer.h
Go to the documentation of this file.
1 #ifndef TutorialAtDESY_MuonAnalyzer_H
2 #define TutorialAtDESY_MuonAnalyzer_H
3 
10 // Base Class Headers
12 
14 
15 namespace edm {
16  class ParameterSet;
17  class Event;
18  class EventSetup;
19 }
20 
21 class TH1I;
22 class TH1F;
23 class TH2F;
24 
26 public:
29 
31  virtual ~ExampleMuonAnalyzer();
32 
33  // Operations
34 
35  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
36 
37  virtual void beginJob() ;
38  virtual void endJob() ;
39 protected:
40 
41 private:
43 
44  // Histograms
45  TH1I *hNMuons;
46  TH1F *hPtRec;
47  TH2F *hPtReso;
48  TH1F *hEHcal;
49 
50  TH1I *hMuonType;
51  TH1F *hPtSTATKDiff;
52 
53  // ID
57  TH1I *hMuIdAlgo;
58 
59  // Isolation
62 
63  TH1F *h4MuInvMass;
64 
65 };
66 #endif
67 
virtual void endJob()
Definition: MuonAnalyzer.cc:64
virtual void beginJob()
Definition: MuonAnalyzer.cc:37
TH1F * hMuSegCompatibility
Definition: MuonAnalyzer.h:55
TH1F * hMuCaloCompatibility
Definition: MuonAnalyzer.h:54
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual ~ExampleMuonAnalyzer()
Destructor.
Definition: MuonAnalyzer.cc:34
ExampleMuonAnalyzer(const edm::ParameterSet &pset)
Constructor.
Definition: MuonAnalyzer.cc:28
edm::EDGetTokenT< pat::MuonCollection > theMuonToken
Definition: MuonAnalyzer.h:42
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Definition: MuonAnalyzer.cc:68