75 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();
102 double r = posClu.
perp();
103 double z = posClu.
z();
123 if ( memberClu == 0 )
134 if ( posClu.
z() > 0 )
155 const int numDiscs = 5;
161 HistoName =
"NClusters_IMem_Barrel";
169 HistoName =
"NClusters_OMem_Barrel";
178 HistoName =
"NClusters_IMem_Endcap_Disc";
186 HistoName =
"NClusters_OMem_Endcap_Disc";
195 HistoName =
"NClusters_IMem_Endcap_Ring";
203 HistoName =
"NClusters_OMem_Endcap_Ring";
211 for (
int i = 0;
i < numDiscs;
i++)
213 HistoName =
"NClusters_IMem_Disc+"+std::to_string(
i+1);
222 for (
int i = 0;
i < numDiscs;
i++)
224 HistoName =
"NClusters_IMem_Disc-"+std::to_string(
i+1);
233 for (
int i = 0;
i < numDiscs;
i++)
235 HistoName =
"NClusters_OMem_Disc+"+std::to_string(
i+1);
244 for (
int i = 0;
i < numDiscs;
i++)
246 HistoName =
"NClusters_OMem_Disc-"+std::to_string(
i+1);
260 HistoName =
"Cluster_W";
273 HistoName =
"Cluster_Eta";
283 HistoName =
"Cluster_Phi";
293 HistoName =
"Cluster_R";
305 HistoName =
"Cluster_Barrel_XY";
317 HistoName =
"Cluster_Endcap_Fw_XY";
319 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
322 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
329 HistoName =
"Cluster_Endcap_Bw_XY";
331 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
334 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
342 HistoName =
"Cluster_RZ";
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_R
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
Geom::Phi< T > phi() const
MonitorElement * Cluster_Barrel_XY
MonitorElement * Cluster_Endcap_Bw_XY
MonitorElement * Cluster_Phi
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_Eta
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * book1D(Args &&...args)
MonitorElement * Cluster_RZ
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]