|
|
Go to the documentation of this file.
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;
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);
326 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsx"),
329 psTTCluster_Endcap_Fw_XY.
getParameter<int32_t>(
"Nbinsy"),
339 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsx"),
342 psTTCluster_Endcap_Bw_XY.
getParameter<int32_t>(
"Nbinsy"),
MonitorElement * Cluster_IMem_Endcap_Disc
const TrackerGeomDet * idToDet(DetId) const override
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
T getParameter(std::string const &) const
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
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())