CMS 3D CMS Logo

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
RPCSeedLayerFinder::setInput
void setInput(MuonRecHitContainer(&recHitsRPC)[12])
Definition: RPCSeedLayerFinder.cc:36
RPCSeedLayerFinder::checkConstrain
bool checkConstrain()
Definition: RPCSeedLayerFinder.cc:354
RPCSeedLayerFinder::setOutput
void setOutput(RPCSeedrecHitFinder *Ref, RPCCosmicSeedrecHitFinder *CosmicRef)
Definition: RPCSeedLayerFinder.cc:46
RPCSeedLayerFinder::isInputset
bool isInputset
Definition: RPCSeedLayerFinder.h:66
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
Definition: MuonTransientTrackingRecHit.h:22
RPCSeedrecHitFinder.h
RPCSeedLayerFinder::RangeofLayersinEndcap
std::vector< unsigned int > RangeofLayersinEndcap
Definition: RPCSeedLayerFinder.h:59
RPCCosmicSeedrecHitFinder.h
RPCSeedLayerFinder::fillCosmicLayers
void fillCosmicLayers()
Definition: RPCSeedLayerFinder.cc:185
RPCSeedLayerFinder::fillLayers
void fillLayers()
Definition: RPCSeedLayerFinder.cc:77
RPCSeedLayerFinder::RPCrecHitFinderRef
RPCSeedrecHitFinder * RPCrecHitFinderRef
Definition: RPCSeedLayerFinder.h:53
MuonTransientTrackingRecHit::ConstMuonRecHitContainer
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
Definition: MuonTransientTrackingRecHit.h:27
RPCSeedLayerFinder::isConfigured
bool isConfigured
Definition: RPCSeedLayerFinder.h:65
MuonTransientTrackingRecHit::MuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
Definition: MuonTransientTrackingRecHit.h:26
MuonTransientTrackingRecHit.h
RPCSeedLayerFinder::RangeofLayersinBarrel
std::vector< unsigned int > RangeofLayersinBarrel
Definition: RPCSeedLayerFinder.h:58
RPCSeedLayerFinder::MuonRecHitContainer
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
Definition: RPCSeedLayerFinder.h:31
RPCSeedLayerFinder::ConstMuonRecHitPointer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
Definition: RPCSeedLayerFinder.h:30
RPCSeedLayerFinder::RPCSeedLayerFinder
RPCSeedLayerFinder()
Definition: RPCSeedLayerFinder.cc:11
RPCSeedLayerFinder
Definition: RPCSeedLayerFinder.h:28
RPCSeedLayerFinder::unsetInput
void unsetInput()
Definition: RPCSeedLayerFinder.cc:44
RPCSeedLayerFinder::isMixBarrelwithEndcap
bool isMixBarrelwithEndcap
Definition: RPCSeedLayerFinder.h:57
dqmdumpme.last
last
Definition: dqmdumpme.py:56
RPCSeedLayerFinder::isCosmic
bool isCosmic
Definition: RPCSeedLayerFinder.h:56
MuonTransientTrackingRecHit::MuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
Definition: MuonTransientTrackingRecHit.h:21
RPCSeedrecHitFinder
Definition: RPCSeedrecHitFinder.h:27
RPCLayerNumber
#define RPCLayerNumber
Definition: RPCCosmicSeedrecHitFinder.h:18
RPCSeedLayerFinder::MuonRecHitPointer
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
Definition: RPCSeedLayerFinder.h:29
RPCSeedLayerFinder::SpecialLayers
void SpecialLayers(int last, unsigned int NumberofLayers, int type)
Definition: RPCSeedLayerFinder.cc:267
RPCSeedLayerFinder::constrainedLayersinBarrel
std::vector< unsigned int > constrainedLayersinBarrel
Definition: RPCSeedLayerFinder.h:63
RPCSeedLayerFinder::RPCCosmicrecHitFinderRef
RPCCosmicSeedrecHitFinder * RPCCosmicrecHitFinderRef
Definition: RPCSeedLayerFinder.h:54
RPCSeedLayerFinder::recHitsinLayers
unsigned int recHitsinLayers[12]
Definition: RPCSeedLayerFinder.h:71
edm::ParameterSet
Definition: ParameterSet.h:47
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
RPCCosmicSeedrecHitFinder
Definition: RPCCosmicSeedrecHitFinder.h:29
RPCSeedLayerFinder::LayersinBarrel
std::vector< unsigned int > LayersinBarrel
Definition: RPCSeedLayerFinder.h:62
RPCSeedLayerFinder::isOutputset
bool isOutputset
Definition: RPCSeedLayerFinder.h:67
RPCSeedLayerFinder::isSpecialLayers
bool isSpecialLayers
Definition: RPCSeedLayerFinder.h:60
reco::JetExtendedAssociation::Ref
edm::Ref< Container > Ref
Definition: JetExtendedAssociation.h:32
RPCSeedLayerFinder::configure
void configure(const edm::ParameterSet &iConfig)
Definition: RPCSeedLayerFinder.cc:21
RPCSeedLayerFinder::LayersinRPC
std::vector< unsigned int > LayersinRPC
Definition: RPCSeedLayerFinder.h:69
ParameterSet.h
RPCSeedLayerFinder::~RPCSeedLayerFinder
~RPCSeedLayerFinder()
Definition: RPCSeedLayerFinder.cc:19
RPCSeedLayerFinder::LayersinEndcap
std::vector< unsigned int > LayersinEndcap
Definition: RPCSeedLayerFinder.h:61
RPCSeedLayerFinder::fill
void fill()
Definition: RPCSeedLayerFinder.cc:52
RPCSeedLayerFinder::ConstMuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
Definition: RPCSeedLayerFinder.h:32