CMS 3D CMS Logo

RPCRecHitBaseAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_RPCRecHitBaseAlgo_H
2 #define RecoLocalMuon_RPCRecHitBaseAlgo_H
3 
17 
20 
21 class RPCCluster;
22 class RPCRoll;
23 class RPCDetId;
24 
25 namespace edm {
26  class EventSetup;
27 }
28 
30 public:
33 
35  virtual ~RPCRecHitBaseAlgo(){};
36 
38  virtual void setES(const edm::EventSetup& setup) = 0;
39 
41  virtual edm::OwnVector<RPCRecHit> reconstruct(const RPCRoll& roll,
42  const RPCDetId& rpcId,
43  const RPCDigiCollection::Range& digiRange,
44  const RollMask& mask);
45 
47  virtual bool compute(const RPCRoll& roll,
48  const RPCCluster& cl,
51  float& time,
52  float& timeErr) const = 0;
53 
56  virtual bool compute(const RPCRoll& roll,
57  const RPCCluster& cl,
58  const float& angle,
59  const GlobalPoint& globPos,
62  float& time,
63  float& timeErr) const = 0;
64 };
65 #endif
RPCRoll
Definition: RPCRoll.h:12
RollMask
std::bitset< maskSIZE > RollMask
Definition: RPCRollMask.h:7
edm
HLT enums.
Definition: AlignableModifier.h:19
RPCRecHitBaseAlgo::compute
virtual bool compute(const RPCRoll &roll, const RPCCluster &cl, LocalPoint &Point, LocalError &error, float &time, float &timeErr) const =0
standard local recHit computation
RPCDetId
Definition: RPCDetId.h:16
RPCRecHitBaseAlgo::~RPCRecHitBaseAlgo
virtual ~RPCRecHitBaseAlgo()
Destructor.
Definition: RPCRecHitBaseAlgo.h:35
protons_cff.time
time
Definition: protons_cff.py:35
relativeConstraints.error
error
Definition: relativeConstraints.py:53
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
RPCRecHitBaseAlgo::setES
virtual void setES(const edm::EventSetup &setup)=0
Pass the Event Setup to the algo at each event.
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition: GetRecoTauVFromDQM_MC_cff.py:38
config
Definition: config.py:1
LocalError.h
Point3DBase< float, LocalTag >
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
edm::ParameterSet
Definition: ParameterSet.h:47
LocalError
Definition: LocalError.h:12
RPCCluster
Definition: RPCCluster.h:4
edm::EventSetup
Definition: EventSetup.h:58
RPCRecHitBaseAlgo::reconstruct
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.
Definition: RPCRecHitBaseAlgo.cc:19
RPCRecHitBaseAlgo
Definition: RPCRecHitBaseAlgo.h:29
LocalPoint.h
RPCRollMask.h
RPCRecHit.h
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
MuonDigiCollection< RPCDetId, RPCDigi >::Range
std::pair< const_iterator, const_iterator > Range
Definition: MuonDigiCollection.h:95
RPCDigiCollection.h
EventSetup
ParameterSet.h
OwnVector.h
GlobalPoint.h
edm::OwnVector
Definition: OwnVector.h:24
RPCRecHitBaseAlgo::RPCRecHitBaseAlgo
RPCRecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
Definition: RPCRecHitBaseAlgo.cc:13