CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
MuonSimHitsValidAnalyzer Class Reference

#include <MuonSimHitsValidAnalyzer.h>

Inheritance diagram for MuonSimHitsValidAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Types

typedef std::vector< float > FloatVector
 
typedef std::vector< int > IntegerVector
 
typedef std::vector< long int > LongIntegerVector
 
typedef std::vector< unsigned int > UnsigIntegerVector
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 MuonSimHitsValidAnalyzer (const edm::ParameterSet &)
 
 ~MuonSimHitsValidAnalyzer () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Member Functions

void fillDT (const edm::Event &, const edm::EventSetup &)
 

Private Attributes

Float_t costeta
 
unsigned int count
 private statistics information More...
 
edm::EDGetTokenT< edm::PSimHitContainerDTHitsToken_
 Input tags. More...
 
std::string fName
 parameter information More...
 
edm::ESGetToken< DTGeometry, MuonGeometryRecordgeomToken_
 
bool getAllProvenances
 
Float_t globposeta
 
Float_t globposphi
 
Float_t globposx
 
Float_t globposy
 
Float_t globposz
 
unsigned int iden
 
std::string label
 
Int_t layer
 
MonitorElementmeAllDTHits
 
MonitorElementmeChamberOccup
 
MonitorElementmeCosTheta
 
MonitorElementmeEnergyLoss
 
MonitorElementmeGlobalEta
 
MonitorElementmeGlobalPhi
 
MonitorElementmeGlobalXvsY
 
MonitorElementmeGlobalXvsYW0
 
MonitorElementmeGlobalXvsYWm1
 
MonitorElementmeGlobalXvsYWm2
 
MonitorElementmeGlobalXvsYWp1
 
MonitorElementmeGlobalXvsYWp2
 
MonitorElementmeGlobalXvsZ
 
MonitorElementmeGlobalXvsZW0
 
MonitorElementmeGlobalXvsZWm1
 
MonitorElementmeGlobalXvsZWm2
 
MonitorElementmeGlobalXvsZWp1
 
MonitorElementmeGlobalXvsZWp2
 
MonitorElementmeHitRadius
 
MonitorElementmeLayerOccup
 
MonitorElementmeLocalXvsY
 
MonitorElementmeLocalXvsZ
 
MonitorElementmeLossMomIron
 
MonitorElementmeMomentumMB1
 
MonitorElementmeMomentumMB4
 
MonitorElementmeMuDTHits
 
MonitorElementmePathMuon
 
MonitorElementmeSectorOccup
 
MonitorElementmeStationOccup
 
MonitorElementmeSuperLOccup
 
MonitorElementmeToF
 
MonitorElementmeWheelOccup
 
MonitorElementmeWireOccup
 
Float_t mom1
 
Float_t mom4
 
Float_t mome1
 
Float_t mome4
 
int nRawGenPart
 G4MC info. More...
 
Int_t nummu_CSC
 
Int_t nummu_DT
 
Int_t nummu_RPC
 
Int_t path
 
Int_t pathchamber
 
Float_t pow6
 
bool printProvenanceInfo
 
Float_t radius
 
Int_t region
 
Int_t ring
 
Int_t roll
 
Int_t sector
 
Float_t sinteta
 
Int_t station
 
Int_t subsector
 
Int_t superlayer
 
Int_t touch1
 
Int_t touch4
 
Int_t touche1
 
Int_t touche4
 
int verbosity
 
Int_t wheel
 
Int_t wire
 

Additional Inherited Members

- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 49 of file MuonSimHitsValidAnalyzer.h.

Member Typedef Documentation

◆ FloatVector

typedef std::vector<float> MuonSimHitsValidAnalyzer::FloatVector

Definition at line 51 of file MuonSimHitsValidAnalyzer.h.

◆ IntegerVector

typedef std::vector<int> MuonSimHitsValidAnalyzer::IntegerVector

Definition at line 52 of file MuonSimHitsValidAnalyzer.h.

◆ LongIntegerVector

typedef std::vector<long int> MuonSimHitsValidAnalyzer::LongIntegerVector

Definition at line 53 of file MuonSimHitsValidAnalyzer.h.

◆ UnsigIntegerVector

typedef std::vector<unsigned int> MuonSimHitsValidAnalyzer::UnsigIntegerVector

Definition at line 54 of file MuonSimHitsValidAnalyzer.h.

Constructor & Destructor Documentation

◆ MuonSimHitsValidAnalyzer()

MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer ( const edm::ParameterSet iPSet)
explicit

get information from parameter set

get labels for input tags

print out Parameter Set information being used

Definition at line 14 of file MuonSimHitsValidAnalyzer.cc.

