90 nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
93 nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
138 if (!Phase2TrackerDigiTTStubHandle.
isValid())
141 for (inputIter = Phase2TrackerDigiTTStubHandle->begin(); inputIter != Phase2TrackerDigiTTStubHandle->end();
143 for (contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter) {
150 DetId detIdStub =
tkGeom_->
idToDet((tempStubRef->clusterRef(0))->getDetId())->geographicalId();
153 double rawBend = tempStubRef->rawBend();
154 double bendOffset = tempStubRef->bendOffset();
157 MeasurementPoint mp = (tempStubRef->clusterRef(0))->findAverageLocalCoordinates();
184 if (posStub.
z() > 0) {
207 const int numDiscs = 5;
211 HistoName =
"Stub_Barrel_XY";
224 HistoName =
"Stub_Endcap_Fw_XY";
237 HistoName =
"Stub_Endcap_Bw_XY";
251 HistoName =
"Stub_RZ";
266 HistoName =
"Stub_Eta";
277 HistoName =
"Stub_Phi";
288 HistoName =
"Stub_R";
299 HistoName =
"Stub_bendFE";
309 HistoName =
"Stub_bendBE";
320 HistoName =
"Stub_isPS";
332 HistoName =
"NStubs_Barrel";
343 HistoName =
"NStubs_Endcap_Disc";
353 HistoName =
"NStubs_Endcap_Disc_Fw";
363 HistoName =
"NStubs_Endcap_Disc_Bw";
373 HistoName =
"NStubs_Endcap_Ring";
382 for (
int i = 0;
i < numDiscs;
i++) {
394 for (
int i = 0;
i < numDiscs;
i++) {
412 HistoName =
"Stub_Width_Barrel";
424 HistoName =
"Stub_Width_Endcap_Disc";
428 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
429 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
430 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
431 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
432 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
436 HistoName =
"Stub_Width_Endcap_Ring";
440 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
441 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
442 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
443 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
444 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
448 for (
int i = 0;
i < numDiscs;
i++) {
453 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
454 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
455 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
456 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
457 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
462 for (
int i = 0;
i < numDiscs;
i++) {
467 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
468 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
469 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
470 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
471 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
477 HistoName =
"Stub_Offset_Barrel";
489 HistoName =
"Stub_Offset_Endcap_Disc";
493 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
494 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
495 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
496 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
497 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
501 HistoName =
"Stub_Offset_Endcap_Ring";
505 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
506 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
507 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
508 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
509 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
513 for (
int i = 0;
i < numDiscs;
i++) {
518 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
519 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
520 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
521 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
522 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
527 for (
int i = 0;
i < numDiscs;
i++) {
532 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
533 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
534 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
535 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
536 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
edm::EDGetTokenT< edmNew::DetSetVector< TTStub< Ref_Phase2TrackerDigi_ > > > tagTTStubsToken_
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
const_iterator end(bool update=false) const
MonitorElement * Stub_Endcap_Bw_XY
unsigned int tidRing(const DetId &id) const
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
virtual void setCurrentFolder(std::string const &fullpath)
std::string topFolderName_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual const Topology & topology() const
#define DEFINE_FWK_MODULE(type)
Geom::Phi< T > phi() const
const TrackerTopology * tTopo_
MonitorElement * Stub_Endcap_Ring_O_Fw[5]
MonitorElement * Stub_Endcap_Fw_XY
std::string to_string(const V &value)
MonitorElement * Stub_bendBE
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Stub_Barrel_O
const Plane & surface() const
The nominal surface of the GeomDet.
MonitorElement * Stub_Barrel_XY
~OuterTrackerMonitorTTStub() override
MonitorElement * Stub_bendFE
void analyze(const edm::Event &, const edm::EventSetup &) override
bool getData(T &iHolder) const
MonitorElement * Stub_Endcap_Ring_Bw[5]
MonitorElement * Stub_Endcap_Disc_Fw
MonitorElement * Stub_Eta
OuterTrackerMonitorTTStub(const edm::ParameterSet &)
MonitorElement * Stub_Endcap_Ring_O_Bw[5]
MonitorElement * Stub_Endcap_Disc
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * Stub_Endcap_Disc_Bw
static constexpr auto TOB
Class to store the L1 Track Trigger stubs.
const TrackerGeomDet * idToDet(DetId) const override
MonitorElement * Stub_Endcap_Ring
MonitorElement * Stub_Endcap_Ring_O
const TrackerGeometry * tkGeom_
MonitorElement * Stub_isPS
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T getParameter(std::string const &) const
MonitorElement * Stub_Endcap_Disc_O
MonitorElement * Stub_Endcap_Disc_W
unsigned int layer(const DetId &id) const
MonitorElement * Stub_Barrel
MonitorElement * Stub_Endcap_Ring_Fw[5]
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
MonitorElement * Stub_Phi
MonitorElement * Stub_Endcap_Ring_W_Bw[5]
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 * Stub_Barrel_W
const_iterator begin(bool update=false) const
MonitorElement * Stub_Endcap_Ring_W
MonitorElement * Stub_Endcap_Ring_W_Fw[5]
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)