1 #ifndef PhysicsTools_NanoAOD_NanoAODRNTuples_h 2 #define PhysicsTools_NanoAOD_NanoAODRNTuples_h 14 #include <ROOT/RNTuple.hxx> 15 #if ROOT_VERSION_CODE < ROOT_VERSION(6, 31, 0) 16 using ROOT::Experimental::RCollectionNTupleWriter;
18 #include <ROOT/RNTupleWriter.hxx> 19 #include <ROOT/RNTupleCollectionWriter.hxx> 20 using ROOT::Experimental::RNTupleCollectionWriter;
22 using ROOT::Experimental::RNTupleWriter;
55 std::vector<SummaryTableOutputFields>
m_tables;
73 #if ROOT_VERSION_CODE < ROOT_VERSION(6, 31, 0) 91 #if ROOT_VERSION_CODE < ROOT_VERSION(6, 31, 0) 92 std::shared_ptr<RCollectionNTupleWriter>
m_procHist;
RNTupleFieldPtr< std::string > m_psetId
std::unique_ptr< RNTupleWriter > m_ntuple
RNTupleFieldPtr< std::string > m_psetBlob
void fill(const edm::LuminosityBlockID &id, TFile &file)
RNTupleFieldPtr< UInt_t > m_run
void createFields(TFile &file)
void registerToken(const edm::EDGetToken &token)
RNTupleFieldPtr< UInt_t > m_run
void createFields(const edm::LuminosityBlockID &id, TFile &file)
std::unique_ptr< RNTupleWriter > m_ntuple
std::vector< edm::EDGetToken > m_tokens
void createFields(const edm::RunForOutput &iRun, TFile &file)
void fill(edm::pset::Registry *pset, TFile &file)
RNTupleFieldPtr< UInt_t > m_luminosityBlock
std::unique_ptr< RNTupleWriter > m_ntuple
void fill(const edm::RunForOutput &iRun, TFile &file)
std::shared_ptr< RNTupleCollectionWriter > m_collection
std::vector< SummaryTableOutputFields > m_tables