74 theTrackerGeometry = tGeometryHandle.
product();
82 if ( !Phase2TrackerDigiTTClusterHandle.
isValid() )
return;
84 for ( inputIter = Phase2TrackerDigiTTClusterHandle->begin();
85 inputIter != Phase2TrackerDigiTTClusterHandle->end();
88 for(contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter)
93 DetId detIdClu = theTrackerGeometry->
idToDet( tempCluRef->getDetId() )->geographicalId();
94 unsigned int memberClu = tempCluRef->getStackMember();
95 unsigned int widClu = tempCluRef->findWidth();
101 double eta = posClu.
eta();
120 if ( memberClu == 0 )
131 if ( posClu.
z() > 0 )
160 HistoName =
"NClusters_IMem_Barrel";
168 HistoName =
"NClusters_OMem_Barrel";
177 HistoName =
"NClusters_IMem_Endcap_Disc";
185 HistoName =
"NClusters_OMem_Endcap_Disc";
194 HistoName =
"NClusters_IMem_Endcap_Ring";
202 HistoName =
"NClusters_OMem_Endcap_Ring";
210 for (
int i = 0;
i < 5;
i++)
212 HistoName =
"NClusters_IMem_Disc+"+std::to_string(
i+1);
221 for (
int i = 0;
i < 5;
i++)
223 HistoName =
"NClusters_IMem_Disc-"+std::to_string(
i+1);
232 for (
int i = 0;
i < 5;
i++)
234 HistoName =
"NClusters_OMem_Disc+"+std::to_string(
i+1);
243 for (
int i = 0;
i < 5;
i++)
245 HistoName =
"NClusters_OMem_Disc-"+std::to_string(
i+1);
259 HistoName =
"Cluster_W";
272 HistoName =
"Cluster_Eta";
284 HistoName =
"Cluster_Barrel_XY";
296 HistoName =
"Cluster_Barrel_XY_Zoom";
298 psTTCluster_Barrel_XY_Zoom.
getParameter<int32_t>(
"Nbinsx"),
299 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"xmin"),
300 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"xmax"),
301 psTTCluster_Barrel_XY_Zoom.
getParameter<int32_t>(
"Nbinsy"),
302 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"ymin"),
303 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"ymax"));
308 HistoName =
"Cluster_Endcap_Fw_XY";
310 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
313 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
320 HistoName =
"Cluster_Endcap_Bw_XY";
322 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
325 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
333 HistoName =
"Cluster_RZ";
346 HistoName =
"Cluster_Endcap_Fw_RZ_Zoom";
348 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsx"),
349 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"xmin"),
350 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"xmax"),
351 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsy"),
352 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"ymin"),
353 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"ymax"));
359 HistoName =
"Cluster_Endcap_Bw_RZ_Zoom";
361 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsx"),
362 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"xmin"),
363 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"xmax"),
364 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsy"),
365 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"ymin"),
366 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"ymax"));
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
T getParameter(std::string const &) 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)
MonitorElement * Cluster_W
const_iterator end(bool update=false) const
MonitorElement * Cluster_Endcap_Fw_RZ_Zoom
unsigned int tidRing(const DetId &id) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual const Topology & topology() const
MonitorElement * Cluster_IMem_Barrel
MonitorElement * Cluster_OMem_Barrel
#define DEFINE_FWK_MODULE(type)
MonitorElement * Cluster_OMem_Endcap_Ring
MonitorElement * Cluster_Barrel_XY
MonitorElement * Cluster_Endcap_Bw_XY
const Plane & surface() const
The nominal surface of the GeomDet.
std::string topFolderName_
MonitorElement * Cluster_Endcap_Fw_XY
MonitorElement * Cluster_IMem_Endcap_Disc
OuterTrackerMonitorTTCluster(const edm::ParameterSet &)
MonitorElement * Cluster_Barrel_XY_Zoom
MonitorElement * Cluster_Eta
MonitorElement * book1D(Args &&...args)
MonitorElement * Cluster_RZ
MonitorElement * Cluster_Endcap_Bw_RZ_Zoom
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ > > > tagTTClustersToken_
MonitorElement * Cluster_OMem_Endcap_Ring_Bw[5]
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
void analyze(const edm::Event &, const edm::EventSetup &) override
NOTE: this is needed even if it seems not.
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
MonitorElement * Cluster_IMem_Endcap_Ring
unsigned int layer(const DetId &id) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Cluster_IMem_Endcap_Ring_Fw[5]
const TrackerGeomDet * idToDet(DetId) const override
MonitorElement * Cluster_OMem_Endcap_Ring_Fw[5]
~OuterTrackerMonitorTTCluster() override
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
T const * product() const
const_iterator begin(bool update=false) const
MonitorElement * Cluster_OMem_Endcap_Disc
MonitorElement * Cluster_IMem_Endcap_Ring_Bw[5]