72 theTrackerGeometry = tGeometryHandle.
product();
79 if (!Phase2TrackerDigiTTClusterHandle.
isValid())
82 for (inputIter = Phase2TrackerDigiTTClusterHandle->begin(); 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();
97 double r = posClu.
perp();
98 double z = posClu.
z();
118 if (memberClu == 0) {
126 if (posClu.
z() > 0) {
151 const int numDiscs = 5;
157 HistoName =
"NClusters_IMem_Barrel";
166 HistoName =
"NClusters_OMem_Barrel";
176 HistoName =
"NClusters_IMem_Endcap_Disc";
185 HistoName =
"NClusters_OMem_Endcap_Disc";
195 HistoName =
"NClusters_IMem_Endcap_Ring";
204 HistoName =
"NClusters_OMem_Endcap_Ring";
213 for (
int i = 0;
i < numDiscs;
i++) {
214 HistoName =
"NClusters_IMem_Disc+" + std::to_string(
i + 1);
224 for (
int i = 0;
i < numDiscs;
i++) {
225 HistoName =
"NClusters_IMem_Disc-" + std::to_string(
i + 1);
235 for (
int i = 0;
i < numDiscs;
i++) {
236 HistoName =
"NClusters_OMem_Disc+" + std::to_string(
i + 1);
246 for (
int i = 0;
i < numDiscs;
i++) {
247 HistoName =
"NClusters_OMem_Disc-" + std::to_string(
i + 1);
261 HistoName =
"Cluster_W";
275 HistoName =
"Cluster_Eta";
286 HistoName =
"Cluster_Phi";
297 HistoName =
"Cluster_R";
310 HistoName =
"Cluster_Barrel_XY";
323 HistoName =
"Cluster_Endcap_Fw_XY";
326 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
329 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
336 HistoName =
"Cluster_Endcap_Bw_XY";
339 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
342 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
350 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
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
#define DEFINE_FWK_MODULE(type)
MonitorElement * Cluster_IMem_Endcap_Disc
void setCurrentFolder(std::string const &fullpath)
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]
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]