15  : fName(""),
16  verbosity(0),
17  label(""),
18  getAllProvenances(false),
19  printProvenanceInfo(false),
20  nRawGenPart(0),
21  count(0)
22 
23 {
25  fName = iPSet.getUntrackedParameter<std::string>("Name");
26  verbosity = iPSet.getUntrackedParameter<int>("Verbosity");
27  label = iPSet.getParameter<std::string>("Label");
28  edm::ParameterSet m_Prov = iPSet.getParameter<edm::ParameterSet>("ProvenanceLookup");
29  getAllProvenances = m_Prov.getUntrackedParameter<bool>("GetAllProvenances");
30  printProvenanceInfo = m_Prov.getUntrackedParameter<bool>("PrintProvenanceInfo");
31 
32  nRawGenPart = 0;
33 
35  DTHitsToken_ = consumes<edm::PSimHitContainer>(iPSet.getParameter<edm::InputTag>("DTHitsSrc"));
36 
38 
39  if (verbosity) {
40  Labels l;
41  labelsForToken(DTHitsToken_, l);
42  edm::LogInfo("MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer")
43  << "\n===============================\n"
44  << "Initialized as EDAnalyzer with parameter values:\n"
45  << " Name = " << fName << "\n"
46  << " Verbosity = " << verbosity << "\n"
47  << " Label = " << label << "\n"
48  << " GetProv = " << getAllProvenances << "\n"
49  << " PrintProv = " << printProvenanceInfo
50  << "\n"
51  // << " CSCHitsSrc= " <<CSCHitsSrc_.label()
52  // << ":" << CSCHitsSrc_.instance() << "\n"
53  << " DTHitsSrc = " << l.module << ":" << l.productInstance
54  << "\n"
55  // << " RPCHitsSrc= " <<RPCHitsSrc_.label()
56  // << ":" << RPCHitsSrc_.instance() << "\n"
57  << "===============================\n";
58  }
59 
60  pow6 = 1000000.0;
61  mom4 = 0.;
62  mom1 = 0;
63  costeta = 0.;
64  radius = 0;
65  sinteta = 0.;
66  globposx = 0.;
67  globposy = 0;
68  nummu_DT = 0;
69  nummu_CSC = 0;
70  nummu_RPC = 0;
71  geomToken_ = esConsumes<DTGeometry, MuonGeometryRecord>();
72 }

References costeta, DTHitsToken_, fName, geomToken_, getAllProvenances, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), globposx, globposy, cmsLHEtoEOSManager::l, label, mom1, mom4, nRawGenPart, nummu_CSC, nummu_DT, nummu_RPC, pow6, printProvenanceInfo, radius, sinteta, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.

◆ ~MuonSimHitsValidAnalyzer()

MuonSimHitsValidAnalyzer::~MuonSimHitsValidAnalyzer ( )
override

Definition at line 74 of file MuonSimHitsValidAnalyzer.cc.

74 {}

Member Function Documentation

◆ analyze()

void MuonSimHitsValidAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

keep track of number of events processed

get event id information

look at information available in the event

Reimplemented from DQMEDAnalyzer.

Definition at line 255 of file MuonSimHitsValidAnalyzer.cc.

255  {
257  ++count;
258 
260  edm::RunNumber_t nrun = iEvent.id().run();
261  edm::EventNumber_t nevt = iEvent.id().event();
262 
263  if (verbosity > 0) {
264  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << "Processing run " << nrun << ", event " << nevt;
265  }
266 
268  if (getAllProvenances) {
269  std::vector<const edm::StableProvenance*> AllProv;
270  iEvent.getAllStableProvenance(AllProv);
271 
272  if (verbosity > 0)
273  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << "Number of Provenances = " << AllProv.size();
274 
275  if (printProvenanceInfo && (verbosity > 0)) {
276  TString eventout("\nProvenance info:\n");
277 
278  for (unsigned int i = 0; i < AllProv.size(); ++i) {
279  eventout += "\n ******************************";
280  eventout += "\n Module : ";
281  eventout += AllProv[i]->moduleLabel();
282  eventout += "\n ProductID : ";
283  eventout += AllProv[i]->productID().id();
284  eventout += "\n ClassName : ";
285  eventout += AllProv[i]->className();
286  eventout += "\n InstanceName : ";
287  eventout += AllProv[i]->productInstanceName();
288  eventout += "\n BranchName : ";
289  eventout += AllProv[i]->branchName();
290  }
291  eventout += " ******************************\n";
292  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << eventout << "\n";
293  }
294  }
295 
296  fillDT(iEvent, iSetup);
297 
298  if (verbosity > 0)
299  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << "Done gathering data from event.";
300 
301  return;
302 }

References count, fillDT(), getAllProvenances, mps_fire::i, iEvent, nevt, printProvenanceInfo, and verbosity.

◆ bookHistograms()

void MuonSimHitsValidAnalyzer::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  iRun,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 76 of file MuonSimHitsValidAnalyzer.cc.

