GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
Definition at line 20 of file GriffinKValueSelector.h.
Public Member Functions | |
GriffinKValueSelector (TTree *=nullptr) | |
virtual | ~GriffinKValueSelector ()=default |
void | Begin (TTree *tree) override |
ClassDef (GriffinKValueSelector, 2) | |
void | CreateHistograms () |
virtual void | EndOfSort () |
void | FillHistograms () |
Int_t | GetEntry (Long64_t entry, Int_t getall=0) override |
TList * | GetOutputList () const override |
std::string | GetOutputPrefix () const |
void | Init (TTree *tree) override |
void | InitializeBranches (TTree *tree) |
Bool_t | Notify () override |
Bool_t | Process (Long64_t entry) override |
void | SetObject (TObject *obj) override |
void | SetOption (const char *option) override |
void | SetOutputPrefix (const char *prefix) |
void | SlaveBegin (TTree *tree) override |
void | SlaveTerminate () override |
void | Terminate () override |
virtual Int_t | Version () const |
Public Attributes | |
TFragment * | fFragment {nullptr} |
Protected Attributes | |
TGRSIMap< std::string, GCube * > | fCube |
std::map< std::string, TCutG * > | fCuts |
int64_t | fEntry {0} |
TGRSIMap< std::string, TH1 * > | fH1 |
TGRSIMap< std::string, TH2 * > | fH2 |
TGRSIMap< std::string, TH3 * > | fH3 |
TGRSIMap< std::string, THnSparseF * > | fHSparse |
TPPG * | fPpg {nullptr} |
TRunInfo * | fRunInfo {nullptr} |
TGRSIMap< std::string, GHSym * > | fSym |
TGRSIMap< std::string, TTree * > | fTree |
Private Member Functions | |
void | CheckSizes (const char *usage) |
Private Attributes | |
TAnalysisOptions * | fAnalysisOptions {nullptr} |
TTree * | fChain {nullptr} |
Int_t | fFirstRunNumber {-1} |
Int_t | fFirstSubRunNumber {-1} |
std::string | fOutputPrefix |
Static Private Attributes | |
static constexpr int | fSizeLimit = 1073741822 |
|
inlineexplicit |
Definition at line 25 of file GriffinKValueSelector.h.
References TGRSISelector::SetOutputPrefix().
|
virtualdefault |
|
overrideinherited |
The Begin() function is called at the start of the query. When running with PROOF Begin() is only called on the client. The tree argument is deprecated (on PROOF 0 is passed).
Definition at line 36 of file TGRSISelector.cxx.
|
privateinherited |
Function to check size of objects in output list.
Definition at line 303 of file TGRSISelector.cxx.
References DRED, TGRSISelector::fSizeLimit, and RESET_COLOR.
Referenced by TGRSISelector::SlaveBegin(), TGRSISelector::SlaveTerminate(), and TGRSISelector::Terminate().
GriffinKValueSelector::ClassDef | ( | GriffinKValueSelector | , |
2 | ) |
|
virtual |
Implements TGRSISelector.
Definition at line 7 of file GriffinKValueSelector.C.
References TGRSISelector::fH1, TGRSISelector::fH2, TGRSISelector::fHSparse, TGRSISelector::GetOutputList(), and maxKValue.
|
inlinevirtualinherited |
Definition at line 60 of file TGRSISelector.h.
Referenced by TGRSISelector::SlaveTerminate().
|
virtual |
Implements TGRSISelector.
Definition at line 37 of file GriffinKValueSelector.C.
References fFragment, TGRSISelector::fH1, TGRSISelector::fH2, TFragment::GetDetectorType(), TDetectorHit::GetEnergy(), TDetectorHit::GetKValue(), and TFragment::GetNumberOfPileups().
|
inlineoverrideinherited |
Definition at line 46 of file TGRSISelector.h.
References TGRSISelector::fChain.
|
inlineoverrideinherited |
this does the same as TSelector::GetOutputList()
Definition at line 53 of file TGRSISelector.h.
Referenced by AlphanumericSelector::CreateHistograms(), AngularCorrelationSelector::CreateHistograms(), CrossTalk::CreateHistograms(), ExampleEventSelector::CreateHistograms(), ExampleFragmentSelector::CreateHistograms(), ExampleTreeSelector::CreateHistograms(), FastTimingHistSelector::CreateHistograms(), CreateHistograms(), and TimeWalkSelector::CreateHistograms().
|
inlineinherited |
Definition at line 62 of file TGRSISelector.h.
References TGRSISelector::fOutputPrefix.
Referenced by TGRSISelector::SlaveTerminate().
|
overrideinherited |
The Init() function is called when the selector needs to initialize a new tree or chain. Typically here the branch addresses and branch pointers of the tree will be set. It is normally not necessary to make changes to the generated code, but the routine can be extended by the user if needed. Init() will be called many times when running on PROOF (once per file to be processed). Set branch addresses and branch pointers
Definition at line 275 of file TGRSISelector.cxx.
References TGRSISelector::fChain, and TGRSISelector::InitializeBranches().
|
virtual |
Implements TGRSISelector.
|
overrideinherited |
The Notify() function is called when a new file is opened. This can be either for a new TTree in a TChain or when when a new TTree is started when using PROOF. It is normally not necessary to make changes to the generated code, but the routine can be extended by the user if needed. The return value is currently not used.
Definition at line 292 of file TGRSISelector.cxx.
|
overrideinherited |
The Process() function is called for each entry in the tree (or possibly keyed object in the case of PROOF) to be processed. The entry argument specifies which entry in the currently loaded tree is to be processed. It can be passed to either TGRSISelector::GetEntry() or TBranch::GetEntry() to read either all or the required parts of the data. When processing keyed objects with PROOF, the object is already loaded and is available via the fObject pointer.
This function should contain the "body" of the analysis. It can contain simple or elaborate selection criteria, run algorithms on the data of the event and typically fill histograms.
The processing can be stopped by calling Abort().
Use fStatus to set the return value of TTree::Process().
The return value is currently not used
Definition at line 166 of file TGRSISelector.cxx.
References TGRSIOptions::AnalysisOptions(), TGRSIMapException< key_type >::detail(), DRED, TGRSISelector::fChain, TGRSISelector::fEntry, TGRSISelector::FillHistograms(), TChannel::ReadCalFromFile(), TAnalysisOptions::ReadFromFile(), and RESET_COLOR.
|
inlineoverrideinherited |
Definition at line 51 of file TGRSISelector.h.
|
inlineoverrideinherited |
Definition at line 50 of file TGRSISelector.h.
|
inlineinherited |
Definition at line 61 of file TGRSISelector.h.
References TGRSISelector::fOutputPrefix.
Referenced by AlphanumericSelector::AlphanumericSelector(), AngularCorrelationSelector::AngularCorrelationSelector(), CrossTalk::CrossTalk(), ExampleEventSelector::ExampleEventSelector(), ExampleFragmentSelector::ExampleFragmentSelector(), ExampleTreeSelector::ExampleTreeSelector(), FastTimingHistSelector::FastTimingHistSelector(), GriffinKValueSelector(), TGRSISelector::TGRSISelector(), TimeWalkSelector::TimeWalkSelector(), and FastTimingHistSelector::CreateHistograms().
|
overrideinherited |
The SlaveBegin() function is called after the Begin() function. When running with PROOF SlaveBegin() is called on each slave server. The tree argument is deprecated (on PROOF 0 is passed).
Definition at line 44 of file TGRSISelector.cxx.
References TGRSIOptions::AnalysisOptions(), TGRSISelector::CheckSizes(), TGRSISelector::CreateHistograms(), TGRSISelector::fAnalysisOptions, TGRSISelector::fCuts, TGRSISelector::fPpg, TGRSISelector::fRunInfo, TGRSIOptions::Get(), TSingleton< TParserLibrary >::Get(), TParserLibrary::Load(), TGRSIOptions::ParserLibrary(), TGRSIOptions::Print(), TChannel::ReadCalFile(), GValue::ReadValFile(), and GValue::Size().
|
overrideinherited |
The SlaveTerminate() function is called after all entries or objects have been processed. When running with PROOF SlaveTerminate() is called on each slave server.
Definition at line 206 of file TGRSISelector.cxx.
References TGRSISelector::CheckSizes(), TGRSISelector::EndOfSort(), TChannel::GetChannelMap(), and TGRSISelector::GetOutputPrefix().
|
overrideinherited |
The Terminate() function is the last function to be called during a query. It always runs on the client, it can be used to present the results graphically or save the results to file.
Definition at line 219 of file TGRSISelector.cxx.
References TGRSIOptions::AnalysisOptions(), TGRSISelector::CheckSizes(), TRunInfo::FirstRunNumber(), TRunInfo::FirstSubRunNumber(), TGRSISelector::fOutputPrefix, TGRSISelector::fPpg, TGRSISelector::fRunInfo, TGRSIOptions::Get(), TSingleton< TRunInfo >::Get(), TRunInfo::LastRunNumber(), TRunInfo::LastSubRunNumber(), TGRSIOptions::LogFile(), TRunInfo::Print(), TRunInfo::RunNumber(), TRunInfo::SubRunNumber(), TPPG::Write(), TAnalysisOptions::WriteToFile(), and TChannel::WriteToRoot().
|
inlinevirtual |
Definition at line 27 of file GriffinKValueSelector.h.
|
privateinherited |
! pointer to analysis options
Definition at line 84 of file TGRSISelector.h.
Referenced by TGRSISelector::SlaveBegin().
|
privateinherited |
! pointer to the analyzed TTree or TChain
Definition at line 80 of file TGRSISelector.h.
Referenced by TGRSISelector::GetEntry(), TGRSISelector::Init(), and TGRSISelector::Process().
Definition at line 69 of file TGRSISelector.h.
|
protectedinherited |
Definition at line 72 of file TGRSISelector.h.
Referenced by TGRSISelector::SlaveBegin().
|
protectedinherited |
Definition at line 75 of file TGRSISelector.h.
Referenced by ExampleTreeSelector::CreateHistograms(), and TGRSISelector::Process().
|
privateinherited |
! run number of first file
Definition at line 85 of file TGRSISelector.h.
|
privateinherited |
! sub-run number of first file
Definition at line 86 of file TGRSISelector.h.
TFragment* GriffinKValueSelector::fFragment {nullptr} |
Definition at line 23 of file GriffinKValueSelector.h.
Referenced by FillHistograms().
|
protectedinherited |
Definition at line 65 of file TGRSISelector.h.
Referenced by AlphanumericSelector::CreateHistograms(), AngularCorrelationSelector::CreateHistograms(), CrossTalk::CreateHistograms(), ExampleEventSelector::CreateHistograms(), ExampleFragmentSelector::CreateHistograms(), ExampleTreeSelector::CreateHistograms(), FastTimingHistSelector::CreateHistograms(), CreateHistograms(), TimeWalkSelector::CreateHistograms(), AngularCorrelationSelector::FillHistograms(), CrossTalk::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), FastTimingHistSelector::FillHistograms(), and FillHistograms().
|
protectedinherited |
Definition at line 66 of file TGRSISelector.h.
Referenced by AlphanumericSelector::CreateHistograms(), AngularCorrelationSelector::CreateHistograms(), CrossTalk::CreateHistograms(), ExampleEventSelector::CreateHistograms(), ExampleFragmentSelector::CreateHistograms(), ExampleTreeSelector::CreateHistograms(), FastTimingHistSelector::CreateHistograms(), CreateHistograms(), TimeWalkSelector::CreateHistograms(), AlphanumericSelector::FillHistograms(), AngularCorrelationSelector::FillHistograms(), CrossTalk::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleFragmentSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), FillHistograms(), and TimeWalkSelector::FillHistograms().
|
protectedinherited |
Definition at line 67 of file TGRSISelector.h.
Referenced by TimeWalkSelector::CreateHistograms(), and TimeWalkSelector::FillHistograms().
|
protectedinherited |
Definition at line 70 of file TGRSISelector.h.
Referenced by AlphanumericSelector::CreateHistograms(), AngularCorrelationSelector::CreateHistograms(), CrossTalk::CreateHistograms(), ExampleEventSelector::CreateHistograms(), ExampleFragmentSelector::CreateHistograms(), FastTimingHistSelector::CreateHistograms(), CreateHistograms(), and TimeWalkSelector::CreateHistograms().
|
privateinherited |
! pre-fix for output files
Definition at line 83 of file TGRSISelector.h.
Referenced by TGRSISelector::GetOutputPrefix(), TGRSISelector::SetOutputPrefix(), and TGRSISelector::Terminate().
|
protectedinherited |
Definition at line 73 of file TGRSISelector.h.
Referenced by TGRSISelector::SlaveBegin(), and TGRSISelector::Terminate().
|
protectedinherited |
Definition at line 74 of file TGRSISelector.h.
Referenced by TGRSISelector::SlaveBegin(), and TGRSISelector::Terminate().
|
staticconstexprprivateinherited |
! 1 GB size limit for objects in ROOT
Definition at line 78 of file TGRSISelector.h.
Referenced by TGRSISelector::CheckSizes().
Definition at line 68 of file TGRSISelector.h.
|
protectedinherited |
Definition at line 71 of file TGRSISelector.h.
Referenced by ExampleTreeSelector::CreateHistograms(), and ExampleTreeSelector::FillHistograms().