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 class GEMCSCSegFit;
24 
26 public:
28  explicit GEMCSCSegAlgoRR(const edm::ParameterSet& ps);
29 
31  ~GEMCSCSegAlgoRR() override;
32 
36  std::vector<GEMCSCSegment> run(const std::map<uint32_t, const CSCLayer*>& csclayermap,
37  const std::map<uint32_t, const GEMEtaPartition*>& gemrollmap,
38  const std::vector<const CSCSegment*>& cscsegments,
39  const std::vector<const GEMRecHit*>& gemrechits) override;
40 
41 private:
43 
46  std::vector<const TrackingRecHit*> chainHitsToSegm(const CSCSegment* cscsegment,
47  const std::vector<const GEMRecHit*>& gemrechits);
48 
52  std::vector<GEMCSCSegment> buildSegments(const CSCSegment* cscsegment,
53  const std::vector<const TrackingRecHit*>& rechits);
54 
56  bool debug;
57  unsigned int minHitsPerSegment;
59  double dXclusBoxMax;
60  double dYclusBoxMax;
64  double dRChainBoxMax;
66 
68  const std::string myName; // name of the algorithm, here: GEMCSCSegAlgoRR
69 
70  std::map<uint32_t, const CSCLayer*> theCSCLayers_;
71  std::map<uint32_t, const GEMEtaPartition*> theGEMEtaParts_;
73 };
74 
75 #endif
bool preClustering_useChaining
std::vector< const TrackingRecHit * > chainHitsToSegm(const CSCSegment *cscsegment, const std::vector< const GEMRecHit *> &gemrechits)
Utility functions.
GEMCSCSegFit * sfit_
const std::string myName
Member variables.
~GEMCSCSegAlgoRR() override
Destructor.
unsigned int minHitsPerSegment
std::map< uint32_t, const GEMEtaPartition * > theGEMEtaParts_
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) override
bool debug
Configuration parameters.
GEMCSCSegAlgoRR(const edm::ParameterSet &ps)
Constructor.
std::map< uint32_t, const CSCLayer * > theCSCLayers_
double dThetaChainBoxMax
std::vector< GEMCSCSegment > buildSegments(const CSCSegment *cscsegment, const std::vector< const TrackingRecHit *> &rechits)