CMS 3D CMS Logo

GEMRecHitBaseAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_GEMRecHitBaseAlgo_H
2 #define RecoLocalMuon_GEMRecHitBaseAlgo_H
3 
18 
21 
22 class GEMCluster;
23 class GEMEtaPartition;
24 class GEMDetId;
25 
26 namespace edm {
27  class ParameterSet;
28  class EventSetup;
29 }
30 
31 
33 
34  public:
35 
38 
40  virtual ~GEMRecHitBaseAlgo();
41 
43  virtual void setES(const edm::EventSetup& setup) = 0;
44 
46  virtual edm::OwnVector<GEMRecHit> reconstruct(const GEMEtaPartition& roll,
47  const GEMDetId& gemId,
48  const GEMDigiCollection::Range& digiRange,
49  const EtaPartitionMask& mask);
50 
52  virtual bool compute(const GEMEtaPartition& roll,
53  const GEMCluster& cl,
55  LocalError& error) const = 0;
56 
57 
60  virtual bool compute(const GEMEtaPartition& roll,
61  const GEMCluster& cl,
62  const float& angle,
63  const GlobalPoint& globPos,
64  LocalPoint& Point,
65  LocalError& error) const = 0;
66 };
67 #endif
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
Definition: config.py:1
math::XYZPoint Point
std::bitset< maskSIZE > EtaPartitionMask
def compute(min, max)
HLT enums.
std::pair< const_iterator, const_iterator > Range
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11