78  {
79  meAllDTHits = nullptr;
80  meMuDTHits = nullptr;
81  meToF = nullptr;
82  meEnergyLoss = nullptr;
83  meMomentumMB1 = nullptr;
84  meMomentumMB4 = nullptr;
85  meLossMomIron = nullptr;
86  meLocalXvsZ = nullptr;
87  meLocalXvsY = nullptr;
88  meGlobalXvsZ = nullptr;
89  meGlobalXvsY = nullptr;
90  meGlobalXvsZWm2 = nullptr;
91  meGlobalXvsZWm1 = nullptr;
92  meGlobalXvsZW0 = nullptr;
93  meGlobalXvsZWp1 = nullptr;
94  meGlobalXvsZWp2 = nullptr;
95  meGlobalXvsYWm2 = nullptr;
96  meGlobalXvsYWm1 = nullptr;
97  meGlobalXvsYW0 = nullptr;
98  meGlobalXvsYWp1 = nullptr;
99  meGlobalXvsYWp2 = nullptr;
100  meWheelOccup = nullptr;
101  meStationOccup = nullptr;
102  meSectorOccup = nullptr;
103  meSuperLOccup = nullptr;
104  meLayerOccup = nullptr;
105  meWireOccup = nullptr;
106  mePathMuon = nullptr;
107  meChamberOccup = nullptr;
108  meHitRadius = nullptr;
109  meCosTheta = nullptr;
110  meGlobalEta = nullptr;
111  meGlobalPhi = nullptr;
112 
113  Char_t histo_n[100];
114  Char_t histo_t[100];
115 
116  iBooker.setCurrentFolder("MuonDTHitsV/DTHitsValidationTask");
117 
118  sprintf(histo_n, "Number_of_all_DT_hits");
119  sprintf(histo_t, "Number_of_all_DT_hits");
120  meAllDTHits = iBooker.book1D(histo_n, histo_t, 200, 1.0, 201.0);
121 
122  sprintf(histo_n, "Number_of_muon_DT_hits");
123  sprintf(histo_t, "Number_of_muon_DT_hits");
124  meMuDTHits = iBooker.book1D(histo_n, histo_t, 150, 1.0, 151.0);
125 
126  sprintf(histo_n, "Tof_of_hits ");
127  sprintf(histo_t, "Tof_of_hits ");
128  meToF = iBooker.book1D(histo_n, histo_t, 100, -0.5, 50.);
129 
130  sprintf(histo_n, "DT_energy_loss_keV");
131  sprintf(histo_t, "DT_energy_loss_keV");
132  meEnergyLoss = iBooker.book1D(histo_n, histo_t, 100, 0.0, 10.0);
133 
134  sprintf(histo_n, "Momentum_at_MB1");
135  sprintf(histo_t, "Momentum_at_MB1");
136  meMomentumMB1 = iBooker.book1D(histo_n, histo_t, 100, 10.0, 200.0);
137 
138  sprintf(histo_n, "Momentum_at_MB4");
139  sprintf(histo_t, "Momentum_at_MB4");
140  meMomentumMB4 = iBooker.book1D(histo_n, histo_t, 100, 10.0, 200.0);
141 
142  sprintf(histo_n, "Loss_of_muon_Momentum_in_Iron");
143  sprintf(histo_t, "Loss_of_muon_Momentum_in_Iron");
144  meLossMomIron = iBooker.book1D(histo_n, histo_t, 80, 0.0, 40.0);
145 
146  sprintf(histo_n, "Local_x-coord_vs_local_z-coord_of_muon_hit");
147  sprintf(histo_t, "Local_x-coord_vs_local_z-coord_of_muon_hit");
148  meLocalXvsZ = iBooker.book2D(histo_n, histo_t, 100, -150., 150., 100, -0.8, 0.8);
149 
150  sprintf(histo_n, "local_x-coord_vs_local_y-coord_of_muon_hit");
151  sprintf(histo_t, "local_x-coord_vs_local_y-coord_of_muon_hit");
152  meLocalXvsY = iBooker.book2D(histo_n, histo_t, 100, -150., 150., 100, -150., 150.);
153 
154  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit");
155  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit");
156  meGlobalXvsZ = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
157 
158  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit");
159  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit");
160  meGlobalXvsY = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
161 
162  // New histos
163 
164  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-2");
165  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-2");
166  meGlobalXvsZWm2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
167 
168  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-2");
169  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-2");
170  meGlobalXvsYWm2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
171 
172  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-1");
173  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-1");
174  meGlobalXvsZWm1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
175 
176  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-1");
177  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-1");
178  meGlobalXvsYWm1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
179 
180  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w0");
181  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w0");
182  meGlobalXvsZW0 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
183 
184  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w0");
185  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w0");
186  meGlobalXvsYW0 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
187 
188  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w1");
189  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w1");
190  meGlobalXvsZWp1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
191 
192  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w1");
193  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w1");
194  meGlobalXvsYWp1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
195 
196  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w2");
197  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w2");
198  meGlobalXvsZWp2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
199 
200  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w2");
201  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w2");
202  meGlobalXvsYWp2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
203 
204  //
205 
206  sprintf(histo_n, "Wheel_occupancy");
207  sprintf(histo_t, "Wheel_occupancy");
208  meWheelOccup = iBooker.book1D(histo_n, histo_t, 10, -5.0, 5.0);
209 
210  sprintf(histo_n, "Station_occupancy");
211  sprintf(histo_t, "Station_occupancy");
212  meStationOccup = iBooker.book1D(histo_n, histo_t, 6, 0., 6.0);
213 
214  sprintf(histo_n, "Sector_occupancy");
215  sprintf(histo_t, "Sector_occupancy");
216  meSectorOccup = iBooker.book1D(histo_n, histo_t, 20, 0., 20.);
217 
218  sprintf(histo_n, "SuperLayer_occupancy");
219  sprintf(histo_t, "SuperLayer_occupancy");
220  meSuperLOccup = iBooker.book1D(histo_n, histo_t, 5, 0., 5.);
221 
222  sprintf(histo_n, "Layer_occupancy");
223  sprintf(histo_t, "Layer_occupancy");
224  meLayerOccup = iBooker.book1D(histo_n, histo_t, 6, 0., 6.);
225 
226  sprintf(histo_n, "Wire_occupancy");
227  sprintf(histo_t, "Wire_occupancy");
228  meWireOccup = iBooker.book1D(histo_n, histo_t, 100, 0., 100.);
229 
230  sprintf(histo_n, "path_followed_by_muon");
231  sprintf(histo_t, "path_followed_by_muon");
232  mePathMuon = iBooker.book1D(histo_n, histo_t, 160, 0., 160.);
233 
234  sprintf(histo_n, "chamber_occupancy");
235  sprintf(histo_t, "chamber_occupancy");
236  meChamberOccup = iBooker.book1D(histo_n, histo_t, 251, 0., 251.);
237 
238  sprintf(histo_n, "radius_of_hit");
239  sprintf(histo_t, "radius_of_hit");
240  meHitRadius = iBooker.book1D(histo_n, histo_t, 100, 0., 1200.);
241 
242  sprintf(histo_n, "costheta_of_hit");
243  sprintf(histo_t, "costheta_of_hit");
244  meCosTheta = iBooker.book1D(histo_n, histo_t, 100, -1., 1.);
245 
246  sprintf(histo_n, "global_eta_of_hit");
247  sprintf(histo_t, "global_eta_of_hit");
248  meGlobalEta = iBooker.book1D(histo_n, histo_t, 60, -2.7, 2.7);
249 
250  sprintf(histo_n, "global_phi_of_hit");
251  sprintf(histo_t, "global_phi_of_hit");
252  meGlobalPhi = iBooker.book1D(histo_n, histo_t, 60, -3.14, 3.14);
253 }

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), meAllDTHits, meChamberOccup, meCosTheta, meEnergyLoss, meGlobalEta, meGlobalPhi, meGlobalXvsY, meGlobalXvsYW0, meGlobalXvsYWm1, meGlobalXvsYWm2, meGlobalXvsYWp1, meGlobalXvsYWp2, meGlobalXvsZ, meGlobalXvsZW0, meGlobalXvsZWm1, meGlobalXvsZWm2, meGlobalXvsZWp1, meGlobalXvsZWp2, meHitRadius, meLayerOccup, meLocalXvsY, meLocalXvsZ, meLossMomIron, meMomentumMB1, meMomentumMB4, meMuDTHits, mePathMuon, meSectorOccup, meStationOccup, meSuperLOccup, meToF, meWheelOccup, meWireOccup, and dqm::implementation::NavigatorBase::setCurrentFolder().

