test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ParameterSet;
28  class EventSetup;
29 }
30 
31 
33 
34  public:
35 
38 
40  virtual ~RPCRecHitBaseAlgo();
41 
43  virtual void setES(const edm::EventSetup& setup) = 0;
44 
46  virtual edm::OwnVector<RPCRecHit> reconstruct(const RPCRoll& roll,
47  const RPCDetId& rpcId,
48  const RPCDigiCollection::Range& digiRange,
49  const RollMask& mask);
50 
52  virtual bool compute(const RPCRoll& roll,
53  const RPCCluster& cl,
55  LocalError& error) const = 0;
56 
57 
60  virtual bool compute(const RPCRoll& roll,
61  const RPCCluster& cl,
62  const float& angle,
63  const GlobalPoint& globPos,
64  LocalPoint& Point,
65  LocalError& error) const = 0;
66 };
67 #endif
virtual ~RPCRecHitBaseAlgo()
Destructor.
math::XYZPoint Point
virtual void setES(const edm::EventSetup &setup)=0
Pass the Event Setup to the algo at each event.
std::bitset< maskSIZE > RollMask
Definition: RPCRollMask.h:8
RPCRecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
virtual bool compute(const RPCRoll &roll, const RPCCluster &cl, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
std::pair< const_iterator, const_iterator > Range
virtual edm::OwnVector< RPCRecHit > reconstruct(const RPCRoll &roll, const RPCDetId &rpcId, const RPCDigiCollection::Range &digiRange, const RollMask &mask)
Build all hits in the range associated to the rpcId, at the 1st step.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11