CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonSimHitsValidAnalyzer.h
Go to the documentation of this file.
1 #ifndef MuonSimHitsValidAnalyzer_h
2 #define MuonSimHitsValidAnalyzer_h
3 
18 
22 
29 
32 
34 //#include "SimDataFormats/ValidationFormats/interface/PValidationFormats.h"
39 
41 #include <CLHEP/Vector/LorentzVector.h>
42 #include "CLHEP/Units/GlobalSystemOfUnits.h"
43 
44 #include <iostream>
45 
46 #include <stdlib.h>
47 #include <string>
48 #include <memory>
49 #include <vector>
50 
51 #include "TString.h"
52 
53 class TH1F;
54 class TFile;
55 
56 namespace edm {
57  class ParameterSet; class Event; class EventSetup;}
58 
60 {
61 
62  public:
63 
64  typedef std::vector<float> FloatVector;
65  typedef std::vector<int> IntegerVector;
66  typedef std::vector<long int> LongIntegerVector;
67  typedef std::vector<unsigned int> UnsigIntegerVector;
68 
70  virtual ~MuonSimHitsValidAnalyzer();
71  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
72  virtual void analyze(const edm::Event&, const edm::EventSetup&);
73 
74  private:
75  void fillDT(const edm::Event&, const edm::EventSetup&);
76 
77  private:
78 
81  int verbosity;
85 
88 
89  unsigned int iden;
92  Int_t path, pathchamber;
94  Int_t touche1, touche4;
95  Float_t pow6;
96  Float_t mom1, mom4, mome1, mome4;
100 
103 
104  // Monitor elements
105  // DT
139 
141  unsigned int count;
142 
143 };
144 
146 
147 static const int dMuon = 2;
148 
149 static const int sdMuonDT = 1;
150 static const int sdMuonCSC = 2;
151 static const int sdMuonRPC = 3;
152 
153 #endif
static const int sdMuonRPC
std::vector< float > FloatVector
edm::EDGetTokenT< edm::PSimHitContainer > DTHitsToken_
Input tags.
Definition: Event.h:16
static const int sdMuonDT
static const int sdMuonCSC
MuonSimHitsValidAnalyzer(const edm::ParameterSet &)
std::string fName
parameter information
static const int dMuon
end class declaration
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< long int > LongIntegerVector
unsigned int count
private statistics information
Definition: Run.h:43
void fillDT(const edm::Event &, const edm::EventSetup &)
std::vector< unsigned int > UnsigIntegerVector