61 unsigned int numHQTracks = 0;
62 unsigned int numLQTracks = 0;
69 unsigned int tkCnt = 0;
70 for (
auto iterTTTrack : *TTTrackHandle) {
73 unsigned int nStubs = tempTrackPtr->getStubRefs().size();
77 double track_d0 = tempTrackPtr->d0();
79 double trackChi2R = tempTrackPtr->chi2Red();
85 theStubs = iterTTTrack.getStubRefs();
86 for (
auto istub : theStubs) {
93 DetId detId(istub->getDetId());
165 HistoName =
"Track_NStubs";
175 HistoName =
"Track_Eta_NStubs";
190 HistoName =
"Track_LQ_N";
197 Track_LQ_N->setAxisTitle(
"# L1 Tracks", 1);
198 Track_LQ_N->setAxisTitle(
"# Events", 2);
202 HistoName =
"Track_LQ_Pt";
213 HistoName =
"Track_LQ_Phi";
224 HistoName =
"Track_LQ_D0";
235 HistoName =
"Track_LQ_Eta";
246 HistoName =
"Track_LQ_VtxZ";
257 HistoName =
"Track_LQ_Chi2";
268 HistoName =
"Track_LQ_Chi2Red";
279 HistoName =
"Track_LQ_Chi2_Probability";
282 psTrack_Chi2_Probability.
getParameter<int32_t>(
"Nbinsx"),
290 HistoName =
"Track_LQ_Chi2Red_NStubs";
304 HistoName =
"Track_LQ_Chi2Red_Eta";
317 HistoName =
"Track_LQ_Eta_BarrelStubs";
330 HistoName =
"Track_LQ_Eta_ECStubs";
345 HistoName =
"Track_HQ_N";
355 HistoName =
"Track_HQ_Pt";
365 HistoName =
"Track_HQ_Phi";
375 HistoName =
"Track_HQ_D0";
385 HistoName =
"Track_HQ_Eta";
395 HistoName =
"Track_HQ_VtxZ";
405 HistoName =
"Track_HQ_Chi2";
415 HistoName =
"Track_HQ_Chi2Red";
425 HistoName =
"Track_HQ_Chi2_Probability";
428 psTrack_Chi2_Probability.
getParameter<int32_t>(
"Nbinsx"),
435 HistoName =
"Track_HQ_Chi2Red_NStubs";
448 HistoName =
"Track_HQ_Chi2Red_Eta";
461 HistoName =
"Track_HQ_Eta_BarrelStubs";
474 HistoName =
"Track_HQ_Eta_ECStubs";
MonitorElement * Track_LQ_Eta_BarrelStubs
T getParameter(std::string const &) const
MonitorElement * Track_LQ_Chi2Red_NStubs
MonitorElement * Track_LQ_Pt
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * Track_LQ_VtxZ
MonitorElement * Track_HQ_Eta_BarrelStubs
MonitorElement * Track_LQ_Chi2Red
MonitorElement * Track_LQ_Chi2Red_Eta
MonitorElement * Track_Eta_NStubs
MonitorElement * Track_HQ_Chi2_Probability
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Track_LQ_Eta
MonitorElement * Track_HQ_Phi
MonitorElement * Track_LQ_Chi2_Probability
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > ttTrackToken_
void setCurrentFolder(std::string const &fullpath)
MonitorElement * Track_HQ_N
High-quality TTTracks (NStubs >=5, chi2/dof<10)
~OuterTrackerMonitorTTTrack() override
MonitorElement * Track_HQ_Chi2Red_Eta
MonitorElement * book1D(Args &&...args)
std::string topFolderName_
MonitorElement * Track_LQ_Eta_ECStubs
float ChiSquaredProbability(double chiSquared, double nrDOF)
Class to store the L1 Track Trigger stubs.
OuterTrackerMonitorTTTrack(const edm::ParameterSet &)
MonitorElement * Track_LQ_Chi2
MonitorElement * Track_LQ_D0
MonitorElement * Track_LQ_Phi
MonitorElement * book2D(Args &&...args)
MonitorElement * Track_HQ_Chi2
MonitorElement * Track_LQ_N
Low-quality TTTracks (All tracks)
MonitorElement * Track_HQ_Eta_ECStubs
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * Track_HQ_Pt
MonitorElement * Track_HQ_VtxZ
MonitorElement * Track_HQ_Eta
MonitorElement * Track_NStubs
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * Track_HQ_Chi2Red_NStubs
MonitorElement * Track_HQ_Chi2Red
MonitorElement * Track_HQ_D0