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 
23 
26 
29 
30 namespace edm
31 {
32 class CFWriter : public edm::EDProducer
33 {
34  public:
35 
36  explicit CFWriter(const edm::ParameterSet& conf);
37 
38  virtual ~CFWriter();
39 
40  void beginJob() {}
41  void beginRun(const edm::Run& run, const edm::EventSetup& es);
42  virtual void produce(edm::Event& e, const edm::EventSetup& c);
43  virtual void put(edm::Event &e) {;}
44 
45  private:
46  inline PCrossingFrame<SimTrack> fctTest (PCrossingFrame<SimTrack> p){ return p; std::cout << " call PCrossingFrame object" << std::endl;};
47 
48  virtual void branchesActivate(const std::string &friendlyName, std::string subdet,InputTag &tag,std::string &label);
49  std::vector<std::string> wantedBranches_;
56 
57  typedef std::vector<edm::HepMCProduct> HepMCProductContainer;
58  std::vector<std::string> labSimHit;
59  std::vector<std::string> labCaloHit;
60 
61 };
62 }//edm
63 #endif
void beginJob()
Definition: CFWriter.h:40
bool useCurrentProcessOnly_
Definition: CFWriter.h:50
const std::string & label
Definition: MVAComputer.cc:186
virtual void put(edm::Event &e)
Definition: CFWriter.h:43
std::vector< edm::HepMCProduct > HepMCProductContainer
Definition: CFWriter.h:57
std::vector< std::string > labCaloHit
Definition: CFWriter.h:59
bool flagSimVertex_
Definition: CFWriter.h:52
bool flagPSimHit_
Definition: CFWriter.h:55
std::vector< std::string > labSimHit
Definition: CFWriter.h:58
std::string friendlyName(std::string const &iFullName)
std::vector< std::string > wantedBranches_
Definition: CFWriter.h:49
bool flagPCaloHit_
Definition: CFWriter.h:54
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:53
PCrossingFrame< SimTrack > fctTest(PCrossingFrame< SimTrack > p)
Definition: CFWriter.h:46
virtual void produce(edm::Event &e, const edm::EventSetup &c)
Definition: CFWriter.cc:148
virtual ~CFWriter()
Definition: CFWriter.cc:145
tuple cout
Definition: gather_cfg.py:41
bool flagSimTrack_
Definition: CFWriter.h:51
void beginRun(const edm::Run &run, const edm::EventSetup &es)
Definition: CFWriter.cc:140
CFWriter(const edm::ParameterSet &conf)
Definition: CFWriter.cc:38
Definition: Run.h:31