123 if (!Phase2TrackerDigiTTClusterHandle.
isValid())
126 for (inputIter = Phase2TrackerDigiTTClusterHandle->begin(); inputIter != Phase2TrackerDigiTTClusterHandle->end();
128 for (contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter) {
134 unsigned int memberClu = tempCluRef->getStackMember();
135 unsigned int widClu = tempCluRef->findWidth();
141 double r = posClu.
perp();
142 double z = posClu.
z();
162 if (memberClu == 0) {
170 if (posClu.
z() > 0) {
195 const int numDiscs = 5;
201 HistoName =
"NClusters_IMem_Barrel";
210 HistoName =
"NClusters_OMem_Barrel";
220 HistoName =
"NClusters_IMem_Endcap_Disc";
229 HistoName =
"NClusters_OMem_Endcap_Disc";
239 HistoName =
"NClusters_IMem_Endcap_Ring";
248 HistoName =
"NClusters_OMem_Endcap_Ring";
257 for (
int i = 0;
i < numDiscs;
i++) {
258 HistoName =
"NClusters_IMem_Disc+" + std::to_string(
i + 1);
268 for (
int i = 0;
i < numDiscs;
i++) {
269 HistoName =
"NClusters_IMem_Disc-" + std::to_string(
i + 1);
279 for (
int i = 0;
i < numDiscs;
i++) {
280 HistoName =
"NClusters_OMem_Disc+" + std::to_string(
i + 1);
290 for (
int i = 0;
i < numDiscs;
i++) {
291 HistoName =
"NClusters_OMem_Disc-" + std::to_string(
i + 1);
305 HistoName =
"Cluster_W";
319 HistoName =
"Cluster_Eta";
330 HistoName =
"Cluster_Phi";
341 HistoName =
"Cluster_R";
354 HistoName =
"Cluster_Barrel_XY";
367 HistoName =
"Cluster_Endcap_Fw_XY";
370 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
373 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
380 HistoName =
"Cluster_Endcap_Bw_XY";
383 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
386 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
394 HistoName =
"Cluster_RZ";
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
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
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
unsigned int tidRing(const DetId &id) const
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
virtual void setCurrentFolder(std::string const &fullpath)
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_
bool getData(T &iHolder) const
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 * Cluster_RZ
const TrackerGeometry * tkGeom_
static constexpr auto TOB
const TrackerTopology * tTopo_
const TrackerGeomDet * idToDet(DetId) const override
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ > > > tagTTClustersToken_
MonitorElement * Cluster_OMem_Endcap_Ring_Bw[5]
void analyze(const edm::Event &, const edm::EventSetup &) override
NOTE: this is needed even if it seems not.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T getParameter(std::string const &) const
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
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]
MonitorElement * Cluster_OMem_Endcap_Ring_Fw[5]
~OuterTrackerMonitorTTCluster() override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
static constexpr auto TID
const_iterator begin(bool update=false) const
MonitorElement * Cluster_OMem_Endcap_Disc
MonitorElement * Cluster_IMem_Endcap_Ring_Bw[5]
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)