CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ME0RecHitBaseAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_ME0RecHitBaseAlgo_H
2 #define RecoLocalMuon_ME0RecHitBaseAlgo_H
3 
20 
21 class ME0DetId;
22 
23 namespace edm {
24  class ParameterSet;
25  class EventSetup;
26 }
27 
28 
30 
31  public:
32 
35 
37  virtual ~ME0RecHitBaseAlgo();
38 
40  virtual void setES(const edm::EventSetup& setup) = 0;
41 
43  virtual edm::OwnVector<ME0RecHit> reconstruct(const ME0DetId& me0Id,
44  const ME0DigiPreRecoCollection::Range& digiRange);
45 
47  virtual bool compute(const ME0DigiPreReco& digi,
49  LocalError& error) const = 0;
50 
51 };
52 #endif
53 
ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
virtual void setES(const edm::EventSetup &setup)=0
Pass the Event Setup to the algo at each event.
virtual ~ME0RecHitBaseAlgo()
Destructor.
math::XYZPoint Point
virtual edm::OwnVector< ME0RecHit > reconstruct(const ME0DetId &me0Id, const ME0DigiPreRecoCollection::Range &digiRange)
Build all hits in the range associated to the me0Id, at the 1st step.
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
std::pair< const_iterator, const_iterator > Range
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")