NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
NAIA::NtpSelector Class Reference

#include <NtpSelector.h>

Inheritance diagram for NAIA::NtpSelector:

Public Member Functions

 NtpSelector (bool isMC)
 
void ReprocessRTI (bool reprocess)
 
void SetOutputFilename (std::string outFilename)
 
virtual void UBegin () override
 Init output. More...
 
virtual bool UProcessCut () override
 Cut, select and prescale. More...
 
virtual void UProcessFill () override
 Fill ntuple. More...
 
virtual void UTerminate () override
 Save. More...
 
virtual void Init (TTree *tree) override
 
virtual bool Notify () override
 Called every time a new file is loaded in the chain. More...
 
void ProcessFileInfo ()
 

Public Attributes

bool m_isMC = false
 is simulation? More...
 
unsigned long long firstentry = 0
 first entry to be processed More...
 
unsigned long long lastentry = 0
 last entry to be processed More...
 

Private Member Functions

void DefineStandAlone ()
 Select standalone objects. More...
 

Private Attributes

bool m_reprocess_rti = false
 
TTree * m_tree
 
std::string m_outputFilename
 
std::unique_ptr< TFile > m_outputFile
 
std::unique_ptr< NAIAChainm_chain
 
BetaHR * m_betahStPtr
 
TrdTrackR * m_trdTrackStPtr
 
AMSSetupR::RTI m_rti
 
Benchmark m_benchmark
 
std::shared_ptr< spdlog::logger > m_logger
 

Detailed Description

Definition at line 21 of file NtpSelector.h.

Constructor & Destructor Documentation

NAIA::NtpSelector::NtpSelector ( bool  isMC)
inline

Definition at line 23 of file NtpSelector.h.

Member Function Documentation

void NAIA::NtpSelector::DefineStandAlone ( )
private

Select standalone objects.

Definition at line 493 of file NtpSelector.cpp.

References NAIA::Tof::BetaH.

Referenced by UProcessCut().

virtual void NAIA::NtpSelector::Init ( TTree *  tree)
inlineoverridevirtual

Definition at line 41 of file NtpSelector.h.

References m_tree.

bool NAIA::NtpSelector::Notify ( )
overridevirtual

Called every time a new file is loaded in the chain.

Definition at line 34 of file NtpSelector.cpp.

References m_chain, m_isMC, m_logger, and m_tree.

void NAIA::NtpSelector::ProcessFileInfo ( )
void NAIA::NtpSelector::ReprocessRTI ( bool  reprocess)
inline

Definition at line 32 of file NtpSelector.h.

References m_reprocess_rti.

void NAIA::NtpSelector::SetOutputFilename ( std::string  outFilename)
inline

Definition at line 33 of file NtpSelector.h.

References m_outputFilename.

Referenced by main().

void NAIA::NtpSelector::UBegin ( )
overridevirtual
bool NAIA::NtpSelector::UProcessCut ( )
overridevirtual
void NAIA::NtpSelector::UProcessFill ( )
overridevirtual

Fill ntuple.

Definition at line 466 of file NtpSelector.cpp.

void NAIA::NtpSelector::UTerminate ( )
overridevirtual

Save.

Definition at line 468 of file NtpSelector.cpp.

Member Data Documentation

unsigned long long NAIA::NtpSelector::firstentry = 0

first entry to be processed

Definition at line 28 of file NtpSelector.h.

Referenced by UProcessCut().

unsigned long long NAIA::NtpSelector::lastentry = 0

last entry to be processed

Definition at line 30 of file NtpSelector.h.

Referenced by UProcessCut().

Benchmark NAIA::NtpSelector::m_benchmark
private

Definition at line 71 of file NtpSelector.h.

Referenced by UBegin(), and UProcessCut().

BetaHR* NAIA::NtpSelector::m_betahStPtr
private

Definition at line 66 of file NtpSelector.h.

Referenced by UProcessCut().

std::unique_ptr<NAIAChain> NAIA::NtpSelector::m_chain
private

Definition at line 63 of file NtpSelector.h.

Referenced by Notify(), ProcessFileInfo(), UBegin(), and UProcessCut().

bool NAIA::NtpSelector::m_isMC = false

is simulation?

Definition at line 26 of file NtpSelector.h.

Referenced by Notify(), ProcessFileInfo(), UBegin(), and UProcessCut().

std::shared_ptr<spdlog::logger> NAIA::NtpSelector::m_logger
private

Definition at line 72 of file NtpSelector.h.

Referenced by Notify(), ProcessFileInfo(), UBegin(), and UProcessCut().

std::unique_ptr<TFile> NAIA::NtpSelector::m_outputFile
private

Definition at line 60 of file NtpSelector.h.

Referenced by UBegin().

std::string NAIA::NtpSelector::m_outputFilename
private

Definition at line 59 of file NtpSelector.h.

Referenced by SetOutputFilename(), and UBegin().

bool NAIA::NtpSelector::m_reprocess_rti = false
private

Definition at line 53 of file NtpSelector.h.

Referenced by ReprocessRTI(), UBegin(), and UProcessCut().

AMSSetupR::RTI NAIA::NtpSelector::m_rti
private

Definition at line 68 of file NtpSelector.h.

Referenced by UProcessCut().

TrdTrackR* NAIA::NtpSelector::m_trdTrackStPtr
private

Definition at line 67 of file NtpSelector.h.

Referenced by UProcessCut().

TTree* NAIA::NtpSelector::m_tree
private

Definition at line 56 of file NtpSelector.h.

Referenced by Init(), Notify(), and ProcessFileInfo().


The documentation for this class was generated from the following files: