Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-18 02:12:46

0001 // -*- C++ -*-
0002 //bookLayer
0003 // Package:    Phase2OTValidateCluster
0004 // Class:      Phase2OTValidateCluster
0005 //
0006 /**\class Phase2OTValidateCluster Phase2OTValidateCluster.cc 
0007 
0008  Description: Validation plots tracker clusters. 
0009 
0010 */
0011 //
0012 // Author: Gabriel Ramirez, Suvankar Roy Chowdhury
0013 // Date: May 23, 2020
0014 //
0015 #include <memory>
0016 #include "FWCore/Framework/interface/Frameworkfwd.h"
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 #include "FWCore/Framework/interface/Event.h"
0019 #include "FWCore/Framework/interface/ESHandle.h"
0020 #include "FWCore/Framework/interface/MakerMacros.h"
0021 #include "FWCore/Framework/interface/ESWatcher.h"
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "FWCore/ServiceRegistry/interface/Service.h"
0024 #include "FWCore/Utilities/interface/InputTag.h"
0025 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0026 
0027 #include "DataFormats/Common/interface/Handle.h"
0028 #include "DataFormats/DetId/interface/DetId.h"
0029 #include "DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.h"
0030 #include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
0031 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0032 #include "DataFormats/Common/interface/DetSetVector.h"
0033 
0034 #include "SimDataFormats/TrackerDigiSimLink/interface/PixelDigiSimLink.h"
0035 #include "SimDataFormats/Track/interface/SimTrackContainer.h"
0036 #include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
0037 #include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
0038 
0039 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0040 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0041 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0042 #include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
0043 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0044 #include "DataFormats/Common/interface/DetSetVector.h"
0045 // DQM Histograming
0046 #include "DQMServices/Core/interface/MonitorElement.h"
0047 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0048 #include "DQMServices/Core/interface/DQMStore.h"
0049 
0050 class Phase2OTValidateCluster : public DQMEDAnalyzer {
0051 public:
0052   typedef std::map<unsigned int, std::vector<PSimHit>> SimHitsMap;
0053   typedef std::map<unsigned int, SimTrack> SimTracksMap;
0054 
0055   explicit Phase2OTValidateCluster(const edm::ParameterSet&);
0056   ~Phase2OTValidateCluster() override;
0057   void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) override;
0058   void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
0059   void dqmBeginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
0060   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0061 
0062 private:
0063   struct ClusterMEs {
0064     MonitorElement* deltaX_S = nullptr;
0065     MonitorElement* deltaX_P = nullptr;
0066     MonitorElement* deltaY_S = nullptr;
0067     MonitorElement* deltaY_P = nullptr;
0068     MonitorElement* deltaX_P_primary = nullptr;
0069     MonitorElement* deltaY_P_primary = nullptr;
0070     MonitorElement* deltaX_S_primary = nullptr;
0071     MonitorElement* deltaY_S_primary = nullptr;
0072   };
0073 
0074   void fillOTHistos(const edm::Event& iEvent,
0075                     const std::vector<edm::Handle<edm::PSimHitContainer>>& simHits,
0076                     const std::map<unsigned int, SimTrack>& simTracks);
0077   void bookLayerHistos(DQMStore::IBooker& ibooker, uint32_t det_it, const std::string& subdir);
0078   std::vector<unsigned int> getSimTrackId(const edm::Handle<edm::DetSetVector<PixelDigiSimLink>>& pixelSimLinks,
0079                                           const DetId& detId,
0080                                           unsigned int channel);
0081 
0082   std::map<std::string, ClusterMEs> layerMEs_;
0083 
0084   edm::ParameterSet config_;
0085   double simtrackminpt_;
0086   std::vector<edm::EDGetTokenT<edm::PSimHitContainer>> simHitTokens_;
0087   edm::EDGetTokenT<edm::DetSetVector<PixelDigiSimLink>> simOTLinksToken_;
0088   edm::EDGetTokenT<edm::DetSetVector<PixelDigiSimLink>> simITLinksToken_;
0089   edm::EDGetTokenT<edm::SimTrackContainer> simTracksToken_;
0090   edm::EDGetTokenT<Phase2TrackerCluster1DCollectionNew> clustersToken_;
0091   std::vector<edm::InputTag> pSimHitSrc_;
0092   const edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> geomToken_;
0093   const edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> topoToken_;
0094   const TrackerGeometry* tkGeom_ = nullptr;
0095   const TrackerTopology* tTopo_ = nullptr;
0096 };
0097 #include "Validation/SiTrackerPhase2V/interface/TrackerPhase2ValidationUtil.h"
0098 #include "DQM/SiTrackerPhase2/interface/TrackerPhase2DQMUtil.h"
0099 //
0100 // constructors
0101 //
0102 Phase2OTValidateCluster::Phase2OTValidateCluster(const edm::ParameterSet& iConfig)
0103     : config_(iConfig),
0104       simtrackminpt_(config_.getParameter<double>("SimTrackMinPt")),
0105       simOTLinksToken_(consumes<edm::DetSetVector<PixelDigiSimLink>>(
0106           config_.getParameter<edm::InputTag>("OuterTrackerDigiSimLinkSource"))),
0107       simTracksToken_(consumes<edm::SimTrackContainer>(config_.getParameter<edm::InputTag>("simtracks"))),
0108       clustersToken_(
0109           consumes<Phase2TrackerCluster1DCollectionNew>(config_.getParameter<edm::InputTag>("ClusterSource"))),
0110       pSimHitSrc_(config_.getParameter<std::vector<edm::InputTag>>("PSimHitSource")),
0111       geomToken_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()),
0112       topoToken_(esConsumes<TrackerTopology, TrackerTopologyRcd, edm::Transition::BeginRun>()) {
0113   edm::LogInfo("Phase2OTValidateCluster") << ">>> Construct Phase2OTValidateCluster ";
0114   for (const auto& itag : pSimHitSrc_)
0115     simHitTokens_.push_back(consumes<edm::PSimHitContainer>(itag));
0116 }
0117 
0118 Phase2OTValidateCluster::~Phase2OTValidateCluster() {
0119   // do anything here that needs to be done at desctruction time
0120   // (e.g. close files, deallocate resources etc.)
0121   edm::LogInfo("Phase2OTValidateCluster") << ">>> Destroy Phase2OTValidateCluster ";
0122 }
0123 //
0124 // -- DQM Begin Run
0125 //
0126 void Phase2OTValidateCluster::dqmBeginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) {
0127   tkGeom_ = &iSetup.getData(geomToken_);
0128   tTopo_ = &iSetup.getData(topoToken_);
0129 }
0130 
0131 // -- Analyze
0132 //
0133 void Phase2OTValidateCluster::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
0134   // Getting simHits
0135   std::vector<edm::Handle<edm::PSimHitContainer>> simHits;
0136   for (const auto& itoken : simHitTokens_) {
0137     const auto& simHitHandle = iEvent.getHandle(itoken);
0138     if (!simHitHandle.isValid())
0139       continue;
0140     simHits.emplace_back(simHitHandle);
0141   }
0142   // Get the SimTracks
0143   const auto& simTracksRaw = iEvent.getHandle(simTracksToken_);
0144   // Rearrange the simTracks for ease of use <simTrackID, simTrack>
0145   SimTracksMap simTracks;
0146   for (edm::SimTrackContainer::const_iterator simTrackIt(simTracksRaw->begin()); simTrackIt != simTracksRaw->end();
0147        ++simTrackIt) {
0148     if (simTrackIt->momentum().pt() > simtrackminpt_) {
0149       simTracks.emplace(simTrackIt->trackId(), *simTrackIt);
0150     }
0151   }
0152   fillOTHistos(iEvent, simHits, simTracks);
0153 }
0154 
0155 void Phase2OTValidateCluster::fillOTHistos(const edm::Event& iEvent,
0156                                            const std::vector<edm::Handle<edm::PSimHitContainer>>& simHits,
0157                                            const std::map<unsigned int, SimTrack>& simTracks) {
0158   // Getting the clusters
0159   const auto& clusterHandle = iEvent.getHandle(clustersToken_);
0160   // Getting PixelDigiSimLinks
0161   const auto& pixelSimLinksHandle = iEvent.getHandle(simOTLinksToken_);
0162 
0163   // Number of clusters
0164   std::map<std::string, unsigned int> nPrimarySimHits[3];
0165   std::map<std::string, unsigned int> nOtherSimHits[3];
0166   for (const auto& DSVItr : *clusterHandle) {
0167     // Getting the id of detector unit
0168     uint32_t rawid = DSVItr.detId();
0169     DetId detId(rawid);
0170     const GeomDetUnit* geomDetUnit(tkGeom_->idToDetUnit(detId));
0171     if (!geomDetUnit)
0172       continue;
0173     TrackerGeometry::ModuleType mType = tkGeom_->getDetectorType(detId);
0174 
0175     std::string folderkey = phase2tkutil::getOTHistoId(detId, tTopo_);
0176     for (const auto& clusterItr : DSVItr) {
0177       MeasurementPoint mpCluster(clusterItr.center(), clusterItr.column() + 0.5);
0178       Local3DPoint localPosCluster = geomDetUnit->topology().localPosition(mpCluster);
0179 
0180       // Get simTracks from the cluster
0181       std::vector<unsigned int> clusterSimTrackIds;
0182       for (unsigned int i(0); i < clusterItr.size(); ++i) {
0183         unsigned int channel(Phase2TrackerDigi::pixelToChannel(clusterItr.firstRow() + i, clusterItr.column()));
0184         std::vector<unsigned int> simTrackIds(getSimTrackId(pixelSimLinksHandle, detId, channel));
0185         for (auto it : simTrackIds) {
0186           bool add = true;
0187           for (unsigned int j = 0; j < clusterSimTrackIds.size(); ++j) {
0188             // only save simtrackids that are not present yet
0189             if (it == clusterSimTrackIds.at(j))
0190               add = false;
0191           }
0192           if (add)
0193             clusterSimTrackIds.push_back(it);
0194         }
0195       }
0196       std::sort(clusterSimTrackIds.begin(), clusterSimTrackIds.end());
0197       const PSimHit* closestSimHit = nullptr;
0198       float mind = 1e4;
0199       // Get the SimHit
0200       for (const auto& psimhitCont : simHits) {
0201         for (const auto& simhitIt : *psimhitCont) {
0202           if (rawid == simhitIt.detUnitId()) {
0203             auto it = std::lower_bound(clusterSimTrackIds.begin(), clusterSimTrackIds.end(), simhitIt.trackId());
0204             if (it != clusterSimTrackIds.end() && *it == simhitIt.trackId()) {
0205               float dx = simhitIt.localPosition().x() - localPosCluster.x();
0206               float dy = simhitIt.localPosition().y() - localPosCluster.y();
0207               float dist = dx * dx + dy * dy;
0208               if (!closestSimHit || dist < mind) {
0209                 mind = dist;
0210                 closestSimHit = &simhitIt;
0211               }
0212             }
0213           }
0214         }  //end loop over PSimhitcontainers
0215       }    //end loop over simHits
0216 
0217       if (!closestSimHit)
0218         continue;
0219       // only look at simhits from highpT tracks
0220       auto simTrackIt(simTracks.find(closestSimHit->trackId()));
0221       if (simTrackIt == simTracks.end())
0222         continue;
0223 
0224       Local3DPoint localPosSimHit(closestSimHit->localPosition());
0225       const float deltaX = localPosCluster.x() - localPosSimHit.x();
0226       const float deltaY = localPosCluster.y() - localPosSimHit.y();
0227 
0228       auto layerMEit = layerMEs_.find(folderkey);
0229       if (layerMEit == layerMEs_.end())
0230         continue;
0231 
0232       ClusterMEs& local_mes = layerMEit->second;
0233       if (mType == TrackerGeometry::ModuleType::Ph2PSP) {
0234         local_mes.deltaX_P->Fill(phase2tkutil::cmtomicron * deltaX);
0235         local_mes.deltaY_P->Fill(phase2tkutil::cmtomicron * deltaY);
0236       } else if (mType == TrackerGeometry::ModuleType::Ph2PSS || mType == TrackerGeometry::ModuleType::Ph2SS) {
0237         local_mes.deltaX_S->Fill(phase2tkutil::cmtomicron * deltaX);
0238         local_mes.deltaY_S->Fill(deltaY);
0239       }
0240       // Primary particles only
0241       if (phase2tkutil::isPrimary(simTrackIt->second, closestSimHit)) {
0242         if (mType == TrackerGeometry::ModuleType::Ph2PSP) {
0243           local_mes.deltaX_P_primary->Fill(phase2tkutil::cmtomicron * deltaX);
0244           local_mes.deltaY_P_primary->Fill(phase2tkutil::cmtomicron * deltaY);
0245         } else if (mType == TrackerGeometry::ModuleType::Ph2PSS || mType == TrackerGeometry::ModuleType::Ph2SS) {
0246           local_mes.deltaX_S_primary->Fill(phase2tkutil::cmtomicron * deltaX);
0247           local_mes.deltaY_S_primary->Fill(deltaY);
0248         }
0249       }
0250     }
0251   }
0252 }
0253 
0254 //
0255 // -- Book Histograms
0256 //
0257 void Phase2OTValidateCluster::bookHistograms(DQMStore::IBooker& ibooker,
0258                                              edm::Run const& iRun,
0259                                              edm::EventSetup const& iSetup) {
0260   std::string top_folder = config_.getParameter<std::string>("TopFolderName");
0261   edm::LogInfo("Phase2OTValidateCluster") << " Booking Histograms in: " << top_folder;
0262 
0263   edm::ESWatcher<TrackerDigiGeometryRecord> theTkDigiGeomWatcher;
0264   if (theTkDigiGeomWatcher.check(iSetup)) {
0265     for (auto const& det_u : tkGeom_->detUnits()) {
0266       //Always check TrackerNumberingBuilder before changing this part
0267       if ((det_u->subDetector() == GeomDetEnumerators::SubDetector::P2PXB ||
0268            det_u->subDetector() == GeomDetEnumerators::SubDetector::P2PXEC))
0269         continue;  //continue if Pixel
0270       uint32_t detId_raw = det_u->geographicalId().rawId();
0271       bookLayerHistos(ibooker, detId_raw, top_folder);
0272     }
0273   }
0274 }
0275 
0276 //////////////////Layer Histo/////////////////////////////////
0277 void Phase2OTValidateCluster::bookLayerHistos(DQMStore::IBooker& ibooker, uint32_t det_id, const std::string& subdir) {
0278   std::string folderName = phase2tkutil::getOTHistoId(det_id, tTopo_);
0279   if (folderName.empty()) {
0280     edm::LogWarning("Phase2OTValidateCluster") << ">>>> Invalid histo_id ";
0281     return;
0282   }
0283 
0284   if (layerMEs_.find(folderName) == layerMEs_.end()) {
0285     ibooker.cd();
0286     edm::LogInfo("Phase2TrackerValidateDigi") << " Booking Histograms in: " << subdir + '/' + folderName;
0287     ClusterMEs local_mes;
0288     if (tkGeom_->getDetectorType(det_id) == TrackerGeometry::ModuleType::Ph2PSP) {
0289       ibooker.setCurrentFolder(subdir + '/' + folderName);
0290 
0291       local_mes.deltaX_P =
0292           phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_X_Pixel"), ibooker);
0293 
0294       local_mes.deltaY_P =
0295           phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_Y_Pixel"), ibooker);
0296 
0297       // Puting primary digis in a subfolder
0298       ibooker.setCurrentFolder(subdir + '/' + folderName + "/PrimarySimHits");
0299 
0300       local_mes.deltaX_P_primary =
0301           phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_X_Pixel_Primary"), ibooker);
0302 
0303       local_mes.deltaY_P_primary =
0304           phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_Y_Pixel_Primary"), ibooker);
0305     }
0306     ibooker.setCurrentFolder(subdir + '/' + folderName);
0307 
0308     local_mes.deltaX_S =
0309         phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_X_Strip"), ibooker);
0310 
0311     local_mes.deltaY_S =
0312         phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_Y_Strip"), ibooker);
0313 
0314     // Puting primary digis in a subfolder
0315     ibooker.setCurrentFolder(subdir + '/' + folderName + "/PrimarySimHits");
0316 
0317     local_mes.deltaX_S_primary =
0318         phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_X_Strip_Primary"), ibooker);
0319 
0320     local_mes.deltaY_S_primary =
0321         phase2tkutil::book1DFromPSet(config_.getParameter<edm::ParameterSet>("Delta_Y_Strip_Primary"), ibooker);
0322 
0323     layerMEs_.emplace(folderName, local_mes);
0324   }
0325 }
0326 
0327 std::vector<unsigned int> Phase2OTValidateCluster::getSimTrackId(
0328     const edm::Handle<edm::DetSetVector<PixelDigiSimLink>>& pixelSimLinks, const DetId& detId, unsigned int channel) {
0329   std::vector<unsigned int> retvec;
0330   edm::DetSetVector<PixelDigiSimLink>::const_iterator DSViter(pixelSimLinks->find(detId));
0331   if (DSViter == pixelSimLinks->end())
0332     return retvec;
0333   for (edm::DetSet<PixelDigiSimLink>::const_iterator it = DSViter->data.begin(); it != DSViter->data.end(); ++it) {
0334     if (channel == it->channel()) {
0335       retvec.push_back(it->SimTrackId());
0336     }
0337   }
0338   return retvec;
0339 }
0340 
0341 void Phase2OTValidateCluster::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
0342   edm::ParameterSetDescription desc;
0343   //for macro-pixel sensors
0344   std::string mptag = "macro-pixel sensor";
0345   std::string striptag = "strip sensor";
0346   {
0347     edm::ParameterSetDescription psd0;
0348     psd0.add<std::string>("name", "Delta_X_Pixel");
0349     psd0.add<std::string>("title", "#Delta X " + mptag + ";Cluster resolution X coordinate [#mum]");
0350     psd0.add<bool>("switch", true);
0351     psd0.add<double>("xmax", 250);
0352     psd0.add<double>("xmin", -250);
0353     psd0.add<int>("NxBins", 100);
0354     desc.add<edm::ParameterSetDescription>("Delta_X_Pixel", psd0);
0355   }
0356   {
0357     edm::ParameterSetDescription psd0;
0358     psd0.add<std::string>("name", "Delta_Y_Pixel");
0359     psd0.add<std::string>("title", "#Delta Y " + mptag + ";Cluster resolution Y coordinate [#mum]");
0360     psd0.add<bool>("switch", true);
0361     psd0.add<double>("xmin", -1500);
0362     psd0.add<double>("xmax", 1500);
0363     psd0.add<int>("NxBins", 100);
0364     desc.add<edm::ParameterSetDescription>("Delta_Y_Pixel", psd0);
0365   }
0366   {
0367     edm::ParameterSetDescription psd0;
0368     psd0.add<std::string>("name", "Delta_X_Pixel_Primary");
0369     psd0.add<std::string>("title", "#Delta X " + mptag + ";cluster resolution X coordinate [#mum]");
0370     psd0.add<bool>("switch", true);
0371     psd0.add<double>("xmin", -250);
0372     psd0.add<double>("xmax", 250);
0373     psd0.add<int>("NxBins", 100);
0374     desc.add<edm::ParameterSetDescription>("Delta_X_Pixel_Primary", psd0);
0375   }
0376   {
0377     edm::ParameterSetDescription psd0;
0378     psd0.add<std::string>("name", "Delta_Y_Pixel_Primary");
0379     psd0.add<std::string>("title", "#Delta Y " + mptag + ";cluster resolution Y coordinate [#mum]");
0380     psd0.add<bool>("switch", true);
0381     psd0.add<double>("xmin", -1500);
0382     psd0.add<double>("xmax", 1500);
0383     psd0.add<int>("NxBins", 100);
0384     desc.add<edm::ParameterSetDescription>("Delta_Y_Pixel_Primary", psd0);
0385   }
0386 
0387   //strip sensors
0388   {
0389     edm::ParameterSetDescription psd0;
0390     psd0.add<std::string>("name", "Delta_X_Strip");
0391     psd0.add<std::string>("title", "#Delta X " + striptag + ";Cluster resolution X coordinate [#mum]");
0392     psd0.add<bool>("switch", true);
0393     psd0.add<double>("xmin", -250);
0394     psd0.add<double>("xmax", 250);
0395     psd0.add<int>("NxBins", 100);
0396     desc.add<edm::ParameterSetDescription>("Delta_X_Strip", psd0);
0397   }
0398   {
0399     edm::ParameterSetDescription psd0;
0400     psd0.add<std::string>("name", "Delta_Y_Strip");
0401     psd0.add<std::string>("title", "#Delta Y " + striptag + ";Cluster resolution Y coordinate [cm]");
0402     psd0.add<double>("xmin", -5.0);
0403     psd0.add<bool>("switch", true);
0404     psd0.add<double>("xmax", 5.0);
0405     psd0.add<int>("NxBins", 100);
0406     desc.add<edm::ParameterSetDescription>("Delta_Y_Strip", psd0);
0407   }
0408   {
0409     edm::ParameterSetDescription psd0;
0410     psd0.add<std::string>("name", "Delta_X_Strip_Primary");
0411     psd0.add<std::string>("title", "#Delta X " + striptag + ";Cluster resolution X coordinate [#mum]");
0412     psd0.add<bool>("switch", true);
0413     psd0.add<double>("xmin", -250);
0414     psd0.add<double>("xmax", 250);
0415     psd0.add<int>("NxBins", 100);
0416     desc.add<edm::ParameterSetDescription>("Delta_X_Strip_Primary", psd0);
0417   }
0418   {
0419     edm::ParameterSetDescription psd0;
0420     psd0.add<std::string>("name", "Delta_Y_Strip_Primary");
0421     psd0.add<std::string>("title", "#Delta Y " + striptag + ";Cluster resolution Y coordinate [cm]");
0422     psd0.add<double>("xmin", -5.0);
0423     psd0.add<bool>("switch", true);
0424     psd0.add<double>("xmax", 5.0);
0425     psd0.add<int>("NxBins", 100);
0426     desc.add<edm::ParameterSetDescription>("Delta_Y_Strip_Primary", psd0);
0427   }
0428   desc.add<std::string>("TopFolderName", "TrackerPhase2OTClusterV");
0429   desc.add<edm::InputTag>("ClusterSource", edm::InputTag("siPhase2Clusters"));
0430   desc.add<edm::InputTag>("OuterTrackerDigiSimLinkSource", edm::InputTag("simSiPixelDigis", "Tracker"));
0431   desc.add<edm::InputTag>("simtracks", edm::InputTag("g4SimHits"));
0432   desc.add<double>("SimTrackMinPt", 0.0);
0433   desc.add<std::vector<edm::InputTag>>("PSimHitSource",
0434                                        {
0435                                            edm::InputTag("g4SimHits:TrackerHitsTIBLowTof"),
0436                                            edm::InputTag("g4SimHits:TrackerHitsTIBHighTof"),
0437                                            edm::InputTag("g4SimHits:TrackerHitsTIDLowTof"),
0438                                            edm::InputTag("g4SimHits:TrackerHitsTIDHighTof"),
0439                                            edm::InputTag("g4SimHits:TrackerHitsTOBLowTof"),
0440                                            edm::InputTag("g4SimHits:TrackerHitsTOBHighTof"),
0441                                            edm::InputTag("g4SimHits:TrackerHitsTECLowTof"),
0442                                            edm::InputTag("g4SimHits:TrackerHitsTECHighTof"),
0443                                            edm::InputTag("g4SimHits:TrackerHitsPixelBarrelLowTof"),
0444                                            edm::InputTag("g4SimHits:TrackerHitsPixelBarrelHighTof"),
0445                                            edm::InputTag("g4SimHits:TrackerHitsPixelEndcapLowTof"),
0446                                            edm::InputTag("g4SimHits:TrackerHitsPixelEndcapHighTof"),
0447                                        });
0448   descriptions.add("Phase2OTValidateCluster", desc);
0449 }
0450 DEFINE_FWK_MODULE(Phase2OTValidateCluster);