Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:15

0001 #ifndef RecoMuon_TrackerSeedGenerator_DualByEtaTSG_H
0002 #define RecoMuon_TrackerSeedGenerator_DualByEtaTSG_H
0003 
0004 /** \class DualByEtaTSG
0005  * Description:
0006  * SeparatingTSG (TrackerSeedGenerator) which make a simple, dual selection based on the momentum pseudo rapidity of the input track.
0007  *
0008  * \author Jean-Roch vlimant, Adam Everett
0009  */
0010 
0011 #include "RecoMuon/TrackerSeedGenerator/plugins/SeparatingTSG.h"
0012 #include "FWCore/Framework/interface/ConsumesCollector.h"
0013 
0014 class DualByEtaTSG : public SeparatingTSG {
0015 public:
0016   DualByEtaTSG(const edm::ParameterSet& pset, edm::ConsumesCollector& iC);
0017 
0018   /// decide the TSG depending on the absolute value of momentum eta of the track. Return value is 0 or 1.
0019   unsigned int selectTSG(const TrackCand&, const TrackingRegion&) override;
0020 
0021 private:
0022   std::string theCategory;
0023   double theEtaSeparation;
0024 };
0025 
0026 #endif