◆ fillDT()

void MuonSimHitsValidAnalyzer::fillDT ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

iterator to access containers

access the DT

get DT information

cycle through container

create a DetId from the detUnitId

check that expected detector is returned

get the GeomDetUnit from the geometry using theDetUnitID

get the Surface of the hit (knows how to go from local <-> global)

gather necessary information

Muon Momentum at MB1

Muon Momentum at MB4 & Loss of Muon Momentum in Iron (between MB1 and MB4)

X-Local Coordinate vs Z-Local Coordinate

X-Local Coordinate vs Y-Local Coordinate

Global Coordinates

Z-Global Coordinate vs X-Global Coordinate Y-Global Coordinate vs X-Global Coordinate

Definition at line 304 of file MuonSimHitsValidAnalyzer.cc.

304  {
305  TString eventout;
306  if (verbosity > 0)
307  eventout = "\nGathering DT info:";
308 
310  edm::PSimHitContainer::const_iterator itHit;
311 
314  if (!hGeom.isValid()) {
315  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT")
316  << "Unable to find MuonGeometryRecord for the DTGeometry in event!";
317  return;
318  }
319  const DTGeometry& theDTMuon(*hGeom);
320 
322  edm::Handle<edm::PSimHitContainer> MuonDTContainer;
323  iEvent.getByToken(DTHitsToken_, MuonDTContainer);
324  if (!MuonDTContainer.isValid()) {
325  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT") << "Unable to find MuonDTHits in event!";
326  return;
327  }
328 
329  touch1 = 0;
330  touch4 = 0;
331  nummu_DT = 0;
332 
333  meAllDTHits->Fill(MuonDTContainer->size());
334 
336  int i = 0, j = 0;
337  for (itHit = MuonDTContainer->begin(); itHit != MuonDTContainer->end(); ++itHit) {
338  ++i;
339 
341  DetId theDetUnitId(itHit->detUnitId());
342  int detector = theDetUnitId.det();
343  int subdetector = theDetUnitId.subdetId();
344 
346  if ((detector == dMuon) && (subdetector == sdMuonDT)) {
348  const GeomDetUnit* theDet = theDTMuon.idToDetUnit(theDetUnitId);
349 
350  if (!theDet) {
351  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT") << "Unable to get GeomDetUnit from theDTMuon for hit " << i;
352  continue;
353  }
354 
355  ++j;
356 
358  const BoundPlane& bsurf = theDet->surface();
359 
361 
362  if (abs(itHit->particleType()) == 13) {
363  nummu_DT++;
364  meToF->Fill(itHit->tof());
365  meEnergyLoss->Fill(itHit->energyLoss() * pow6);
366 
367  iden = itHit->detUnitId();
368 
369  wheel = ((iden >> 15) & 0x7) - 3;
370  station = ((iden >> 22) & 0x7);
371  sector = ((iden >> 18) & 0xf);
372  superlayer = ((iden >> 13) & 0x3);
373  layer = ((iden >> 10) & 0x7);
374  wire = ((iden >> 3) & 0x7f);
375 
376  meWheelOccup->Fill((float)wheel);
377  meStationOccup->Fill((float)station);
378  meSectorOccup->Fill((float)sector);
379  meSuperLOccup->Fill((float)superlayer);
380  meLayerOccup->Fill((float)layer);
381  meWireOccup->Fill((float)wire);
382 
383  // Define a quantity to take into account station, splayer and layer being hit.
384  path = (station - 1) * 40 + superlayer * 10 + layer;
385  mePathMuon->Fill((float)path);
386 
387  // Define a quantity to take into chamber being hit.
388  pathchamber = (wheel + 2) * 50 + (station - 1) * 12 + sector;
390 
392  if (station == 1) {
393  if (touch1 == 0) {
394  mom1 = itHit->pabs();
396  touch1 = 1;
397  }
398  }
399 
401  if (station == 4) {
402  if (touch4 == 0) {
403  mom4 = itHit->pabs();
404  touch4 = 1;
406  if (touch1 == 1) {
408  }
409  }
410  }
411 
413  meLocalXvsZ->Fill(itHit->localPosition().x(), itHit->localPosition().z());
414 
416  meLocalXvsY->Fill(itHit->localPosition().x(), itHit->localPosition().y());
417 
419 
420  globposz = bsurf.toGlobal(itHit->localPosition()).z();
421  globposeta = bsurf.toGlobal(itHit->localPosition()).eta();
422  globposphi = bsurf.toGlobal(itHit->localPosition()).phi();
423 
424  radius = globposz * (1. + exp(-2. * globposeta)) / (1. - exp(-2. * globposeta));
425 
426  costeta = (1. - exp(-2. * globposeta)) / (1. + exp(-2. * globposeta));
427  sinteta = 2. * exp(-globposeta) / (1. + exp(-2. * globposeta));
428 
433 
436 
437  // New Histos
438  if (wheel == -2) {
441  }
442  if (wheel == -1) {
445  }
446  if (wheel == 0) {
449  }
450  if (wheel == 1) {
453  }
454  if (wheel == 2) {
457  }
458  //
463  }
464  } else {
465  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT")
466  << "MuonDT PSimHit " << i << " is expected to be (det,subdet) = (" << dMuon << "," << sdMuonDT
467  << "); value returned is: (" << detector << "," << subdetector << ")";
468  continue;
469  }
470  }
471 
472  if (verbosity > 1) {
473  eventout += "\n Number of DT muon Hits collected:......... ";
474  eventout += j;
475  }
476  meMuDTHits->Fill((float)nummu_DT);
477 
478  if (verbosity > 0)
479  edm::LogInfo("MuonSimHitsValidAnalyzer::fillDT") << eventout << "\n";
480  return;
481 }

