CMS 3D CMS Logo

RPCSeedrecHitFinder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonSeedGenerator_RPCSeedrecHitFinder_H
2 #define RecoMuon_MuonSeedGenerator_RPCSeedrecHitFinder_H
3 
14 
15 #ifndef RPCLayerNumber
16 #define RPCLayerNumber 12
17 #endif
18 
19 #ifndef BarrelLayerNumber
20 #define BarrelLayerNumber 6
21 #endif
22 
23 #ifndef EachEndcapLayerNumber
24 #define EachEndcapLayerNumber 3
25 #endif
26 
32 
33 public:
36  void configure(const edm::ParameterSet& iConfig);
38  void unsetInput();
39  void setOutput(RPCSeedFinder* Seed);
40  void setLayers(const std::vector<unsigned int>& Layers);
41  void fillrecHits();
42 
43 private:
44  void complete(unsigned int LayerIndex);
45  double getdeltaPhifromrecHits();
46  void checkandfill();
47 
48  // ----------member data ---------------------------
49 
50  // parameters for configuration
51  unsigned int BxRange;
52  double MaxDeltaPhi;
53  std::vector<int> ClusterSet;
54  // Signal for call fillrecHits()
55  bool isLayerset;
57  bool isInputset;
59  // Enable layers in Barrel and Endcap
60  std::vector<unsigned int> LayersinRPC;
64 };
65 
66 #endif
RPCSeedFinder.h
RPCSeedrecHitFinder::ClusterSet
std::vector< int > ClusterSet
Definition: RPCSeedrecHitFinder.h:53
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
Definition: MuonTransientTrackingRecHit.h:22
RPCSeedrecHitFinder::getdeltaPhifromrecHits
double getdeltaPhifromrecHits()
Definition: RPCSeedrecHitFinder.cc:142
RPCSeedrecHitFinder::isLayerset
bool isLayerset
Definition: RPCSeedrecHitFinder.h:55
RPCSeedrecHitFinder::fillrecHits
void fillrecHits()
Definition: RPCSeedrecHitFinder.cc:63
RPCSeedrecHitFinder::LayersinRPC
std::vector< unsigned int > LayersinRPC
Definition: RPCSeedrecHitFinder.h:60
RPCSeedrecHitFinder::~RPCSeedrecHitFinder
~RPCSeedrecHitFinder()
Definition: RPCSeedrecHitFinder.cc:34
RPCSeedrecHitFinder::BxRange
unsigned int BxRange
Definition: RPCSeedrecHitFinder.h:51
RPCSeedrecHitFinder::setOutput
void setOutput(RPCSeedFinder *Seed)
Definition: RPCSeedrecHitFinder.cc:53
RPCSeedrecHitFinder::checkandfill
void checkandfill()
Definition: RPCSeedrecHitFinder.cc:220
MuonTransientTrackingRecHit::ConstMuonRecHitContainer
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
Definition: MuonTransientTrackingRecHit.h:27
RPCSeedrecHitFinder::isConfigured
bool isConfigured
Definition: RPCSeedrecHitFinder.h:56
MuonTransientTrackingRecHit::MuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
Definition: MuonTransientTrackingRecHit.h:26
MuonTransientTrackingRecHit.h
MuonTransientTrackingRecHit::MuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
Definition: MuonTransientTrackingRecHit.h:21
RPCSeedrecHitFinder
Definition: RPCSeedrecHitFinder.h:27
RPCSeedrecHitFinder::isInputset
bool isInputset
Definition: RPCSeedrecHitFinder.h:57
RPCSeedrecHitFinder::therecHits
ConstMuonRecHitContainer therecHits
Definition: RPCSeedrecHitFinder.h:62
RPCSeedrecHitFinder::unsetInput
void unsetInput()
Definition: RPCSeedrecHitFinder.cc:52
RPCSeedFinder
Definition: RPCSeedFinder.h:23
RPCSeedrecHitFinder::isOutputset
bool isOutputset
Definition: RPCSeedrecHitFinder.h:58
RPCSeedrecHitFinder::ConstMuonRecHitPointer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
Definition: RPCSeedrecHitFinder.h:29
FastTrackerRecHitMaskProducer_cfi.recHits
recHits
Definition: FastTrackerRecHitMaskProducer_cfi.py:8
RPCSeedrecHitFinder::MuonRecHitContainer
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
Definition: RPCSeedrecHitFinder.h:30
edm::ParameterSet
Definition: ParameterSet.h:47
RPCSeedrecHitFinder::recHitsRPC
MuonRecHitContainer * recHitsRPC[12]
Definition: RPCSeedrecHitFinder.h:61
RPCSeedrecHitFinder::setInput
void setInput(MuonRecHitContainer(&recHits)[12])
Definition: RPCSeedrecHitFinder.cc:46
RPCSeedrecHitFinder::RPCSeedrecHitFinder
RPCSeedrecHitFinder()
Definition: RPCSeedrecHitFinder.cc:21
RPCSeedrecHitFinder::ConstMuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
Definition: RPCSeedrecHitFinder.h:31
RPCSeedrecHitFinder::complete
void complete(unsigned int LayerIndex)
Definition: RPCSeedrecHitFinder.cc:82
RPCSeedrecHitFinder::MaxDeltaPhi
double MaxDeltaPhi
Definition: RPCSeedrecHitFinder.h:52
RPCLayerNumber
#define RPCLayerNumber
Definition: RPCSeedrecHitFinder.h:16
RPCSeedrecHitFinder::MuonRecHitPointer
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
Definition: RPCSeedrecHitFinder.h:28
RPCSeedrecHitFinder::setLayers
void setLayers(const std::vector< unsigned int > &Layers)
Definition: RPCSeedrecHitFinder.cc:58
ParameterSet.h
RPCSeedrecHitFinder::theSeed
RPCSeedFinder * theSeed
Definition: RPCSeedrecHitFinder.h:63
RPCSeedrecHitFinder::configure
void configure(const edm::ParameterSet &iConfig)
Definition: RPCSeedrecHitFinder.cc:36