CMS 3D CMS Logo

GEMCSCSegAlgoRR.h
Go to the documentation of this file.
1 #ifndef GEMRecHit_GEMCSCSegAlgoRR_h
2 #define GEMRecHit_GEMCSCSegAlgoRR_h
3 
19 
20 #include <deque>
21 #include <vector>
22 
23 
24 class GEMCSCSegFit;
25 
27 
28 
29 public:
30 
32  explicit GEMCSCSegAlgoRR(const edm::ParameterSet& ps);
33 
36 
40  std::vector<GEMCSCSegment> run( const std::map<uint32_t, const CSCLayer*>& csclayermap, const std::map<uint32_t, const GEMEtaPartition*>& gemrollmap,
41  const std::vector<const CSCSegment*>& cscsegments, const std::vector<const GEMRecHit*>& gemrechits);
42 private:
43 
45 
48  std::vector<const TrackingRecHit*> chainHitsToSegm(const CSCSegment* cscsegment, const std::vector<const GEMRecHit*>& gemrechits);
49 
50 
54  std::vector<GEMCSCSegment> buildSegments(const CSCSegment* cscsegment, const std::vector<const TrackingRecHit*>& rechits);
55 
56 
58  bool debug;
59  unsigned int minHitsPerSegment;
61  double dXclusBoxMax;
62  double dYclusBoxMax;
66  double dRChainBoxMax;
68 
70  const std::string myName; // name of the algorithm, here: GEMCSCSegAlgoRR
71 
72  std::map<uint32_t, const CSCLayer*> theCSCLayers_;
73  std::map<uint32_t, const GEMEtaPartition*> theGEMEtaParts_;
75 };
76 
77 #endif
bool preClustering_useChaining
GEMCSCSegFit * sfit_
const std::string myName
Member variables.
unsigned int minHitsPerSegment
std::vector< GEMCSCSegment > buildSegments(const CSCSegment *cscsegment, const std::vector< const TrackingRecHit * > &rechits)
std::map< uint32_t, const GEMEtaPartition * > theGEMEtaParts_
~GEMCSCSegAlgoRR()
Destructor.
std::vector< const TrackingRecHit * > chainHitsToSegm(const CSCSegment *cscsegment, const std::vector< const GEMRecHit * > &gemrechits)
Utility functions.
bool debug
Configuration parameters.
GEMCSCSegAlgoRR(const edm::ParameterSet &ps)
Constructor.
std::map< uint32_t, const CSCLayer * > theCSCLayers_
std::vector< GEMCSCSegment > run(const std::map< uint32_t, const CSCLayer * > &csclayermap, const std::map< uint32_t, const GEMEtaPartition * > &gemrollmap, const std::vector< const CSCSegment * > &cscsegments, const std::vector< const GEMRecHit * > &gemrechits)
double dThetaChainBoxMax