CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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  class CFWriter : public edm::stream::EDProducer<> {
31  public:
32  explicit CFWriter(const edm::ParameterSet& conf);
33 
34  ~CFWriter() override;
35 
36  //void beginJob() {}
37  void beginRun(const edm::Run& run, const edm::EventSetup& es) override;
38  void produce(edm::Event& e, const edm::EventSetup& c) override;
39  virtual void put(edm::Event& e) { ; }
40 
41  private:
43  return p;
44  std::cout << " call PCrossingFrame object" << std::endl;
45  };
46 
47  virtual void branchesActivate(const std::string& friendlyName,
48  std::string subdet,
49  InputTag& tag,
51  std::vector<std::string> wantedBranches_;
58 
59  typedef std::vector<edm::HepMCProduct> HepMCProductContainer;
60  std::vector<std::string> labSimHit;
61  std::vector<std::string> labCaloHit;
62  };
63 } // namespace edm
64 #endif
bool useCurrentProcessOnly_
Definition: CFWriter.h:52
const edm::EventSetup & c
~CFWriter() override
Definition: CFWriter.cc:152
virtual void put(edm::Event &e)
Definition: CFWriter.h:39
std::vector< edm::HepMCProduct > HepMCProductContainer
Definition: CFWriter.h:59
std::vector< std::string > labCaloHit
Definition: CFWriter.h:61
bool flagSimVertex_
Definition: CFWriter.h:54
bool flagPSimHit_
Definition: CFWriter.h:57
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: CFWriter.cc:154
PCrossingFrame< SimTrack > fctTest(const PCrossingFrame< SimTrack > &p)
Definition: CFWriter.h:42
char const * label
std::vector< std::string > labSimHit
Definition: CFWriter.h:60
std::string friendlyName(std::string const &iFullName)
std::vector< std::string > wantedBranches_
Definition: CFWriter.h:51
bool flagPCaloHit_
Definition: CFWriter.h:56
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: CFWriter.cc:150
virtual void branchesActivate(const std::string &friendlyName, std::string subdet, InputTag &tag, std::string &label)
Definition: CFWriter.cc:235
bool flagHepMCProduct_
Definition: CFWriter.h:55
tuple cout
Definition: gather_cfg.py:144
bool flagSimTrack_
Definition: CFWriter.h:53
CFWriter(const edm::ParameterSet &conf)
Definition: CFWriter.cc:34
Definition: Run.h:45