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) {
205 const int numDiscs = 5;
380 for (
int i = 0;
i < numDiscs;
i++) {
392 for (
int i = 0;
i < numDiscs;
i++) {
425 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
426 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
427 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
428 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
429 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
430 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
437 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
438 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
439 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
440 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
441 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
442 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
446 for (
int i = 0;
i < numDiscs;
i++) {
450 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
451 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
452 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
453 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
454 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
455 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
460 for (
int i = 0;
i < numDiscs;
i++) {
464 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
465 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
466 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
467 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
468 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
469 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
490 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
491 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
492 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
493 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
494 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
495 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
502 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
503 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
504 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
505 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
506 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
507 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
511 for (
int i = 0;
i < numDiscs;
i++) {
515 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
516 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
517 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
518 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
519 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
520 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
525 for (
int i = 0;
i < numDiscs;
i++) {
529 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
530 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
531 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
532 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
533 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
534 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
544 psd0.
add<
int>(
"Nbinsx", 960);
545 psd0.
add<
double>(
"xmax", 120);
546 psd0.
add<
double>(
"xmin", -120);
547 psd0.
add<
int>(
"Nbinsy", 960);
548 psd0.
add<
double>(
"ymax", 120);
549 psd0.
add<
double>(
"ymin", -120);
554 psd0.
add<
int>(
"Nbinsx", 900);
555 psd0.
add<
double>(
"xmax", 300);
556 psd0.
add<
double>(
"xmin", -300);
557 psd0.
add<
int>(
"Nbinsy", 900);
558 psd0.
add<
double>(
"ymax", 120);
559 psd0.
add<
double>(
"ymin", 0);
564 psd0.
add<
int>(
"Nbinsx", 45);
565 psd0.
add<
double>(
"xmin", -5);
566 psd0.
add<
double>(
"xmax", 5);
571 psd0.
add<
int>(
"Nbinsx", 60);
572 psd0.
add<
double>(
"xmin", -3.5);
573 psd0.
add<
double>(
"xmax", 3.5);
578 psd0.
add<
int>(
"Nbinsx", 45);
579 psd0.
add<
double>(
"xmin", 0);
580 psd0.
add<
double>(
"xmax", 120);
585 psd0.
add<
int>(
"Nbinsx", 69);
586 psd0.
add<
double>(
"xmin", -8.625);
587 psd0.
add<
double>(
"xmax", 8.625);
592 psd0.
add<
int>(
"Nbinsx", 2);
593 psd0.
add<
double>(
"xmin", 0.0);
594 psd0.
add<
double>(
"xmax", 2.0);
599 psd0.
add<
int>(
"Nbinsx", 7);
600 psd0.
add<
double>(
"xmin", 0.5);
601 psd0.
add<
double>(
"xmax", 7.5);
606 psd0.
add<
int>(
"Nbinsx", 6);
607 psd0.
add<
double>(
"xmin", 0.5);
608 psd0.
add<
double>(
"xmax", 6.5);
613 psd0.
add<
int>(
"Nbinsx", 16);
614 psd0.
add<
double>(
"xmin", 0.5);
615 psd0.
add<
double>(
"xmax", 16.5);
620 psd0.
add<
int>(
"Nbinsx", 6);
621 psd0.
add<
double>(
"xmax", 6.5);
622 psd0.
add<
double>(
"xmin", 0.5);
623 psd0.
add<
int>(
"Nbinsy", 43);
624 psd0.
add<
double>(
"ymax", 10.75);
625 psd0.
add<
double>(
"ymin", -10.75);
630 psd0.
add<
int>(
"Nbinsx", 5);
631 psd0.
add<
double>(
"xmax", 5.5);
632 psd0.
add<
double>(
"xmin", 0.5);
633 psd0.
add<
int>(
"Nbinsy", 43);
634 psd0.
add<
double>(
"ymax", 10.75);
635 psd0.
add<
double>(
"ymin", -10.75);
640 psd0.
add<
int>(
"Nbinsx", 16);
641 psd0.
add<
double>(
"xmax", 16.5);
642 psd0.
add<
double>(
"xmin", 0.5);
643 psd0.
add<
int>(
"Nbinsy", 43);
644 psd0.
add<
double>(
"ymax", 10.75);
645 psd0.
add<
double>(
"ymin", -10.75);
650 descriptions.
add(
"Phase2OTMonitorTTStub",
desc);
const TrackerGeometry * tkGeom_
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)
MonitorElement * Stub_Endcap_Disc_W
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
T getParameter(std::string const &) const
MonitorElement * Stub_Endcap_Disc_Fw
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
virtual void setCurrentFolder(std::string const &fullpath)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual const Topology & topology() const
Geom::Phi< T > phi() const
Phase2OTMonitorTTStub(const edm::ParameterSet &)
std::string topFolderName_
MonitorElement * Stub_Endcap_Ring_O
MonitorElement * Stub_Endcap_Ring_O_Bw[5]
MonitorElement * Stub_Endcap_Ring_W_Bw[5]
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
static std::string to_string(const XMLCh *ch)
unsigned int layer(const DetId &id) const
const_iterator end(bool update=false) const
MonitorElement * Stub_Eta
MonitorElement * Stub_Endcap_Ring_Bw[5]
MonitorElement * Stub_isPS
MonitorElement * Stub_Endcap_Disc_O
MonitorElement * Stub_Endcap_Disc
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
MonitorElement * Stub_Endcap_Ring_Fw[5]
#define DEFINE_FWK_MODULE(type)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static constexpr auto TOB
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Class to store the L1 Track Trigger stubs.
const TrackerGeomDet * idToDet(DetId) const override
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const_iterator begin(bool update=false) const
const Plane & surface() const
The nominal surface of the GeomDet.
~Phase2OTMonitorTTStub() override
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * Stub_Barrel_W
MonitorElement * Stub_Endcap_Ring_W
MonitorElement * Stub_Endcap_Fw_XY
void add(std::string const &label, ParameterSetDescription const &psetDescription)
MonitorElement * Stub_bendFE
MonitorElement * Stub_Barrel
MonitorElement * Stub_Barrel_XY
MonitorElement * Stub_Endcap_Bw_XY
MonitorElement * Stub_Barrel_O
edm::EDGetTokenT< edmNew::DetSetVector< TTStub< Ref_Phase2TrackerDigi_ > > > tagTTStubsToken_
unsigned int tidRing(const DetId &id) const
MonitorElement * Stub_Endcap_Ring_W_Fw[5]
const TrackerTopology * tTopo_
MonitorElement * Stub_Endcap_Ring
MonitorElement * Stub_Endcap_Ring_O_Fw[5]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
void analyze(const edm::Event &, const edm::EventSetup &) override
static constexpr auto TID
MonitorElement * Stub_Phi
MonitorElement * Stub_bendBE
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * Stub_Endcap_Disc_Bw