CMS 3D CMS Logo

RPCRecHitBaseAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_RPCRecHitBaseAlgo_H
2 #define RecoLocalMuon_RPCRecHitBaseAlgo_H
3 
18 
21 
22 class RPCCluster;
23 class RPCRoll;
24 class RPCDetId;
25 
26 namespace edm {
27  class EventSetup;
28 }
29 
31  public:
34 
36  virtual ~RPCRecHitBaseAlgo() {};
37 
39  virtual void setES(const edm::EventSetup& setup) = 0;
40 
42  virtual edm::OwnVector<RPCRecHit> reconstruct(const RPCRoll& roll,
43  const RPCDetId& rpcId,
44  const RPCDigiCollection::Range& digiRange,
45  const RollMask& mask);
46 
48  virtual bool compute(const RPCRoll& roll,
49  const RPCCluster& cl,
52  float& time, float& timeErr) const = 0;
53 
56  virtual bool compute(const RPCRoll& roll,
57  const RPCCluster& cl,
58  const float& angle,
59  const GlobalPoint& globPos,
60  LocalPoint& Point,
61  LocalError& error,
62  float& time, float& timeErr) const = 0;
63 };
64 #endif
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
Definition: config.py:1
virtual ~RPCRecHitBaseAlgo()
Destructor.
math::XYZPoint Point
std::bitset< maskSIZE > RollMask
Definition: RPCRollMask.h:7
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