References funct::abs(), funct::cos(), costeta, hgcalTestNeighbor_cfi::detector, dMuon, DTHitsToken_, PVValHelper::eta, JetChargeProducer_cfi::exp, dqm::impl::MonitorElement::Fill(), geomToken_, edm::EventSetup::getHandle(), globposeta, globposphi, globposx, globposy, globposz, mps_fire::i, iden, DTGeometry::idToDetUnit(), iEvent, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), dqmiolumiharvest::j, layer, meAllDTHits, meChamberOccup, meCosTheta, meEnergyLoss, meGlobalEta, meGlobalPhi, meGlobalXvsY, meGlobalXvsYW0, meGlobalXvsYWm1, meGlobalXvsYWm2, meGlobalXvsYWp1, meGlobalXvsYWp2, meGlobalXvsZ, meGlobalXvsZW0, meGlobalXvsZWm1, meGlobalXvsZWm2, meGlobalXvsZWp1, meGlobalXvsZWp2, meHitRadius, meLayerOccup, meLocalXvsY, meLocalXvsZ, meLossMomIron, meMomentumMB1, meMomentumMB4, meMuDTHits, mePathMuon, meSectorOccup, meStationOccup, meSuperLOccup, meToF, meWheelOccup, meWireOccup, mom1, mom4, nummu_DT, path, pathchamber, phi, pow6, radius, sdMuonDT, sector, funct::sin(), sinteta, station, subdetector, superlayer, GeomDet::surface(), touch1, touch4, verbosity, wheel, wire, and z.

Referenced by analyze().

Member Data Documentation

◆ costeta

Float_t MuonSimHitsValidAnalyzer::costeta
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ count

unsigned int MuonSimHitsValidAnalyzer::count
private

private statistics information

Definition at line 128 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze().

◆ DTHitsToken_

edm::EDGetTokenT<edm::PSimHitContainer> MuonSimHitsValidAnalyzer::DTHitsToken_
private

Input tags.

Definition at line 88 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ fName

std::string MuonSimHitsValidAnalyzer::fName
private

parameter information

Definition at line 66 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ geomToken_

edm::ESGetToken<DTGeometry, MuonGeometryRecord> MuonSimHitsValidAnalyzer::geomToken_
private

Definition at line 89 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ getAllProvenances

bool MuonSimHitsValidAnalyzer::getAllProvenances
private

Definition at line 69 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze(), and MuonSimHitsValidAnalyzer().

◆ globposeta

Float_t MuonSimHitsValidAnalyzer::globposeta
private

Definition at line 85 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ globposphi

Float_t MuonSimHitsValidAnalyzer::globposphi
private

Definition at line 85 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ globposx

Float_t MuonSimHitsValidAnalyzer::globposx
private

Definition at line 84 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ globposy

Float_t MuonSimHitsValidAnalyzer::globposy
private

Definition at line 84 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ globposz

Float_t MuonSimHitsValidAnalyzer::globposz
private

Definition at line 84 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ iden

unsigned int MuonSimHitsValidAnalyzer::iden
private

Definition at line 75 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ label

std::string MuonSimHitsValidAnalyzer::label
private

Definition at line 68 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ layer

Int_t MuonSimHitsValidAnalyzer::layer
private

◆ meAllDTHits

MonitorElement* MuonSimHitsValidAnalyzer::meAllDTHits
private

Definition at line 93 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meChamberOccup

MonitorElement* MuonSimHitsValidAnalyzer::meChamberOccup
private

Definition at line 121 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meCosTheta

MonitorElement* MuonSimHitsValidAnalyzer::meCosTheta
private

Definition at line 123 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meEnergyLoss

MonitorElement* MuonSimHitsValidAnalyzer::meEnergyLoss
private

Definition at line 96 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalEta

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalEta
private

Definition at line 124 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalPhi

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalPhi
private

Definition at line 125 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsY

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsY
private

Definition at line 103 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYW0

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYW0
private

Definition at line 111 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWm1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWm1
private

Definition at line 110 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWm2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWm2
private

Definition at line 109 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWp1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWp1
private

Definition at line 112 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWp2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWp2
private

Definition at line 113 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZ

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZ
private

Definition at line 102 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZW0

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZW0
private

Definition at line 106 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWm1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWm1
private

Definition at line 105 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWm2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWm2
private

