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);
37  void setInput(MuonRecHitContainer (&recHits)[RPCLayerNumber]);
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;
61  MuonRecHitContainer* recHitsRPC[RPCLayerNumber];
62  ConstMuonRecHitContainer therecHits;
64 };
65 
66 #endif
void configure(const edm::ParameterSet &iConfig)
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
std::vector< unsigned int > LayersinRPC
void setInput(MuonRecHitContainer(&recHits)[12])
RPCSeedFinder * theSeed
void complete(unsigned int LayerIndex)
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
std::vector< int > ClusterSet
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
void setOutput(RPCSeedFinder *Seed)
MuonRecHitContainer * recHitsRPC[12]
#define RPCLayerNumber
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
ConstMuonRecHitContainer therecHits
std::vector< MuonRecHitPointer > MuonRecHitContainer
void setLayers(const std::vector< unsigned int > &Layers)