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;
382 for (
int i = 0;
i < numDiscs;
i++) {
394 for (
int i = 0;
i < numDiscs;
i++) {
427 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
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"));
439 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
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++) {
452 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
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++) {
466 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
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"));
492 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
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"));
504 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
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++) {
517 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
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++) {
531 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
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_
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)
T getParameter(std::string const &) const
MonitorElement * Stub_Endcap_Bw_XY
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)
std::string topFolderName_
virtual const Topology & topology() const
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
MonitorElement * Stub_Barrel_XY
~OuterTrackerMonitorTTStub() override
unsigned int layer(const DetId &id) const
const_iterator end(bool update=false) const
MonitorElement * Stub_bendFE
void analyze(const edm::Event &, const edm::EventSetup &) override
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
MonitorElement * Stub_Endcap_Disc_Bw
#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
Class to store the L1 Track Trigger stubs.
const TrackerGeomDet * idToDet(DetId) const override
MonitorElement * Stub_Endcap_Ring
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
MonitorElement * Stub_Endcap_Ring_O
const_iterator begin(bool update=false) const
const Plane & surface() const
The nominal surface of the GeomDet.
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())
MonitorElement * Stub_Endcap_Disc_O
MonitorElement * Stub_Endcap_Disc_W
MonitorElement * Stub_Barrel
MonitorElement * Stub_Endcap_Ring_Fw[5]
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
MonitorElement * Stub_Phi
unsigned int tidRing(const DetId &id) const
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
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)