|
|
Go to the documentation of this file.
115 theTrackerGeometry = tGeometryHandle.
product();
122 if (!Phase2TrackerDigiTTClusterHandle.
isValid())
125 for (inputIter = Phase2TrackerDigiTTClusterHandle->begin(); inputIter != Phase2TrackerDigiTTClusterHandle->end();
127 for (contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter) {
132 DetId detIdClu = theTrackerGeometry->
idToDet(tempCluRef->getDetId())->geographicalId();
133 unsigned int memberClu = tempCluRef->getStackMember();
134 unsigned int widClu = tempCluRef->findWidth();
137 const GeomDet *theGeomDet = theTrackerGeometry->
idToDet(detIdClu);
140 double r = posClu.
perp();
141 double z = posClu.
z();
161 if (memberClu == 0) {
169 if (posClu.
z() > 0) {
194 const int numDiscs = 5;
219 HistoName =
"NClusters_IMem_Endcap_Disc";
228 HistoName =
"NClusters_OMem_Endcap_Disc";
238 HistoName =
"NClusters_IMem_Endcap_Ring";
247 HistoName =
"NClusters_OMem_Endcap_Ring";
256 for (
int i = 0;
i < numDiscs;
i++) {
257 HistoName =
"NClusters_IMem_Disc+" + std::to_string(
i + 1);
267 for (
int i = 0;
i < numDiscs;
i++) {
268 HistoName =
"NClusters_IMem_Disc-" + std::to_string(
i + 1);
278 for (
int i = 0;
i < numDiscs;
i++) {
279 HistoName =
"NClusters_OMem_Disc+" + std::to_string(
i + 1);
289 for (
int i = 0;
i < numDiscs;
i++) {
290 HistoName =
"NClusters_OMem_Disc-" + std::to_string(
i + 1);
369 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
372 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
382 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
385 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
const TrackerGeomDet * idToDet(DetId) const override
MonitorElement * Cluster_IMem_Endcap_Disc
T const * product() const
OuterTrackerMonitorTTCluster(const edm::ParameterSet &)
MonitorElement * Cluster_RZ
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * Cluster_IMem_Endcap_Ring
MonitorElement * Cluster_OMem_Endcap_Ring_Fw[5]
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ > > > tagTTClustersToken_
~OuterTrackerMonitorTTCluster() override
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_Eta
MonitorElement * Cluster_OMem_Endcap_Ring_Bw[5]
virtual void setCurrentFolder(std::string const &fullpath)
unsigned int layer(const DetId &id) const
virtual const Topology & topology() const
const_iterator begin(bool update=false) const
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
MonitorElement * Cluster_IMem_Endcap_Ring_Fw[5]
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Cluster_OMem_Endcap_Disc
unsigned int tidRing(const DetId &id) const
const Plane & surface() const
The nominal surface of the GeomDet.
#define DEFINE_FWK_MODULE(type)
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
MonitorElement * Cluster_OMem_Barrel
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
MonitorElement * Cluster_R
MonitorElement * Cluster_Endcap_Bw_XY
MonitorElement * Cluster_IMem_Endcap_Ring_Bw[5]
MonitorElement * Cluster_W
std::string topFolderName_
MonitorElement * Cluster_Phi
MonitorElement * Cluster_OMem_Endcap_Ring
const_iterator end(bool update=false) const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * Cluster_IMem_Barrel
static constexpr auto TOB
T getParameter(std::string const &) const
NOTE: this is needed even if it seems not.
MonitorElement * Cluster_Endcap_Fw_XY
MonitorElement * Cluster_Barrel_XY
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Geom::Phi< T > phi() const
static constexpr auto TID
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())