Definition at line 104 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWp1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWp1
private

Definition at line 107 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWp2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWp2
private

Definition at line 108 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meHitRadius

MonitorElement* MuonSimHitsValidAnalyzer::meHitRadius
private

Definition at line 122 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLayerOccup

MonitorElement* MuonSimHitsValidAnalyzer::meLayerOccup
private

Definition at line 118 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLocalXvsY

MonitorElement* MuonSimHitsValidAnalyzer::meLocalXvsY
private

Definition at line 101 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLocalXvsZ

MonitorElement* MuonSimHitsValidAnalyzer::meLocalXvsZ
private

Definition at line 100 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLossMomIron

MonitorElement* MuonSimHitsValidAnalyzer::meLossMomIron
private

Definition at line 99 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meMomentumMB1

MonitorElement* MuonSimHitsValidAnalyzer::meMomentumMB1
private

Definition at line 97 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meMomentumMB4

MonitorElement* MuonSimHitsValidAnalyzer::meMomentumMB4
private

Definition at line 98 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meMuDTHits

MonitorElement* MuonSimHitsValidAnalyzer::meMuDTHits
private

Definition at line 94 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ mePathMuon

MonitorElement* MuonSimHitsValidAnalyzer::mePathMuon
private

Definition at line 120 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meSectorOccup

MonitorElement* MuonSimHitsValidAnalyzer::meSectorOccup
private

Definition at line 116 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meStationOccup

MonitorElement* MuonSimHitsValidAnalyzer::meStationOccup
private

Definition at line 115 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meSuperLOccup

MonitorElement* MuonSimHitsValidAnalyzer::meSuperLOccup
private

Definition at line 117 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meToF

MonitorElement* MuonSimHitsValidAnalyzer::meToF
private

Definition at line 95 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meWheelOccup

MonitorElement* MuonSimHitsValidAnalyzer::meWheelOccup
private

Definition at line 114 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meWireOccup

MonitorElement* MuonSimHitsValidAnalyzer::meWireOccup
private

Definition at line 119 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ mom1

Float_t MuonSimHitsValidAnalyzer::mom1
private

Definition at line 82 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ mom4

Float_t MuonSimHitsValidAnalyzer::mom4
private

Definition at line 82 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ mome1

Float_t MuonSimHitsValidAnalyzer::mome1
private

Definition at line 82 of file MuonSimHitsValidAnalyzer.h.

◆ mome4

Float_t MuonSimHitsValidAnalyzer::mome4
private

Definition at line 82 of file MuonSimHitsValidAnalyzer.h.

◆ nRawGenPart

int MuonSimHitsValidAnalyzer::nRawGenPart
private

G4MC info.

Definition at line 73 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ nummu_CSC

Int_t MuonSimHitsValidAnalyzer::nummu_CSC
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ nummu_DT

Int_t MuonSimHitsValidAnalyzer::nummu_DT
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ nummu_RPC

Int_t MuonSimHitsValidAnalyzer::nummu_RPC
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ path

Int_t MuonSimHitsValidAnalyzer::path
private

Definition at line 78 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ pathchamber

Int_t MuonSimHitsValidAnalyzer::pathchamber
private

Definition at line 78 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ pow6

Float_t MuonSimHitsValidAnalyzer::pow6
private

Definition at line 81 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ printProvenanceInfo

bool MuonSimHitsValidAnalyzer::printProvenanceInfo
private

Definition at line 70 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze(), and MuonSimHitsValidAnalyzer().

◆ radius

Float_t MuonSimHitsValidAnalyzer::radius
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ region

Int_t MuonSimHitsValidAnalyzer::region
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

◆ ring

Int_t MuonSimHitsValidAnalyzer::ring
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

Referenced by geometryXMLparser.CSCAlignable::index().

◆ roll

Int_t MuonSimHitsValidAnalyzer::roll
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

◆ sector

Int_t MuonSimHitsValidAnalyzer::sector
private

Definition at line 76 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and geometryXMLparser.DTAlignable::index().

◆ sinteta

Float_t MuonSimHitsValidAnalyzer::sinteta
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ station

Int_t MuonSimHitsValidAnalyzer::station
private

◆ subsector

Int_t MuonSimHitsValidAnalyzer::subsector
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

◆ superlayer

Int_t MuonSimHitsValidAnalyzer::superlayer
private

Definition at line 76 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and geometryXMLparser.DTAlignable::index().

◆ touch1

Int_t MuonSimHitsValidAnalyzer::touch1
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ touch4

Int_t MuonSimHitsValidAnalyzer::touch4
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ touche1

Int_t MuonSimHitsValidAnalyzer::touche1
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

◆ touche4

Int_t MuonSimHitsValidAnalyzer::touche4
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

◆ verbosity

int MuonSimHitsValidAnalyzer::verbosity
private

Definition at line 67 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze(), fillDT(), and MuonSimHitsValidAnalyzer().

◆ wheel

Int_t MuonSimHitsValidAnalyzer::wheel
private

Definition at line 76 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and geometryXMLparser.DTAlignable::index().

◆ wire

Int_t MuonSimHitsValidAnalyzer::wire
private

Definition at line 76 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

