1 #ifndef PhysicsTools_NanoAOD_TriggerOutputFields_h 2 #define PhysicsTools_NanoAOD_TriggerOutputFields_h void makeUniqueFieldName(RNTupleModel &model, std::string &name)
void fill(const edm::EventForOutput &event)
void updateTriggerFields(const edm::TriggerResults &triggerResults)
void setIndex(int newIndex)
TriggerFieldPtr()=default
TriggerOutputFields()=default
std::vector< TriggerFieldPtr > m_triggerFields
std::string m_processName
const std::string & getTriggerName() const
void fill(const edm::TriggerResults &triggers)
static std::string const triggerResults
void createFields(const edm::EventForOutput &event, RNTupleModel &model)
static std::vector< std::string > getTriggerNames(const edm::TriggerResults &triggerResults)
std::string m_triggerName
TriggerOutputFields(const std::string &processName, const edm::EDGetToken &token)
RNTupleFieldPtr< bool > m_field