CMS 3D CMS Logo

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
edm::CFWriter::flagPCaloHit_
bool flagPCaloHit_
Definition: CFWriter.h:56
Handle.h
edm::CFWriter::flagHepMCProduct_
bool flagHepMCProduct_
Definition: CFWriter.h:55
edm::CFWriter::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: CFWriter.cc:150
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
gather_cfg.cout
cout
Definition: gather_cfg.py:144
PCrossingFrame
Definition: CrossingFrame.h:27
EDProducer.h
edm::CFWriter::~CFWriter
~CFWriter() override
Definition: CFWriter.cc:152
edm::CFWriter::put
virtual void put(edm::Event &e)
Definition: CFWriter.h:39
edm::CFWriter::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: CFWriter.cc:154
edm::CFWriter::CFWriter
CFWriter(const edm::ParameterSet &conf)
Definition: CFWriter.cc:34
edm::CFWriter::HepMCProductContainer
std::vector< edm::HepMCProduct > HepMCProductContainer
Definition: CFWriter.h:59
edm::CFWriter::useCurrentProcessOnly_
bool useCurrentProcessOnly_
Definition: CFWriter.h:52
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::CFWriter::flagSimVertex_
bool flagSimVertex_
Definition: CFWriter.h:54
edm::CFWriter::flagPSimHit_
bool flagPSimHit_
Definition: CFWriter.h:57
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::CFWriter::wantedBranches_
std::vector< std::string > wantedBranches_
Definition: CFWriter.h:51
edm::friendlyname::friendlyName
std::string friendlyName(std::string const &iFullName)
Definition: FriendlyName.cc:278
PCrossingFrame.h
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:58
InputTag.h
edm::CFWriter::branchesActivate
virtual void branchesActivate(const std::string &friendlyName, std::string subdet, InputTag &tag, std::string &label)
Definition: CFWriter.cc:235
writedatasetfile.run
run
Definition: writedatasetfile.py:27
EventSetup.h
ParameterSet.h
edm::CFWriter
Definition: CFWriter.h:30
HepMCProduct.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::CFWriter::labCaloHit
std::vector< std::string > labCaloHit
Definition: CFWriter.h:61
edm::Event
Definition: Event.h:73
edm::CFWriter::labSimHit
std::vector< std::string > labSimHit
Definition: CFWriter.h:60
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
edm::CFWriter::fctTest
PCrossingFrame< SimTrack > fctTest(const PCrossingFrame< SimTrack > &p)
Definition: CFWriter.h:42
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::CFWriter::flagSimTrack_
bool flagSimTrack_
Definition: CFWriter.h:53