CMS 3D CMS Logo

GEMRecHitBaseAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_GEMRecHit_GEMRecHitBaseAlgo_H
2 #define RecoLocalMuon_GEMRecHit_GEMRecHitBaseAlgo_H
3 
17 
20 
21 class GEMCluster;
22 class GEMEtaPartition;
23 class GEMDetId;
24 
25 namespace edm {
26  class ParameterSet;
27  class EventSetup;
28 } // namespace edm
29 
31 public:
34 
36  virtual ~GEMRecHitBaseAlgo();
37 
39  virtual void setES(const edm::EventSetup& setup) = 0;
40 
43  const GEMDetId& gemId,
44  const GEMDigiCollection::Range& digiRange,
45  const EtaPartitionMask& mask);
46 
48  virtual bool compute(const GEMEtaPartition& roll,
49  const GEMCluster& cl,
51  LocalError& error) const = 0;
52 
55  virtual bool compute(const GEMEtaPartition& roll,
56  const GEMCluster& cl,
57  const float& angle,
58  const GlobalPoint& globPos,
60  LocalError& error) const = 0;
61 };
62 #endif
GEMRecHitBaseAlgo::setES
virtual void setES(const edm::EventSetup &setup)=0
Pass the Event Setup to the algo at each event.
GEMRecHitBaseAlgo::compute
virtual bool compute(const GEMEtaPartition &roll, const GEMCluster &cl, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
GEMRecHit.h
edm
HLT enums.
Definition: AlignableModifier.h:19
GEMEtaPartition
Definition: GEMEtaPartition.h:12
GEMRecHitBaseAlgo
Definition: GEMRecHitBaseAlgo.h:30
GEMRecHitBaseAlgo::~GEMRecHitBaseAlgo
virtual ~GEMRecHitBaseAlgo()
Destructor.
Definition: GEMRecHitBaseAlgo.cc:16
GEMEtaPartitionMask.h
relativeConstraints.error
error
Definition: relativeConstraints.py:53
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition: GetRecoTauVFromDQM_MC_cff.py:38
config
Definition: config.py:1
LocalError.h
GEMRecHitBaseAlgo::reconstruct
virtual edm::OwnVector< GEMRecHit > reconstruct(const GEMEtaPartition &roll, const GEMDetId &gemId, const GEMDigiCollection::Range &digiRange, const EtaPartitionMask &mask)
Build all hits in the range associated to the gemId, at the 1st step.
Definition: GEMRecHitBaseAlgo.cc:19
Point3DBase< float, LocalTag >
GEMMaskReClusterizer.h
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
EtaPartitionMask
std::bitset< maskSIZE > EtaPartitionMask
Definition: GEMEtaPartitionMask.h:8
LocalError
Definition: LocalError.h:12
GEMDetId
Definition: GEMDetId.h:17
edm::EventSetup
Definition: EventSetup.h:57
GEMCluster
Definition: GEMCluster.h:5
LocalPoint.h
GEMRecHitBaseAlgo::GEMRecHitBaseAlgo
GEMRecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
Definition: GEMRecHitBaseAlgo.cc:14
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
MuonDigiCollection::Range
std::pair< const_iterator, const_iterator > Range
Definition: MuonDigiCollection.h:95
GEMDigiCollection.h
EventSetup
OwnVector.h
GlobalPoint.h
edm::OwnVector
Definition: OwnVector.h:24