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 
20 
23 
24 class RPCCluster;
25 class RPCRoll;
26 class RPCDetId;
27 
28 namespace edm {
29  class ParameterSet;
30  class EventSetup;
31 }
32 
33 
35 
36  public:
37 
40 
42  virtual ~RPCRecHitBaseAlgo();
43 
45  virtual void setES(const edm::EventSetup& setup) = 0;
46 
48  virtual edm::OwnVector<RPCRecHit> reconstruct(const RPCRoll& roll,
49  const RPCDetId& rpcId,
50  const RPCDigiCollection::Range& digiRange,
51  const RollMask& mask);
52 
54  virtual bool compute(const RPCRoll& roll,
55  const RPCCluster& cl,
57  LocalError& error) const = 0;
58 
59 
62  virtual bool compute(const RPCRoll& roll,
63  const RPCCluster& cl,
64  const float& angle,
65  const GlobalPoint& globPos,
66  LocalPoint& Point,
67  LocalError& error) const = 0;
68 };
69 #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.
float cl
Definition: Combine.cc:71
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.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11