CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPCSeedLayerFinder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonSeedGenerator_RPCSeedLayerFinder_H
2 #define RecoMuon_MuonSeedGenerator_RPCSeedLayerFinder_H
3 
15 
16 #ifndef RPCLayerNumber
17 #define RPCLayerNumber 12
18 #endif
19 
20 #ifndef BarrelLayerNumber
21 #define BarrelLayerNumber 6
22 #endif
23 
24 #ifndef EachEndcapLayerNumber
25 #define EachEndcapLayerNumber 3
26 #endif
27 
33 
34 public:
37  void configure(const edm::ParameterSet& iConfig);
38  void setInput(MuonRecHitContainer (&recHitsRPC)[RPCLayerNumber]);
39  void unsetInput();
41  void fill();
42 
43 private:
44  void fillLayers();
45  void fillCosmicLayers();
46  // create special N layers to fill to seeds
47  void SpecialLayers(int last, unsigned int NumberofLayers, int type);
48  bool checkConstrain();
49 
50  // ----------member data ---------------------------
51 
52  // The ref of RPCSeedrecHitFinder which will be call after gathering a set of layers
55  // The parameters for configuration
56  bool isCosmic;
58  std::vector<unsigned int> RangeofLayersinBarrel;
59  std::vector<unsigned int> RangeofLayersinEndcap;
61  std::vector<unsigned int> LayersinEndcap;
62  std::vector<unsigned int> LayersinBarrel;
63  std::vector<unsigned int> constrainedLayersinBarrel;
64  // Signal for call fillLayers()
66  bool isInputset;
68  // Enable layers in Barrel and Endcap
69  std::vector<unsigned int> LayersinRPC;
70  // Information of recHits in each layer
72 };
73 
74 #endif
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
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)
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
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
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
tuple last
Definition: dqmdumpme.py:56
unsigned int recHitsinLayers[12]
std::vector< MuonRecHitPointer > MuonRecHitContainer
void SpecialLayers(int last, unsigned int NumberofLayers, int type)