74 theTrackerGeometry = tGeometryHandle.
product();
80 for ( inputIter = Phase2TrackerDigiTTClusterHandle->begin();
81 inputIter != Phase2TrackerDigiTTClusterHandle->end();
84 for(contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter)
89 DetId detIdClu = theTrackerGeometry->
idToDet( tempCluRef->getDetId() )->geographicalId();
90 unsigned int memberClu = tempCluRef->getStackMember();
91 unsigned int widClu = tempCluRef->findWidth();
116 if ( memberClu == 0 )
127 if ( posClu.
z() > 0 )
157 HistoName =
"NClusters_IMem_Barrel";
165 HistoName =
"NClusters_OMem_Barrel";
174 HistoName =
"NClusters_IMem_Endcap_Disc";
182 HistoName =
"NClusters_OMem_Endcap_Disc";
191 HistoName =
"NClusters_IMem_Endcap_Ring";
199 HistoName =
"NClusters_OMem_Endcap_Ring";
207 for (
int i = 0;
i < 5;
i++)
209 HistoName =
"NClusters_IMem_Disc+"+std::to_string(
i+1);
218 for (
int i = 0;
i < 5;
i++)
220 HistoName =
"NClusters_IMem_Disc-"+std::to_string(
i+1);
229 for (
int i = 0;
i < 5;
i++)
231 HistoName =
"NClusters_OMem_Disc+"+std::to_string(
i+1);
240 for (
int i = 0;
i < 5;
i++)
242 HistoName =
"NClusters_OMem_Disc-"+std::to_string(
i+1);
256 HistoName =
"Cluster_W";
269 HistoName =
"Cluster_Eta";
281 HistoName =
"Cluster_Barrel_XY";
293 HistoName =
"Cluster_Barrel_XY_Zoom";
295 psTTCluster_Barrel_XY_Zoom.
getParameter<int32_t>(
"Nbinsx"),
296 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"xmin"),
297 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"xmax"),
298 psTTCluster_Barrel_XY_Zoom.
getParameter<int32_t>(
"Nbinsy"),
299 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"ymin"),
300 psTTCluster_Barrel_XY_Zoom.
getParameter<
double>(
"ymax"));
305 HistoName =
"Cluster_Endcap_Fw_XY";
307 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
310 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
317 HistoName =
"Cluster_Endcap_Bw_XY";
319 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
322 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
330 HistoName =
"Cluster_RZ";
343 HistoName =
"Cluster_Endcap_Fw_RZ_Zoom";
345 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsx"),
346 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"xmin"),
347 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"xmax"),
348 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsy"),
349 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"ymin"),
350 psTTCluster_Endcap_Fw_RZ_Zoom.
getParameter<
double>(
"ymax"));
356 HistoName =
"Cluster_Endcap_Bw_RZ_Zoom";
358 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsx"),
359 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"xmin"),
360 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"xmax"),
361 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<int32_t>(
"Nbinsy"),
362 psTTCluster_Endcap_Bw_RZ_Zoom.
getParameter<
double>(
"ymin"),
363 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
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
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
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
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 * Cluster_RZ
~OuterTrackerMonitorTTCluster()
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]
virtual void analyze(const edm::Event &, const edm::EventSetup &)
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
MonitorElement * Cluster_IMem_Endcap_Ring_Fw[5]
MonitorElement * Cluster_OMem_Endcap_Ring_Fw[5]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
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
void setCurrentFolder(const std::string &fullpath)
const_iterator begin(bool update=false) const
MonitorElement * Cluster_OMem_Endcap_Disc
MonitorElement * Cluster_IMem_Endcap_Ring_Bw[5]
const TrackerGeomDet * idToDet(DetId) const