CMS 3D CMS Logo

CSCBaseValidation.h
Go to the documentation of this file.
1 #ifndef Validation_MuonCSCDigis_CSCBaseValidation_h
2 #define Validation_MuonCSCDigis_CSCBaseValidation_h
3 
4 // user include files
5 
8 
13 
15 public:
18 
20  virtual ~CSCBaseValidation() {}
22  void setSimHitMap(const PSimHitMap *simHitMap) { theSimHitMap = simHitMap; }
23  virtual void analyze(const edm::Event &e, const edm::EventSetup &eventSetup) = 0;
24 
25 protected:
26  bool isSimTrackGood(const SimTrack &t) const;
27 
28  bool doSim_;
29  const CSCLayer *findLayer(int detId) const;
32 
36 };
37 
38 #endif
const CSCGeometry * theCSCGeometry
virtual void analyze(const edm::Event &e, const edm::EventSetup &eventSetup)=0
void setGeometry(const CSCGeometry *geom)
bool isSimTrackGood(const SimTrack &t) const
const PSimHitMap * theSimHitMap
const CSCLayer * findLayer(int detId) const
dqm::legacy::DQMStore DQMStore
CSCBaseValidation(const edm::ParameterSet &ps)
void setSimHitMap(const PSimHitMap *simHitMap)
dqm::legacy::MonitorElement MonitorElement
virtual ~CSCBaseValidation()