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 
15 
16 
17 #ifndef RPCLayerNumber
18 #define RPCLayerNumber 12
19 #endif
20 
21 #ifndef BarrelLayerNumber
22 #define BarrelLayerNumber 6
23 #endif
24 
25 #ifndef EachEndcapLayerNumber
26 #define EachEndcapLayerNumber 3
27 #endif
28 
30 
35 
36  public:
39  void configure(const edm::ParameterSet& iConfig);
40  void setInput(MuonRecHitContainer (&recHits)[RPCLayerNumber]);
41  void unsetInput();
42  void setOutput(RPCSeedFinder *Seed);
43  void setLayers(const std::vector<unsigned int>& Layers);
44  void fillrecHits();
45  private:
46  void complete(unsigned int LayerIndex);
47  double getdeltaPhifromrecHits();
48  void checkandfill();
49 
50  // ----------member data ---------------------------
51 
52  // parameters for configuration
53  unsigned int BxRange;
54  double MaxDeltaPhi;
55  std::vector<int> ClusterSet;
56  // Signal for call fillrecHits()
57  bool isLayerset;
59  bool isInputset;
61  // Enable layers in Barrel and Endcap
62  std::vector<unsigned int> LayersinRPC;
63  MuonRecHitContainer* recHitsRPC[RPCLayerNumber];
64  ConstMuonRecHitContainer therecHits;
66 };
67 
68 #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)