CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CkfDebugTrackCandidateMaker.h
Go to the documentation of this file.
1 
2 #ifndef CkfDebugTrackCandidateMaker_h
3 #define CkfDebugTrackCandidateMaker_h
4 
8 
9 namespace cms {
11  public:
13  produces<TrackCandidateCollection>();
14  }
15 
16  virtual void beginRun (edm::Run & run, edm::EventSetup const & es){
17  beginRunBase(run,es);
18  initDebugger(es);
19  }
20 
21  virtual void produce(edm::Event& e, const edm::EventSetup& es){produceBase(e,es);}
22  virtual void endJob() {delete dbg; }
23 
24  private:
25  virtual TrajectorySeedCollection::const_iterator
26  lastSeed(TrajectorySeedCollection& theSeedColl){return theSeedColl.begin()+1;}
27 
28  void initDebugger(edm::EventSetup const & es){
29  dbg = new CkfDebugger(es);
32  else throw cms::Exception("CkfDebugger") << "please use CkfDebugTrajectoryBuilder";
33  //theTrajectoryBuilder->setDebugger( dbg);
34  };
35 
39  void deleteDebugger(){delete dbg;};
40  CkfDebugger * dbg;
42  };
43 }
44 
45 #endif
void printSimHits(const edm::Event &iEvent)
Definition: CkfDebugger.cc:145
virtual void beginRun(edm::Run &run, edm::EventSetup const &es)
const CkfDebugTrajectoryBuilder * myTrajectoryBuilder
void initDebugger(edm::EventSetup const &es)
const TrajectoryBuilder * theTrajectoryBuilder
virtual void produce(edm::Event &e, const edm::EventSetup &es)
void deleteHitAssociator()
Definition: CkfDebugger.h:70
void countSeed()
Definition: CkfDebugger.h:56
virtual TrajectorySeedCollection::const_iterator lastSeed(TrajectorySeedCollection &theSeedColl)
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual void produceBase(edm::Event &e, const edm::EventSetup &es)
tuple conf
Definition: dbtoconf.py:185
virtual void beginRunBase(edm::Run &, edm::EventSetup const &es)
CkfDebugTrackCandidateMaker(const edm::ParameterSet &conf)
Definition: Run.h:33
virtual void setDebugger(CkfDebugger *dbg) const