124 unsigned int numAllTracks = 0;
125 unsigned int numHQTracks = 0;
132 unsigned int tkCnt = 0;
133 for (
const auto &iterTTTrack : *TTTrackHandle) {
136 unsigned int nStubs = tempTrackPtr->getStubRefs().size();
137 int nBarrelStubs = 0;
140 float track_eta = tempTrackPtr->momentum().eta();
141 float track_d0 = tempTrackPtr->d0();
142 float track_bendchi2 = tempTrackPtr->stubPtConsistency();
143 float track_chi2 = tempTrackPtr->chi2();
144 float track_chi2dof = tempTrackPtr->chi2Red();
145 float track_chi2rz = tempTrackPtr->chi2Z();
146 float track_chi2rphi = tempTrackPtr->chi2XY();
147 float track_MVA1 = tempTrackPtr->trkMVA1();
148 int nLayersMissed = 0;
149 unsigned int hitPattern_ = (
unsigned int)tempTrackPtr->hitPattern();
151 int nbits = floor(log2(hitPattern_)) + 1;
154 for (
int i = 0;
i < nbits;
i++) {
155 lay_i = ((1 <<
i) & hitPattern_) >>
i;
163 theStubs = iterTTTrack.getStubRefs();
164 for (
const auto &istub : theStubs) {
165 bool inBarrel =
false;
395 HistoName =
"Track_All_Chi2_Probability";
398 psTrack_Chi2_Probability.
getParameter<int32_t>(
"Nbinsx"),
617 psTrack_Chi2_Probability.
getParameter<int32_t>(
"Nbinsx"),
MonitorElement * Track_All_N
Low-quality TTTracks (All tracks)
T getParameter(std::string const &) const
MonitorElement * Track_All_NStubs
MonitorElement * Track_All_Eta_NStubs
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * Track_All_Chi2Red_NStubs
MonitorElement * Track_All_Chi2Red_Eta
MonitorElement * Track_All_Phi
MonitorElement * Track_HQ_Eta_BarrelStubs
MonitorElement * Track_All_Chi2
MonitorElement * Track_HQ_Chi2_Probability
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Track_HQ_Phi
MonitorElement * Track_HQ_Chi2RZ
MonitorElement * Track_HQ_NStubs
edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > ttTrackToken_
MonitorElement * Track_All_Chi2Red
MonitorElement * Track_HQ_N
High-quality TTTracks; different depending on prompt vs displaced tracks.
~OuterTrackerMonitorTTTrack() override
MonitorElement * Track_HQ_Chi2Red_Eta
MonitorElement * Track_All_D0
std::string topFolderName_
float ChiSquaredProbability(double chiSquared, double nrDOF)
MonitorElement * Track_HQ_MVA1
#define DEFINE_FWK_MODULE(type)
MonitorElement * Track_HQ_Chi2RPhi
static constexpr auto TOB
Class to store the L1 Track Trigger stubs.
MonitorElement * Track_All_BendChi2
MonitorElement * Track_All_Chi2_Probability
MonitorElement * Track_HQ_NLayersMissed
OuterTrackerMonitorTTTrack(const edm::ParameterSet &)
MonitorElement * Track_All_Eta_BarrelStubs
MonitorElement * Track_All_Eta_ECStubs
MonitorElement * Track_All_NLayersMissed
MonitorElement * Track_All_Chi2RZ
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * Track_All_VtxZ
MonitorElement * Track_All_MVA1
MonitorElement * Track_HQ_Chi2
MonitorElement * Track_HQ_Eta_ECStubs
MonitorElement * Track_All_Pt
MonitorElement * Track_HQ_Eta_NStubs
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * Track_All_Chi2RPhi
MonitorElement * Track_HQ_Pt
MonitorElement * Track_HQ_BendChi2
MonitorElement * Track_HQ_VtxZ
MonitorElement * Track_HQ_Eta
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
static constexpr auto TID
MonitorElement * Track_All_Eta
MonitorElement * Track_HQ_Chi2Red_NStubs
MonitorElement * Track_HQ_Chi2Red
MonitorElement * Track_HQ_D0
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)