124 if (!Phase2TrackerDigiTTClusterHandle.
isValid())
127 for (inputIter = Phase2TrackerDigiTTClusterHandle->begin(); inputIter != Phase2TrackerDigiTTClusterHandle->end();
129 for (contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter) {
135 unsigned int memberClu = tempCluRef->getStackMember();
136 unsigned int widClu = tempCluRef->findWidth();
142 double r = posClu.
perp();
143 double z = posClu.
z();
163 if (memberClu == 0) {
171 if (posClu.
z() > 0) {
196 const int numDiscs = 5;
221 HistoName =
"NClusters_IMem_Endcap_Disc";
230 HistoName =
"NClusters_OMem_Endcap_Disc";
240 HistoName =
"NClusters_IMem_Endcap_Ring";
249 HistoName =
"NClusters_OMem_Endcap_Ring";
258 for (
int i = 0;
i < numDiscs;
i++) {
269 for (
int i = 0;
i < numDiscs;
i++) {
280 for (
int i = 0;
i < numDiscs;
i++) {
291 for (
int i = 0;
i < numDiscs;
i++) {
371 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
374 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
384 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
387 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
413 psd0.
add<
int>(
"Nbinsx", 7);
414 psd0.
add<
double>(
"xmax", 7.5);
415 psd0.
add<
double>(
"xmin", 0.5);
420 psd0.
add<
int>(
"Nbinsx", 6);
421 psd0.
add<
double>(
"xmax", 6.5);
422 psd0.
add<
double>(
"xmin", 0.5);
427 psd0.
add<
int>(
"Nbinsx", 16);
428 psd0.
add<
double>(
"xmin", 0.5);
429 psd0.
add<
double>(
"xmax", 16.5);
434 psd0.
add<
int>(
"Nbinsx", 45);
435 psd0.
add<
double>(
"xmax", 5.0);
436 psd0.
add<
double>(
"xmin", -5.0);
441 psd0.
add<
int>(
"Nbinsx", 60);
442 psd0.
add<
double>(
"xmax", 3.5);
443 psd0.
add<
double>(
"xmin", -3.5);
448 psd0.
add<
int>(
"Nbinsx", 45);
449 psd0.
add<
double>(
"xmax", 120);
450 psd0.
add<
double>(
"xmin", 0);
455 psd0.
add<
int>(
"Nbinsx", 7);
456 psd0.
add<
double>(
"xmax", 6.5);
457 psd0.
add<
double>(
"xmin", -0.5);
458 psd0.
add<
int>(
"Nbinsy", 2);
459 psd0.
add<
double>(
"ymax", 1.5);
460 psd0.
add<
double>(
"ymin", -0.5);
465 psd0.
add<
int>(
"Nbinsx", 960);
466 psd0.
add<
double>(
"xmax", 120);
467 psd0.
add<
double>(
"xmin", -120);
468 psd0.
add<
int>(
"Nbinsy", 960);
469 psd0.
add<
double>(
"ymax", 120);
470 psd0.
add<
double>(
"ymin", -120);
475 psd0.
add<
int>(
"Nbinsx", 900);
476 psd0.
add<
double>(
"xmax", 300);
477 psd0.
add<
double>(
"xmin", -300);
478 psd0.
add<
int>(
"Nbinsy", 900);
479 psd0.
add<
double>(
"ymax", 120);
480 psd0.
add<
double>(
"ymin", 0);
485 descriptions.
add(
"Phase2OTMonitorTTCluster",
desc);
MonitorElement * Cluster_Endcap_Bw_XY
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 * Cluster_Endcap_Fw_XY
MonitorElement * Cluster_OMem_Endcap_Ring_Fw[5]
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)
virtual const Topology & topology() const
MonitorElement * Cluster_OMem_Endcap_Ring_Bw[5]
Geom::Phi< T > phi() const
MonitorElement * Cluster_OMem_Endcap_Disc
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * Cluster_Eta
const TrackerTopology * tTopo_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Cluster_Phi
Phase2OTMonitorTTCluster(const edm::ParameterSet &)
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
static std::string to_string(const XMLCh *ch)
unsigned int layer(const DetId &id) const
const_iterator end(bool update=false) const
std::string topFolderName_
MonitorElement * Cluster_RZ
MonitorElement * Cluster_IMem_Endcap_Ring
#define DEFINE_FWK_MODULE(type)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * Cluster_IMem_Endcap_Disc
static constexpr auto TOB
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const TrackerGeomDet * idToDet(DetId) const override
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
MonitorElement * Cluster_IMem_Endcap_Ring_Bw[5]
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
const_iterator begin(bool update=false) const
const Plane & surface() const
The nominal surface of the GeomDet.
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ > > > tagTTClustersToken_
NOTE: this is needed even if it seems not.
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * Cluster_IMem_Barrel
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * Cluster_W
MonitorElement * Cluster_R
unsigned int tidRing(const DetId &id) const
MonitorElement * Cluster_Barrel_XY
MonitorElement * Cluster_OMem_Barrel
~Phase2OTMonitorTTCluster() override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
const TrackerGeometry * tkGeom_
static constexpr auto TID
MonitorElement * Cluster_IMem_Endcap_Ring_Fw[5]
MonitorElement * Cluster_OMem_Endcap_Ring
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)