Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:44

0001 #ifndef TrackingTools_TrackAssociator_MuonDetIdAssociatorMaker_h
0002 #define TrackingTools_TrackAssociator_MuonDetIdAssociatorMaker_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     TrackingTools/TrackAssociator
0006 // Class  :     MuonDetIdAssociatorMaker
0007 //
0008 /**\class MuonDetIdAssociatorMaker MuonDetIdAssociatorMaker.h "MuonDetIdAssociatorMaker.h"
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Christopher Jones
0018 //         Created:  Thu, 30 May 2019 14:59:09 GMT
0019 //
0020 
0021 // system include files
0022 #include <memory>
0023 
0024 // user include files
0025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0026 #include "FWCore/Framework/interface/ESConsumesCollector.h"
0027 #include "FWCore/Utilities/interface/ESGetToken.h"
0028 #include "DetIdAssociatorMaker.h"
0029 
0030 // forward declarations
0031 class DetIdAssociator;
0032 class DetIdAssociatorRecord;
0033 class GlobalTrackingGeometry;
0034 class GlobalTrackingGeometryRecord;
0035 class CSCBadChambers;
0036 class CSCBadChambersRcd;
0037 
0038 class MuonDetIdAssociatorMaker : public DetIdAssociatorMaker {
0039 public:
0040   MuonDetIdAssociatorMaker(edm::ParameterSet const&, edm::ESConsumesCollectorT<DetIdAssociatorRecord>&&);
0041 
0042   // ---------- const member functions ---------------------
0043   std::unique_ptr<DetIdAssociator> make(const DetIdAssociatorRecord&) const final;
0044 
0045 private:
0046   edm::ESGetToken<GlobalTrackingGeometry, GlobalTrackingGeometryRecord> geomToken_;
0047   edm::ESGetToken<CSCBadChambers, CSCBadChambersRcd> badChambersToken_;
0048   const double etaBinSize;
0049   const int nPhi;
0050   const int nEta;
0051   const bool includeBadChambers_;
0052   const bool includeGEM_;
0053   const bool includeME0_;
0054 };
0055 
0056 #endif