|
NAIA
1.0.1
|
#include <NtpSelector.h>
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< NAIAChain > | m_chain |
| BetaHR * | m_betahStPtr |
| TrdTrackR * | m_trdTrackStPtr |
| AMSSetupR::RTI | m_rti |
| Benchmark | m_benchmark |
| std::shared_ptr< spdlog::logger > | m_logger |
Definition at line 21 of file NtpSelector.h.
|
inline |
Definition at line 23 of file NtpSelector.h.
|
private |
Select standalone objects.
Definition at line 487 of file NtpSelector.cpp.
References NAIA::Tof::BetaH.
Referenced by UProcessCut().
|
inlineoverridevirtual |
Definition at line 41 of file NtpSelector.h.
References m_tree.
|
overridevirtual |
| void NAIA::NtpSelector::ProcessFileInfo | ( | ) |
Definition at line 42 of file NtpSelector.cpp.
References NAIA::MCFileInfo::L1, NAIA::MCFileInfo::L19, m_chain, m_isMC, m_logger, m_tree, and NAIA::MCFileInfo::TB.
Referenced by UProcessCut().
|
inline |
Definition at line 32 of file NtpSelector.h.
References m_reprocess_rti.
|
inline |
|
overridevirtual |
Init output.
Definition at line 11 of file NtpSelector.cpp.
References m_benchmark, m_chain, m_isMC, m_logger, m_outputFile, m_outputFilename, m_reprocess_rti, NAIA::Benchmark::MakeStopwatch(), and NAIA::NAIAChain::Write.
|
overridevirtual |
Cut, select and prescale.
Definition at line 95 of file NtpSelector.cpp.
References NAIA::TrdK::BetaH, NAIA::Tof::BetaH, NAIA::Charge1_Tof, NAIA::Charge1_Tof_St, NAIA::Charge1_Trk, NAIA::Charge1_Trk_St, NAIA::Charge2_Tof, NAIA::Charge2_Tof_St, NAIA::Charge2_Trk, NAIA::Charge2_Trk_St, NAIA::ChargeGT2_Tof, NAIA::ChargeGT2_Tof_St, NAIA::ChargeGT2_Trk, NAIA::ChargeGT2_Trk_St, NAIA::ContainsKeys(), DefineStandAlone(), NAIA::Ecal::EnergyD, firstentry, NAIA::HasEcal, NAIA::HasRich, NAIA::HasTof, NAIA::HasTofStandalone, NAIA::HasTrack, NAIA::HasTrd, NAIA::HasTrdStandalone, lastentry, m_benchmark, m_betahStPtr, m_chain, m_isMC, m_logger, m_reprocess_rti, m_rti, m_trdTrackStPtr, NAIA::Benchmark::MakeStopwatch(), NAIA::MatchAllBits(), NAIA::Logging::MuteOutput(), ProcessFileInfo(), NAIA::TrTrack::STD, StopSelector, NAIA::TrdK::TrdTrack, NAIA::TrdK::TrkTrack, NAIA::Logging::UnmuteOutput(), and NAIA::TrdK::Upper.
|
overridevirtual |
Fill ntuple.
Definition at line 460 of file NtpSelector.cpp.
|
overridevirtual |
Save.
Definition at line 462 of file NtpSelector.cpp.
| 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().
|
private |
Definition at line 71 of file NtpSelector.h.
Referenced by UBegin(), and UProcessCut().
|
private |
Definition at line 66 of file NtpSelector.h.
Referenced by UProcessCut().
|
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().
|
private |
Definition at line 72 of file NtpSelector.h.
Referenced by Notify(), ProcessFileInfo(), UBegin(), and UProcessCut().
|
private |
Definition at line 60 of file NtpSelector.h.
Referenced by UBegin().
|
private |
Definition at line 59 of file NtpSelector.h.
Referenced by SetOutputFilename(), and UBegin().
|
private |
Definition at line 53 of file NtpSelector.h.
Referenced by ReprocessRTI(), UBegin(), and UProcessCut().
|
private |
Definition at line 68 of file NtpSelector.h.
Referenced by UProcessCut().
|
private |
Definition at line 67 of file NtpSelector.h.
Referenced by UProcessCut().
|
private |
Definition at line 56 of file NtpSelector.h.
Referenced by Init(), Notify(), and ProcessFileInfo().
1.8.5