CMS 3D CMS Logo

DisappearingMuonsSkimming.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Skimming/DisappearingMuonsSkimming
4 // Class: DisappearingMuonsSkimming
5 //
13 //
14 // Original Author: Michael Revering
15 // Created: Tie, 31 Jan 2023 21:22:23 GMT
16 //
17 //
18 #ifndef Configuration_Skimming_DisappearingMuonsSkimming_h
19 #define Configuration_Skimming_DisappearingMuonsSkimming_h
20 
21 // system include files
22 #include <memory>
23 
24 // user include filter
38 
39 //
40 // class declaration
41 //
42 
44 public:
46  ~DisappearingMuonsSkimming() override = default;
47  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
48 
49 private:
50  void beginJob() override;
51  bool filter(edm::Event&, const edm::EventSetup&) override;
52  void endJob() override;
53  bool passTriggers(const edm::Event& iEvent,
54  edm::EDGetToken m_trigResultsToken,
55  std::vector<std::string> m_muonPathsToPass);
56  double getTrackIsolation(const edm::Event&,
58  std::vector<reco::Track>::const_iterator& iTrack);
60 
61  // ----------member data ---------------------------
62 
74  const std::vector<std::string> muonPathsToPass_;
75 
76  //options
77  const double minMuPt_;
78  const double maxMuEta_;
79  const double minTrackEta_;
80  const double maxTrackEta_;
81  const double minTrackPt_;
82  const double maxTransDCA_;
83  const double maxLongDCA_;
84  const double maxVtxChi_;
85  const double minInvMass_;
86  const double maxInvMass_;
87  const double trackIsoConesize_;
88  const double trackIsoInnerCone_;
89  const double ecalIsoConesize_;
90  const double minEcalHitE_;
91  const double maxTrackIso_;
92  const double maxEcalIso_;
93  const double minSigInvMass_;
94  const double maxSigInvMass_;
95  const double minStandaloneDr_;
96  const double maxStandaloneDE_;
97  const bool keepOffPeak_;
98  const bool keepSameSign_;
99  const bool keepTotalRegion_;
100  const bool keepPartialRegion_;
101 };
102 #endif
~DisappearingMuonsSkimming() override=default
const edm::EDGetToken genInfoToken_
const std::vector< std::string > muonPathsToPass_
double getTrackIsolation(const edm::Event &, edm::Handle< reco::VertexCollection > vtxHandle, std::vector< reco::Track >::const_iterator &iTrack)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::EDGetTokenT< edm::TriggerResults > trigResultsToken_
bool passTriggers(const edm::Event &iEvent, edm::EDGetToken m_trigResultsToken, std::vector< std::string > m_muonPathsToPass)
const edm::EDGetTokenT< std::vector< reco::Vertex > > primaryVerticesToken_
int iEvent
Definition: GenABIO.cc:224
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackToken_
const edm::EDGetTokenT< EcalRecHitCollection > reducedEndcapRecHitCollectionToken_
const edm::EDGetToken genParticleToken_
double getECALIsolation(const edm::Event &, const edm::EventSetup &, const reco::TransientTrack track)
bool filter(edm::Event &, const edm::EventSetup &) override
const edm::EDGetTokenT< std::vector< reco::Track > > trackCollectionToken_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
const edm::EDGetToken recoMuonToken_
const edm::EDGetToken standaloneMuonToken_
const edm::EDGetTokenT< EcalRecHitCollection > reducedBarrelRecHitCollectionToken_
DisappearingMuonsSkimming(const edm::ParameterSet &)