DTGeometry
Definition: DTGeometry.h:28
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
MuonSimHitsValidAnalyzer::meGlobalXvsZWm1
MonitorElement * meGlobalXvsZWm1
Definition: MuonSimHitsValidAnalyzer.h:105
MuonSimHitsValidAnalyzer::globposeta
Float_t globposeta
Definition: MuonSimHitsValidAnalyzer.h:85
mps_fire.i
i
Definition: mps_fire.py:428
MuonSimHitsValidAnalyzer::nummu_DT
Int_t nummu_DT
Definition: MuonSimHitsValidAnalyzer.h:79
MuonSimHitsValidAnalyzer::globposphi
Float_t globposphi
Definition: MuonSimHitsValidAnalyzer.h:85
GeomDet
Definition: GeomDet.h:27
MuonSimHitsValidAnalyzer::meLocalXvsY
MonitorElement * meLocalXvsY
Definition: MuonSimHitsValidAnalyzer.h:101
MuonSimHitsValidAnalyzer::meSectorOccup
MonitorElement * meSectorOccup
Definition: MuonSimHitsValidAnalyzer.h:116
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
MuonSimHitsValidAnalyzer::meMuDTHits
MonitorElement * meMuDTHits
Definition: MuonSimHitsValidAnalyzer.h:94
MuonSimHitsValidAnalyzer::label
std::string label
Definition: MuonSimHitsValidAnalyzer.h:68
MuonSimHitsValidAnalyzer::meGlobalXvsZWp2
MonitorElement * meGlobalXvsZWp2
Definition: MuonSimHitsValidAnalyzer.h:108
MuonSimHitsValidAnalyzer::meSuperLOccup
MonitorElement * meSuperLOccup
Definition: MuonSimHitsValidAnalyzer.h:117
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MuonSimHitsValidAnalyzer::meAllDTHits
MonitorElement * meAllDTHits
Definition: MuonSimHitsValidAnalyzer.h:93
MuonSimHitsValidAnalyzer::iden
unsigned int iden
Definition: MuonSimHitsValidAnalyzer.h:75
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
MuonSimHitsValidAnalyzer::pathchamber
Int_t pathchamber
Definition: MuonSimHitsValidAnalyzer.h:78
MuonSimHitsValidAnalyzer::nummu_RPC
Int_t nummu_RPC
Definition: MuonSimHitsValidAnalyzer.h:79
edm::Handle< edm::PSimHitContainer >
MuonSimHitsValidAnalyzer::meHitRadius
MonitorElement * meHitRadius
Definition: MuonSimHitsValidAnalyzer.h:122
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
MuonSimHitsValidAnalyzer::layer
Int_t layer
Definition: MuonSimHitsValidAnalyzer.h:76
MuonSimHitsValidAnalyzer::meStationOccup
MonitorElement * meStationOccup
Definition: MuonSimHitsValidAnalyzer.h:115
MuonSimHitsValidAnalyzer::verbosity
int verbosity
Definition: MuonSimHitsValidAnalyzer.h:67
MuonSimHitsValidAnalyzer::DTHitsToken_
edm::EDGetTokenT< edm::PSimHitContainer > DTHitsToken_
Input tags.
Definition: MuonSimHitsValidAnalyzer.h:88
MuonSimHitsValidAnalyzer::station
Int_t station
Definition: MuonSimHitsValidAnalyzer.h:76
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
MuonSimHitsValidAnalyzer::wire
Int_t wire
Definition: MuonSimHitsValidAnalyzer.h:76
MuonSimHitsValidAnalyzer::geomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > geomToken_
Definition: MuonSimHitsValidAnalyzer.h:89
DetId
Definition: DetId.h:17
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
MuonSimHitsValidAnalyzer::meWireOccup
MonitorElement * meWireOccup
Definition: MuonSimHitsValidAnalyzer.h:119
MuonSimHitsValidAnalyzer::meMomentumMB1
MonitorElement * meMomentumMB1
Definition: MuonSimHitsValidAnalyzer.h:97
PVValHelper::eta
Definition: PVValidationHelpers.h:69
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
DDAxes::z
edm::ESHandle< DTGeometry >
MuonSimHitsValidAnalyzer::meGlobalXvsYW0
MonitorElement * meGlobalXvsYW0
Definition: MuonSimHitsValidAnalyzer.h:111
MuonSimHitsValidAnalyzer::meWheelOccup
MonitorElement * meWheelOccup
Definition: MuonSimHitsValidAnalyzer.h:114
MuonSimHitsValidAnalyzer::radius
Float_t radius
Definition: MuonSimHitsValidAnalyzer.h:83
MuonSimHitsValidAnalyzer::meGlobalXvsYWp1
MonitorElement * meGlobalXvsYWp1
Definition: MuonSimHitsValidAnalyzer.h:112
MuonSimHitsValidAnalyzer::meLossMomIron
MonitorElement * meLossMomIron
Definition: MuonSimHitsValidAnalyzer.h:99
edm::EventNumber_t
unsigned long long EventNumber_t
Definition: RunLumiEventNumber.h:12
MuonSimHitsValidAnalyzer::count
unsigned int count
private statistics information
Definition: MuonSimHitsValidAnalyzer.h:128
MuonSimHitsValidAnalyzer::mom1
Float_t mom1
Definition: MuonSimHitsValidAnalyzer.h:82
MuonSimHitsValidAnalyzer::meGlobalXvsY
MonitorElement * meGlobalXvsY
Definition: MuonSimHitsValidAnalyzer.h:103
MuonSimHitsValidAnalyzer::meToF
MonitorElement * meToF
Definition: MuonSimHitsValidAnalyzer.h:95
MuonSimHitsValidAnalyzer::nRawGenPart
int nRawGenPart
G4MC info.
Definition: MuonSimHitsValidAnalyzer.h:73
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonSimHitsValidAnalyzer::meChamberOccup
MonitorElement * meChamberOccup
Definition: MuonSimHitsValidAnalyzer.h:121
MuonSimHitsValidAnalyzer::wheel
Int_t wheel
Definition: MuonSimHitsValidAnalyzer.h:76
MuonSimHitsValidAnalyzer::meGlobalXvsYWm1
MonitorElement * meGlobalXvsYWm1
Definition: MuonSimHitsValidAnalyzer.h:110
edm::ParameterSet
Definition: ParameterSet.h:47
MuonSimHitsValidAnalyzer::meCosTheta
MonitorElement * meCosTheta
Definition: MuonSimHitsValidAnalyzer.h:123
MuonSimHitsValidAnalyzer::pow6
Float_t pow6
Definition: MuonSimHitsValidAnalyzer.h:81
MuonSimHitsValidAnalyzer::fName
std::string fName
parameter information
Definition: MuonSimHitsValidAnalyzer.h:66
MuonSimHitsValidAnalyzer::meLayerOccup
MonitorElement * meLayerOccup
Definition: MuonSimHitsValidAnalyzer.h:118
MuonSimHitsValidAnalyzer::nummu_CSC
Int_t nummu_CSC
Definition: MuonSimHitsValidAnalyzer.h:79
iEvent
int iEvent
Definition: GenABIO.cc:224
MuonSimHitsValidAnalyzer::meGlobalXvsZWp1
MonitorElement * meGlobalXvsZWp1
Definition: MuonSimHitsValidAnalyzer.h:107
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:148
MuonSimHitsValidAnalyzer::meGlobalXvsZW0
MonitorElement * meGlobalXvsZW0
Definition: MuonSimHitsValidAnalyzer.h:106
MuonSimHitsValidAnalyzer::meGlobalXvsZWm2
MonitorElement * meGlobalXvsZWm2
Definition: MuonSimHitsValidAnalyzer.h:104
MuonSimHitsValidAnalyzer::meGlobalEta
MonitorElement * meGlobalEta
Definition: MuonSimHitsValidAnalyzer.h:124
edm::ESHandleBase::isValid
bool isValid() const
Definition: ESHandle.h:44
MuonSimHitsValidAnalyzer::globposy
Float_t globposy
Definition: MuonSimHitsValidAnalyzer.h:84
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
MuonSimHitsValidAnalyzer::meEnergyLoss
MonitorElement * meEnergyLoss
Definition: MuonSimHitsValidAnalyzer.h:96
DDAxes::phi
nevt
int nevt
Definition: ReggeGribovPartonMCHadronizer.h:66
MuonSimHitsValidAnalyzer::globposx
Float_t globposx
Definition: MuonSimHitsValidAnalyzer.h:84
MuonSimHitsValidAnalyzer::costeta
Float_t costeta
Definition: MuonSimHitsValidAnalyzer.h:83
MuonSimHitsValidAnalyzer::superlayer
Int_t superlayer
Definition: MuonSimHitsValidAnalyzer.h:76
MuonSimHitsValidAnalyzer::sinteta
Float_t sinteta
Definition: MuonSimHitsValidAnalyzer.h:83
MuonSimHitsValidAnalyzer::path
Int_t path
Definition: MuonSimHitsValidAnalyzer.h:78
MuonSimHitsValidAnalyzer::globposz
Float_t globposz
Definition: MuonSimHitsValidAnalyzer.h:84
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
MuonSimHitsValidAnalyzer::meMomentumMB4
MonitorElement * meMomentumMB4
Definition: MuonSimHitsValidAnalyzer.h:98
BoundPlane
MuonSimHitsValidAnalyzer::meGlobalXvsZ
MonitorElement * meGlobalXvsZ
Definition: MuonSimHitsValidAnalyzer.h:102
MuonSimHitsValidAnalyzer::meGlobalXvsYWm2
MonitorElement * meGlobalXvsYWm2
Definition: MuonSimHitsValidAnalyzer.h:109
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
MuonSimHitsValidAnalyzer::touch4
Int_t touch4
Definition: MuonSimHitsValidAnalyzer.h:79
MuonSimHitsValidAnalyzer::fillDT
void fillDT(const edm::Event &, const edm::EventSetup &)
Definition: MuonSimHitsValidAnalyzer.cc:304
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
MuonSimHitsValidAnalyzer::sector
Int_t sector
Definition: MuonSimHitsValidAnalyzer.h:76
MuonSimHitsValidAnalyzer::mom4
Float_t mom4
Definition: MuonSimHitsValidAnalyzer.h:82
MuonSimHitsValidAnalyzer::mePathMuon
MonitorElement * mePathMuon
Definition: MuonSimHitsValidAnalyzer.h:120
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MuonSimHitsValidAnalyzer::getAllProvenances
bool getAllProvenances
Definition: MuonSimHitsValidAnalyzer.h:69
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
MuonSimHitsValidAnalyzer::touch1
Int_t touch1
Definition: MuonSimHitsValidAnalyzer.h:79
MuonSimHitsValidAnalyzer::meLocalXvsZ
MonitorElement * meLocalXvsZ
Definition: MuonSimHitsValidAnalyzer.h:100
dMuon
static const int dMuon
Definition: GlobalDigisAnalyzer.h:260
MuonSimHitsValidAnalyzer::meGlobalPhi
MonitorElement * meGlobalPhi
Definition: MuonSimHitsValidAnalyzer.h:125
edm::InputTag
Definition: InputTag.h:15
MuonSimHitsValidAnalyzer::printProvenanceInfo
bool printProvenanceInfo
Definition: MuonSimHitsValidAnalyzer.h:70
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
sdMuonDT
static const int sdMuonDT
Definition: GlobalDigisAnalyzer.h:261
MuonSimHitsValidAnalyzer::meGlobalXvsYWp2
MonitorElement * meGlobalXvsYWp2
Definition: MuonSimHitsValidAnalyzer.h:113
subdetector
TString subdetector
Definition: trackSplitPlot.h:54