Public Member Functions | |
SummarySet (const char *pathToSummaryFiles, const char *treeName="sumTree", const char *summaryBranchName="sum", bool useProof=false) | |
Long64_t | N () const |
AnitaEventSummary * | summary () const |
Long64_t | getEntry (Long64_t entry) |
Long64_t | getEvent (UInt_t eventNumber) |
Long64_t | first () |
Long64_t | last () |
UInt_t | getFirstTime () |
UInt_t | getLastTime () |
UInt_t | getFirstEventNumber () |
UInt_t | getLastEventNumber () |
TH2D * | bookTimeHistogram (const char *name, const char *title, int nx, int ny, double yMin, double yMax) |
TH2D * | bookEventNumberHistogram (const char *name, const char *title, int nx, int ny, double yMin, double yMax) |
Long64_t | Process (TSelector *selector, Option_t *option="", Long64_t nentries=TChain::kMaxEntries, Long64_t firstentry=0) |
TProfile2DAntarctica * | makeAntarcticaProf (AnitaPol::AnitaPol_t pol=AnitaPol::kNotAPol, const char *name="", const char *title="", Int_t nx=-1, Int_t ny=-1) |
TH2DAntarctica * | makeAntarcticaHist (AnitaPol::AnitaPol_t pol=AnitaPol::kNotAPol, const char *name="", const char *title="", Int_t nx=-1, Int_t ny=-1) |
Double_t | getTotalSize () const |
TGraphAntarctica * | makePayloadLocationGraph (int stride=TGraphAntarctica::defaultGpsTreeStride) |
TChain * | getChain () |
Long64_t | Draw (const char *varexp, const TCut &selection, Option_t *option="", Long64_t nentries=TChain::kMaxEntries, Long64_t firstentry=0) |
Long64_t | Draw (const char *varexp, const char *selection="", Option_t *option="", Long64_t nentries=TChain::kMaxEntries, Long64_t firstentry=0) |
Double_t | getBytesPerEvent () const |
void | SetUseProof (bool useProof=true) |
Bool_t | GetUseProof () |
void | addFlagChain (const char *flagFileGlob, const char *flagTreeName="flagTree") |
TObject * | getDrawOutput () |
Static Public Member Functions | |
static TProof * | startProof () |
You take it, you own it, you delete it. | |
Protected Member Functions | |
void | init () |
void | initProof () |
void | renameProofCanvas (const char *varexp) |
void | findHist (const char *varexp) |
Protected Attributes | |
TString | fPathToSummaryFiles |
TString | fTreeName |
The glob passed to the TChain. | |
TString | fSummaryBranchName |
The name of the TTrees, default is "sumTree". | |
TChain * | fChain |
Branch name of the AnitaEventSummary, default is "sum". | |
Long64_t | fN |
The chain of TTrees containing the AnitaEventSummary. | |
AnitaEventSummary * | fSum |
The number of entries in the AnitaEventSummary chain, access with SummarySet::N() | |
UInt_t | fFirstTime |
Pointer to the current entry in the chain, access with SummarySet::summary() | |
UInt_t | fFirstEventNumber |
The realTime of the first entry in the summary chain, useful for booking histograms. | |
UInt_t | fLastTime |
The eventNumber of the first entry in the summary chain, useful for booking histograms. | |
UInt_t | fLastEventNumber |
The realTime of the last entry in the summary chain, useful for booking histograms. | |
Bool_t | fUseProof |
The eventNumber of the last entry in the summary chain, useful for booking histograms. | |
TProof * | fProof |
Switch on the Parallel ROOT Facility, for speedy histogram plotting. | |
Bool_t | fBuiltIndex |
Pointer to the PROOF session. | |
TChain * | fFlagChain |
Built chain index? | |
AnitaEventSummary::EventFlags * | fFlags |
An optional chain of TTrees containing just AnitaEventSummary::EventFlags. | |
UInt_t | fFlagEventNumber |
Pointer to tree entry of optional flags. | |
TObject * | fDrawOutput |
Event number stored with flags to double check event matching. | |
Definition at line 31 of file SummarySet.h.
|
protected |
Parses the varexp to get the created hist name and stores the result in fDrawOutput
varexp |
Definition at line 306 of file SummarySet.cxx.
|
inline |
Returns the approximate mean size of each SummaryTree entry
Definition at line 79 of file SummarySet.h.
Long64_t Acclaim::SummarySet::getEntry | ( | Long64_t | entry | ) |
Loads entry from the fChain, access with summary()
entry | is the entry to load |
Definition at line 179 of file SummarySet.cxx.
Long64_t Acclaim::SummarySet::getEvent | ( | UInt_t | eventNumber | ) |
Loads eventNumber from the fChain, access with summary()
eventNumber | is the entry to load |
Definition at line 208 of file SummarySet.cxx.
Double_t Acclaim::SummarySet::getTotalSize | ( | ) | const |
Counts the number of bytes in each file in fChain
Definition at line 152 of file SummarySet.cxx.
|
protected |
Enable (disable) PROOF, if fUseProof is true (false)
Definition at line 81 of file SummarySet.cxx.
TGraphAntarctica * Acclaim::SummarySet::makePayloadLocationGraph | ( | int | stride = TGraphAntarctica::defaultGpsTreeStride | ) |
Use the anitaLocation subclass in the AnitaEventSummary to make a flight path graph
stride | only put every nth entry into the graph, default is the same as TGraphAntarctica::defaultGpsTreeStride |
Definition at line 418 of file SummarySet.cxx.
|
protected |
Little hack to make PROOF give me a histogram and canvas with different names
varexp | the Draw expression |
Definition at line 341 of file SummarySet.cxx.