1 #ifndef NAIA_NtpSelector_h
2 #define NAIA_NtpSelector_h
8 #include "spdlog/sinks/stdout_color_sinks.h"
9 #include "spdlog/spdlog.h"
13 #include "root_setup.h"
36 virtual void UBegin()
override;
41 virtual void Init(TTree *tree)
override {
43 AMSEventR::Init(tree);
45 virtual bool Notify()
override;
NAIAChain class description.
virtual void UProcessFill() override
Fill ntuple.
unsigned long long firstentry
first entry to be processed
TrdTrackR * m_trdTrackStPtr
bool m_isMC
is simulation?
virtual void UBegin() override
Init output.
std::shared_ptr< spdlog::logger > m_logger
void ReprocessRTI(bool reprocess)
std::unique_ptr< TFile > m_outputFile
virtual bool UProcessCut() override
Cut, select and prescale.
virtual void UTerminate() override
Save.
void SetOutputFilename(std::string outFilename)
virtual void Init(TTree *tree) override
virtual bool Notify() override
Called every time a new file is loaded in the chain.
std::string m_outputFilename
void DefineStandAlone()
Select standalone objects.
std::unique_ptr< NAIAChain > m_chain
unsigned long long lastentry
last entry to be processed