CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CFWriter.h
Go to the documentation of this file.
1 #ifndef CFWriter_h
2 #define CFWriter_h
3 
20 
22 
25 
28 
29 namespace edm
30 {
31 class CFWriter : public edm::EDProducer
32 {
33  public:
34 
35  explicit CFWriter(const edm::ParameterSet& conf);
36 
37  virtual ~CFWriter();
38 
39  void beginJob() {}
40  void beginRun(const edm::Run& run, const edm::EventSetup& es) override;
41  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
42  virtual void put(edm::Event &e) {;}
43 
44  private:
45  inline PCrossingFrame<SimTrack> fctTest (const PCrossingFrame<SimTrack>& p){ return p; std::cout << " call PCrossingFrame object" << std::endl;};
46 
48  std::vector<std::string> wantedBranches_;
55 
56  typedef std::vector<edm::HepMCProduct> HepMCProductContainer;
57  std::vector<std::string> labSimHit;
58  std::vector<std::string> labCaloHit;
59 
60 };
61 }//edm
62 #endif
void beginJob()
Definition: CFWriter.h:39
bool useCurrentProcessOnly_
Definition: CFWriter.h:49
virtual void put(edm::Event &e)
Definition: CFWriter.h:42
std::vector< edm::HepMCProduct > HepMCProductContainer
Definition: CFWriter.h:56
std::vector< std::string > labCaloHit
Definition: CFWriter.h:58
bool flagSimVertex_
Definition: CFWriter.h:51
bool flagPSimHit_
Definition: CFWriter.h:54
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: CFWriter.cc:148
PCrossingFrame< SimTrack > fctTest(const PCrossingFrame< SimTrack > &p)
Definition: CFWriter.h:45
std::vector< std::string > labSimHit
Definition: CFWriter.h:57
std::string friendlyName(std::string const &iFullName)
std::vector< std::string > wantedBranches_
Definition: CFWriter.h:48
bool flagPCaloHit_
Definition: CFWriter.h:53
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: CFWriter.cc:140
virtual void branchesActivate(const std::string &friendlyName, std::string subdet, InputTag &tag, std::string &label)
Definition: CFWriter.cc:241
tuple conf
Definition: dbtoconf.py:185
bool flagHepMCProduct_
Definition: CFWriter.h:52
virtual ~CFWriter()
Definition: CFWriter.cc:145
tuple cout
Definition: gather_cfg.py:121
bool flagSimTrack_
Definition: CFWriter.h:50
CFWriter(const edm::ParameterSet &conf)
Definition: CFWriter.cc:38
Definition: Run.h:41