CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCSeedLayerFinder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonSeedGenerator_RPCSeedLayerFinder_H
2 #define RecoMuon_MuonSeedGenerator_RPCSeedLayerFinder_H
3 
16 
17 
18 #ifndef RPCLayerNumber
19 #define RPCLayerNumber 12
20 #endif
21 
22 #ifndef BarrelLayerNumber
23 #define BarrelLayerNumber 6
24 #endif
25 
26 #ifndef EachEndcapLayerNumber
27 #define EachEndcapLayerNumber 3
28 #endif
29 
30 
32 
37 
38  public:
41  void configure(const edm::ParameterSet& iConfig);
42  void setInput(MuonRecHitContainer (&recHitsRPC)[RPCLayerNumber]);
43  void unsetInput();
45  void fill();
46 
47  private:
48  void fillLayers();
49  void fillCosmicLayers();
50  // create special N layers to fill to seeds
51  void SpecialLayers(int last, unsigned int NumberofLayers, int type);
52  bool checkConstrain();
53 
54  // ----------member data ---------------------------
55 
56  // The ref of RPCSeedrecHitFinder which will be call after gathering a set of layers
59  // The parameters for configuration
60  bool isCosmic;
62  std::vector<unsigned int> RangeofLayersinBarrel;
63  std::vector<unsigned int> RangeofLayersinEndcap;
65  std::vector<unsigned int> LayersinEndcap;
66  std::vector<unsigned int> LayersinBarrel;
67  std::vector<unsigned int> constrainedLayersinBarrel;
68  // Signal for call fillLayers()
70  bool isInputset;
72  // Enable layers in Barrel and Endcap
73  std::vector<unsigned int> LayersinRPC;
74  // Information of recHits in each layer
76 };
77 
78 #endif
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
type
Definition: HCALResponse.h:21
std::vector< unsigned int > LayersinEndcap
std::vector< unsigned int > LayersinBarrel
std::vector< unsigned int > RangeofLayersinBarrel
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
RPCCosmicSeedrecHitFinder * RPCCosmicrecHitFinderRef
std::vector< unsigned int > RangeofLayersinEndcap
#define RPCLayerNumber
void configure(const edm::ParameterSet &iConfig)
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
void setInput(MuonRecHitContainer(&recHitsRPC)[12])
RPCSeedrecHitFinder * RPCrecHitFinderRef
std::vector< unsigned int > constrainedLayersinBarrel
void setOutput(RPCSeedrecHitFinder *Ref, RPCCosmicSeedrecHitFinder *CosmicRef)
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
std::vector< unsigned int > LayersinRPC
MuonTransientTrackingRecHit const * ConstMuonRecHitPointer
unsigned int recHitsinLayers[12]
std::vector< MuonRecHitPointer > MuonRecHitContainer
void SpecialLayers(int last, unsigned int NumberofLayers, int type)