File indexing completed on 2024-04-06 12:31:36
0001 #ifndef TrackingTools_TrackAssociator_MuonDetIdAssociatorMaker_h
0002 #define TrackingTools_TrackAssociator_MuonDetIdAssociatorMaker_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include <memory>
0023
0024
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
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
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