CMS 3D CMS Logo

CosmicRateAnalyzer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: CosmicTrackTool/CosmicRateAnalyzer
4 // Class: CosmicRateAnalyzer
5 //
17 // Originally created: Justyna Magdalena Tomaszewska,,,
18 // Revisited by: Ashutosh Bhardwaj and Kirti Ranjan
19 // Further Developed by: Sumit Keshri (sumit.keshri@cern.ch)
20 //
21 // Created: Sat, 30 May 2015 20:14:35 GMT
22 //
23 
24 // system include files
25 #include <memory>
26 
27 // user include files
38 
42 
46 
51 
53 
57 
65 
66 #include <vector>
67 #include <string>
68 #include <iostream>
69 #include <fstream>
70 #include <iomanip>
71 #include <TTree.h>
72 
73 //
74 // class declaration
75 //
76 class CosmicRateAnalyzer : public edm::one::EDAnalyzer<edm::one::WatchRuns, edm::one::SharedResources> {
77 public:
78  explicit CosmicRateAnalyzer(const edm::ParameterSet&);
79  ~CosmicRateAnalyzer() override;
80 
81  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
82 
83 private:
84  void beginJob() override;
85  void analyze(const edm::Event&, const edm::EventSetup&) override;
86  void endJob() override;
87 
88  void beginRun(edm::Run const&, edm::EventSetup const&) override;
89  void endRun(edm::Run const&, edm::EventSetup const&) override;
90 
91  static double stampToReal(edm::Timestamp time) { return time.unixTime() + time.microsecondOffset() * 1e-6; }
92  void ClearInEventLoop();
93  void ClearInEndRun();
94  // ----------member data ---------------------------
99  double lastruntime;
101 
102  unsigned int DetectorID;
103  TTree* treeEvent;
104  TTree* treeRun;
105  TTree* treeCluster;
106 
107  int events;
119 
120  std::vector<int> v_ntrk;
121  int ntrk;
123 
138  double run_time;
139  std::vector<double> pt;
140  std::vector<double> charge;
141  std::vector<double> chi2;
142  std::vector<double> chi2_ndof;
143  std::vector<double> eta;
144  std::vector<double> theta;
145  std::vector<double> phi;
146  std::vector<double> p;
147  std::vector<double> d0;
148  std::vector<double> dz;
149  std::vector<double> nvh;
150  std::vector<double> DTtime;
151 };
152 
153 //
154 // constants, enums and typedefs
155 //
156 
157 //
158 // static data member definitions
159 //
160 
161 //
162 // constructors and destructor
163 //
165  : trackTags_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("tracksInputTag"))),
166  clustercollectionToken_(
167  consumes<edmNew::DetSetVector<SiStripCluster> >(iConfig.getParameter<edm::InputTag>("tracksInputTag"))),
168  muonTags_(consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("muonsInputTag"))) {
169  //now do what ever initialization is needed
170  //
171  usesResource(TFileService::kSharedResource);
172  treeEvent = fs->make<TTree>("Event", "");
173  treeRun = fs->make<TTree>("Run", "");
174  treeCluster = fs->make<TTree>("Cluster", "");
175 }
176 
178  // do anything here that needs to be done at desctruction time
179  // (e.g. close files, deallocate resources etc.)
180 }
181 
182 //
183 // member functions
184 //
186  pt.clear();
187  charge.clear();
188  chi2.clear();
189  chi2_ndof.clear();
190  eta.clear();
191  theta.clear();
192  phi.clear();
193  p.clear();
194  d0.clear();
195  dz.clear();
196  nvh.clear();
197  DTtime.clear();
198 }
199 
200 // ------------ method called for each event ------------
202  using namespace edm;
203 
204  using reco::TrackCollection;
206  iEvent.getByToken(trackTags_, tracks);
207 
210 
212  iSetup.get<TrackerTopologyRcd>().get(tTopo);
213 
214  edm::Timestamp ts_begin = iEvent.getRun().beginTime();
215  double t_begin = stampToReal(ts_begin);
216  edm::Timestamp ts_end = iEvent.getRun().endTime();
217  double t_end = stampToReal(ts_end);
218 
219  lastruntime = t_end - t_begin;
220  lastrunnum = iEvent.getRun().run();
221 
223  iSetup.get<SiStripLatencyRcd>().get(apvlat);
224 
225  if (!tracks->empty())
226  v_ntrk.push_back(tracks->size());
227 
228  ntrk = 0;
229  for (TrackCollection::const_iterator itTrack1 = tracks->begin(); itTrack1 != tracks->end(); ++itTrack1) {
230  pt.push_back(itTrack1->pt());
231  charge.push_back(itTrack1->charge());
232  chi2.push_back(itTrack1->chi2());
233  chi2_ndof.push_back(itTrack1->normalizedChi2());
234  eta.push_back(itTrack1->eta());
235  theta.push_back(itTrack1->theta());
236  phi.push_back(itTrack1->phi());
237  p.push_back(itTrack1->p());
238  d0.push_back(itTrack1->d0());
239  dz.push_back(itTrack1->dz());
240  nvh.push_back(itTrack1->numberOfValidHits());
241 
242  int nhitinBPIX = 0;
243  int nhitinFPIX = 0;
244  int nhitinPIXEL = 0;
245  int nhitinTEC = 0;
246  int nhitinTOB = 0;
247  int nhitinTIB = 0;
248  int nhitinTID = 0;
249  int nhitinTECminus = 0;
250  int nhitinTECplus = 0;
251  int nhitinTIDminus = 0;
252  int nhitinTIDplus = 0;
253  int countHit = 0;
254 
255  for (auto const& hit1 : itTrack1->recHits()) {
256  const DetId detId1(hit1->geographicalId());
257  const int subdetId1 = detId1.subdetId();
258  if (!hit1->isValid())
259  continue; // only real hits count as in itTrack1->numberOfValidHits()
260 
262  // Hit information in PixelBarrel //
264  if (PixelSubdetector::PixelBarrel == subdetId1) {
265  ++nhitinBPIX;
266  ++nhitinPIXEL;
267  PixelBarrelName pxbId1(detId1);
268  }
270  // Hit information in PixelEndcap //
272  else if (PixelSubdetector::PixelEndcap == subdetId1) {
273  ++nhitinFPIX;
274  ++nhitinPIXEL;
275  }
277  // Hit information in TEC //
279  else if (SiStripDetId::TEC == subdetId1) {
280  ++nhitinTEC;
281 
282  if (tTopo->tecIsZMinusSide(detId1)) {
283  ++nhitinTECminus;
284  } else {
285  ++nhitinTECplus;
286  }
287  }
289  // Hit information in TOB //
291  else if (SiStripDetId::TOB == subdetId1) {
292  ++nhitinTOB;
293  }
295  // Hit information in TIB //
297  else if (SiStripDetId::TIB == subdetId1) {
298  ++nhitinTIB;
299  }
301  // Hit information in TID //
303  else if (SiStripDetId::TID == subdetId1) {
304  ++nhitinTID;
305 
306  if (tTopo->tidIsZMinusSide(detId1)) {
307  ++nhitinTIDminus;
308  } else {
309  ++nhitinTIDplus;
310  }
311  }
312 
313  countHit++;
314  } // for Loop over Hits
315 
316  if (nhitinBPIX > 0) {
317  track_BPIX++;
318  }
319  if (nhitinFPIX > 0) {
320  track_FPIX++;
321  }
322  if (nhitinPIXEL > 0) {
323  track_PIXEL++;
324  }
325  if (nhitinTEC > 0) {
326  track_TEC++;
327  }
328  if (nhitinTECminus > 0) {
329  track_TECM++;
330  }
331  if (nhitinTECplus > 0) {
332  track_TECP++;
333  }
334  if (nhitinTOB > 0) {
335  track_TOB++;
336  }
337  if (nhitinTIB > 0) {
338  track_TIB++;
339  }
340  if (nhitinTID > 0) {
341  track_TID++;
342  }
343  if (nhitinTIDminus > 0) {
344  track_TIDM++;
345  }
346  if (nhitinTIDplus > 0) {
347  track_TIDP++;
348  }
349 
350  ntrk++;
351  ntrk_runnum++;
352  } // for Loop over TrackCollection
353  events++;
354 
356  iEvent.getByToken(clustercollectionToken_, cluster);
357 
358  for (edmNew::DetSetVector<SiStripCluster>::const_iterator det = cluster->begin(); det != cluster->end(); ++det) {
359  DetectorID = (det->detId());
360  treeCluster->Fill();
361  }
362 
364  iEvent.getByToken(muonTags_, muH);
365  const reco::MuonCollection& muonsT0 = *(muH.product());
366  float time = -9999.;
367  for (unsigned int i = 0; i < muonsT0.size(); i++) {
368  //DT time
369  reco::MuonTime mt0 = muonsT0[i].time();
370  time = mt0.timeAtIpInOut;
371  DTtime.push_back(time);
372  }
373  treeEvent->Fill();
375 
376 } //Event Loop
377 
378 // ------------ method called once each job just before starting event loop ------------
380  treeEvent->Branch("pt", &pt);
381  treeEvent->Branch("charge", &charge);
382  treeEvent->Branch("chi2", &chi2);
383  treeEvent->Branch("chi2_ndof", &chi2_ndof);
384  treeEvent->Branch("eta", &eta);
385  treeEvent->Branch("theta", &theta);
386  treeEvent->Branch("phi", &phi);
387  treeEvent->Branch("p", &p);
388  treeEvent->Branch("d0", &d0);
389  treeEvent->Branch("dz", &dz);
390  treeEvent->Branch("nvh", &nvh);
391  treeEvent->Branch("ntrk", &ntrk);
392  treeEvent->Branch("DTtime", &DTtime);
393  treeRun->Branch("run_time", &run_time);
394  treeRun->Branch("runnum", &runnum);
395  treeRun->Branch("number_of_events", &number_of_events);
396  treeRun->Branch("number_of_tracks", &number_of_tracks);
397  treeRun->Branch("number_of_tracks_PIX", &number_of_tracks_PIX);
398  treeRun->Branch("number_of_tracks_FPIX", &number_of_tracks_FPIX);
399  treeRun->Branch("number_of_tracks_BPIX", &number_of_tracks_BPIX);
400  treeRun->Branch("number_of_tracks_TID", &number_of_tracks_TID);
401  treeRun->Branch("number_of_tracks_TIDM", &number_of_tracks_TIDM);
402  treeRun->Branch("number_of_tracks_TIDP", &number_of_tracks_TIDP);
403  treeRun->Branch("number_of_tracks_TIB", &number_of_tracks_TIB);
404  treeRun->Branch("number_of_tracks_TEC", &number_of_tracks_TEC);
405  treeRun->Branch("number_of_tracks_TECP", &number_of_tracks_TECP);
406  treeRun->Branch("number_of_tracks_TECM", &number_of_tracks_TECM);
407  treeRun->Branch("number_of_tracks_TOB", &number_of_tracks_TOB);
408  treeCluster->Branch("DetID", &DetectorID);
409 }
410 
411 // ------------ method called once each job just after ending the event loop ------------
413 
414 // ------------ method called when starting to processes a run ------------
416  lastruntime = 0.0;
417  lastrunnum = 0.0;
418  ntrk_runnum = 0.0;
419  events = 0.0;
420  track_BPIX = 0.0;
421  track_FPIX = 0.0;
422  track_PIXEL = 0.0;
423  track_TEC = 0.0;
424  track_TECM = 0.0;
425  track_TECP = 0.0;
426  track_TOB = 0.0;
427  track_TIB = 0.0;
428  track_TID = 0.0;
429  track_TIDM = 0.0;
430  track_TIDP = 0.0;
431 }
432 
433 // ------------ method called when ending the processing of a run ------------
434 
438  runnum = lastrunnum;
451  treeRun->Fill();
452 }
453 
454 // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
457  desc.setComment("Create tuple with all variables required to calculate cosmic event and track rates.");
458  desc.add<edm::InputTag>("tracksInputTag", edm::InputTag("ALCARECOTkAlCosmicsCTF0T"));
459  desc.add<edm::InputTag>("muonsInputTag", edm::InputTag("muons1Leg"));
460  descriptions.add("cosmicRateAnalyzer", desc);
461 }
462 
463 //define this as a plug-in
CosmicRateAnalyzer::fs
edm::Service< TFileService > fs
Definition: CosmicRateAnalyzer.cc:100
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
TrackerTopology::tidIsZMinusSide
bool tidIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:259
Handle.h
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
CosmicRateAnalyzer::number_of_tracks_FPIX
int number_of_tracks_FPIX
Definition: CosmicRateAnalyzer.cc:126
EDAnalyzer.h
mps_fire.i
i
Definition: mps_fire.py:355
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
PixelSubdetector.h
PixelBarrelName.h
Muon.h
MessageLogger.h
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
edm::Handle::product
T const * product() const
Definition: Handle.h:70
CosmicRateAnalyzer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: CosmicRateAnalyzer.cc:415
CosmicRateAnalyzer::events
int events
Definition: CosmicRateAnalyzer.cc:107
ESHandle.h
TrackerTopology::tecIsZMinusSide
bool tecIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:262
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::TrackCollection >
CosmicRateAnalyzer::number_of_tracks_TECP
int number_of_tracks_TECP
Definition: CosmicRateAnalyzer.cc:129
edm
HLT enums.
Definition: AlignableModifier.h:19
Muon.h
CosmicRateAnalyzer::DTtime
std::vector< double > DTtime
Definition: CosmicRateAnalyzer.cc:150
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PixelBarrelName
Definition: PixelBarrelName.h:16
CosmicRateAnalyzer::ntrk
int ntrk
Definition: CosmicRateAnalyzer.cc:121
edmNew::DetSetVector::const_iterator
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
Definition: DetSetVectorNew.h:231
CosmicRateAnalyzer::nvh
std::vector< double > nvh
Definition: CosmicRateAnalyzer.cc:149
CosmicRateAnalyzer::track_TIDP
int track_TIDP
Definition: CosmicRateAnalyzer.cc:118
CosmicRateAnalyzer::number_of_tracks_TIDP
int number_of_tracks_TIDP
Definition: CosmicRateAnalyzer.cc:134
CosmicRateAnalyzer::track_PIXEL
int track_PIXEL
Definition: CosmicRateAnalyzer.cc:110
CosmicRateAnalyzer::treeCluster
TTree * treeCluster
Definition: CosmicRateAnalyzer.cc:105
SiStripDetId.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
CosmicRateAnalyzer::clustercollectionToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustercollectionToken_
Definition: CosmicRateAnalyzer.cc:96
CosmicRateAnalyzer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: CosmicRateAnalyzer.cc:455
edm::Handle< reco::TrackCollection >
CosmicRateAnalyzer
Definition: CosmicRateAnalyzer.cc:76
edmNew
Definition: DetSet2RangeMap.h:11
CosmicRateAnalyzer::phi
std::vector< double > phi
Definition: CosmicRateAnalyzer.cc:145
reco::MuonTime
Definition: MuonTime.h:5
CosmicRateAnalyzer::v_ntrk
std::vector< int > v_ntrk
Definition: CosmicRateAnalyzer.cc:120
CosmicRateAnalyzer::track_BPIX
int track_BPIX
Definition: CosmicRateAnalyzer.cc:108
CosmicRateAnalyzer::treeRun
TTree * treeRun
Definition: CosmicRateAnalyzer.cc:104
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
CosmicRateAnalyzer::number_of_tracks_TECM
int number_of_tracks_TECM
Definition: CosmicRateAnalyzer.cc:130
CosmicRateAnalyzer::track_TOB
int track_TOB
Definition: CosmicRateAnalyzer.cc:114
DetId
Definition: DetId.h:17
CosmicRateAnalyzer::p
std::vector< double > p
Definition: CosmicRateAnalyzer.cc:146
CosmicRateAnalyzer::number_of_tracks_BPIX
int number_of_tracks_BPIX
Definition: CosmicRateAnalyzer.cc:127
MakerMacros.h
TrackerTopology.h
TrackingRecHit.h
Track.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
TrackFwd.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
CosmicRateAnalyzer::eta
std::vector< double > eta
Definition: CosmicRateAnalyzer.cc:143
Service.h
MuonFwd.h
reco::MuonCollection
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
CosmicRateAnalyzer::run_time
double run_time
Definition: CosmicRateAnalyzer.cc:138
Run.h
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
CosmicRateAnalyzer::number_of_tracks_TID
int number_of_tracks_TID
Definition: CosmicRateAnalyzer.cc:133
CosmicRateAnalyzer::number_of_tracks_TEC
int number_of_tracks_TEC
Definition: CosmicRateAnalyzer.cc:128
SiStripDetId::TEC
static constexpr auto TEC
Definition: SiStripDetId.h:40
CosmicRateAnalyzer::lastrunnum
edm::RunNumber_t lastrunnum
Definition: CosmicRateAnalyzer.cc:98
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
CosmicRateAnalyzer::number_of_tracks_TIB
int number_of_tracks_TIB
Definition: CosmicRateAnalyzer.cc:132
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
CosmicRateAnalyzer::track_TEC
int track_TEC
Definition: CosmicRateAnalyzer.cc:111
CosmicRateAnalyzer::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: CosmicRateAnalyzer.cc:435
TFileService.h
CosmicRateAnalyzer::chi2_ndof
std::vector< double > chi2_ndof
Definition: CosmicRateAnalyzer.cc:142
CosmicRateAnalyzer::beginJob
void beginJob() override
Definition: CosmicRateAnalyzer.cc:379
CosmicRateAnalyzer::lastruntime
double lastruntime
Definition: CosmicRateAnalyzer.cc:99
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
edm::ParameterSetDescription::setComment
void setComment(std::string const &value)
Definition: ParameterSetDescription.cc:33
SiStripCondDataRecords.h
SiStripCluster.h
Timestamp.h
CosmicRateAnalyzer::track_TIDM
int track_TIDM
Definition: CosmicRateAnalyzer.cc:117
Event.h
CosmicRateAnalyzer::ClearInEventLoop
void ClearInEventLoop()
Definition: CosmicRateAnalyzer.cc:185
CosmicRateAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CosmicRateAnalyzer.cc:201
CosmicRateAnalyzer::track_TIB
int track_TIB
Definition: CosmicRateAnalyzer.cc:115
CosmicRateAnalyzer::track_TECM
int track_TECM
Definition: CosmicRateAnalyzer.cc:112
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
CosmicRateAnalyzer::CosmicRateAnalyzer
CosmicRateAnalyzer(const edm::ParameterSet &)
Definition: CosmicRateAnalyzer.cc:164
CosmicRateAnalyzer::track_TECP
int track_TECP
Definition: CosmicRateAnalyzer.cc:113
CosmicRateAnalyzer::stampToReal
static double stampToReal(edm::Timestamp time)
Definition: CosmicRateAnalyzer.cc:91
CosmicRateAnalyzer::number_of_tracks_TIDM
int number_of_tracks_TIDM
Definition: CosmicRateAnalyzer.cc:135
CosmicRateAnalyzer::~CosmicRateAnalyzer
~CosmicRateAnalyzer() override
Definition: CosmicRateAnalyzer.cc:177
SiStripDetId::TOB
static constexpr auto TOB
Definition: SiStripDetId.h:39
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:57
CosmicRateAnalyzer::number_of_events
int number_of_events
Definition: CosmicRateAnalyzer.cc:136
DetSetVector.h
CosmicRateAnalyzer::ntrk_runnum
int ntrk_runnum
Definition: CosmicRateAnalyzer.cc:122
get
#define get
CosmicRateAnalyzer::ClearInEndRun
void ClearInEndRun()
CosmicRateAnalyzer::number_of_tracks_TOB
int number_of_tracks_TOB
Definition: CosmicRateAnalyzer.cc:131
SiStripDetId::TID
static constexpr auto TID
Definition: SiStripDetId.h:38
CosmicRateAnalyzer::DetectorID
unsigned int DetectorID
Definition: CosmicRateAnalyzer.cc:102
CosmicRateAnalyzer::theta
std::vector< double > theta
Definition: CosmicRateAnalyzer.cc:144
DetId.h
Frameworkfwd.h
CosmicRateAnalyzer::dz
std::vector< double > dz
Definition: CosmicRateAnalyzer.cc:148
CosmicRateAnalyzer::number_of_tracks
int number_of_tracks
Definition: CosmicRateAnalyzer.cc:124
CosmicRateAnalyzer::muonTags_
edm::EDGetTokenT< reco::MuonCollection > muonTags_
Definition: CosmicRateAnalyzer.cc:97
CosmicRateAnalyzer::trackTags_
edm::EDGetTokenT< reco::TrackCollection > trackTags_
Definition: CosmicRateAnalyzer.cc:95
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
SiStripDetId::TIB
static constexpr auto TIB
Definition: SiStripDetId.h:37
CosmicRateAnalyzer::d0
std::vector< double > d0
Definition: CosmicRateAnalyzer.cc:147
SiStripLatencyRcd
Definition: SiStripCondDataRecords.h:36
CosmicRateAnalyzer::track_FPIX
int track_FPIX
Definition: CosmicRateAnalyzer.cc:109
CosmicRateAnalyzer::pt
std::vector< double > pt
Definition: CosmicRateAnalyzer.cc:139
CosmicRateAnalyzer::chi2
std::vector< double > chi2
Definition: CosmicRateAnalyzer.cc:141
SiStripLatency.h
CosmicRateAnalyzer::endJob
void endJob() override
Definition: CosmicRateAnalyzer.cc:412
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
ParameterSet.h
reco::MuonTime::timeAtIpInOut
float timeAtIpInOut
Definition: MuonTime.h:13
CosmicRateAnalyzer::number_of_tracks_PIX
int number_of_tracks_PIX
Definition: CosmicRateAnalyzer.cc:125
ntuplemaker.time
time
Definition: ntuplemaker.py:310
edm::Event
Definition: Event.h:73
SiStripCluster
Definition: SiStripCluster.h:9
volumeBasedMagneticField_160812_cfi.magfield
magfield
Definition: volumeBasedMagneticField_160812_cfi.py:11
CosmicRateAnalyzer::charge
std::vector< double > charge
Definition: CosmicRateAnalyzer.cc:140
DetSetVectorNew.h
edm::InputTag
Definition: InputTag.h:15
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
CosmicRateAnalyzer::treeEvent
TTree * treeEvent
Definition: CosmicRateAnalyzer.cc:103
CosmicRateAnalyzer::runnum
edm::RunNumber_t runnum
Definition: CosmicRateAnalyzer.cc:137
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
CosmicRateAnalyzer::track_TID
int track_TID
Definition: CosmicRateAnalyzer.cc:116
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
PixelEndcapName.h
edm::Timestamp
Definition: Timestamp.h:30