Public Member Functions | Public Attributes | List of all members
Acclaim::ThermalChain Class Reference

A class to handle loading Thermal Trees into chains and applying cuts. More...

#include <ThermalChain.h>

Public Member Functions

 ThermalChain (const char *glob, const char *treeName="thermalTree")
 
void addCut (const TCut &cut)
 
void addCut (const char *cut)
 
void setCut (const TCut &cut)
 
void setCut (const char *cut)
 
TChain * getChain () const
 
Long64_t N () const
 
Long64_t getEntry (Long64_t entry)
 
Long64_t getEvent (UInt_t eventNumber)
 
bool GetUseProof ()
 
void SetUseProof (bool useProof=true)
 
Adu5Pat pat ()
 
Double_t fisherDiscriminant ()
 

Public Attributes

Int_t run
 
UInt_t eventNumber
 
UInt_t realTime
 
AnitaPol::AnitaPol_t pol
 
Int_t peakInd
 
Float_t peak_phi
 
Float_t peak_theta
 
Float_t anita_longitude
 
Float_t anita_latitude
 
Float_t anita_altitude
 
Float_t anita_heading
 
Float_t coherent_filtered_snr
 
Float_t weight
 
Float_t mc_energy
 
Float_t peak_value
 
Float_t coherent_filtered_peakHilbert
 
Float_t deconvolved_filtered_peakHilbert
 
Float_t coherent_filtered_impulsivityMeasure
 
Float_t deconvolved_filtered_impulsivityMeasure
 
Float_t coherent_filtered_fracPowerWindowGradient
 
Float_t deconvolved_filtered_fracPowerWindowGradient
 
Int_t duringHiCal
 
Double_t hiCalPhi
 
Double_t hiCalTheta
 
UInt_t eventNumber2
 
Int_t run2
 
Double_t longitude
 
Double_t latitude
 
Double_t altitude
 
Double_t thetaAdjustmentRequired
 
Int_t onContinent
 
Int_t onIceShelf
 
Double_t iceThickness
 
UInt_t eventNumber3
 
Int_t run3
 

Detailed Description

A class to handle loading Thermal Trees into chains and applying cuts.

Because the ROOT TEntryList interface to TChains is quite annoying, and I only want to type it once.

Definition at line 24 of file ThermalChain.h.

Member Function Documentation

◆ addCut() [1/2]

void Acclaim::ThermalChain::addCut ( const TCut &  cut)

Adds to the current cut with a new cut (invalidates the cached entrylist)

Parameters
cutthe new cut to add to the cuts already applied to the chain of thermalTrees

Definition at line 154 of file ThermalChain.cxx.

◆ addCut() [2/2]

void Acclaim::ThermalChain::addCut ( const char *  cut)

Adds to the current cut with a new cut (invalidates the cached entrylist)

Parameters
cutthe new cut to add to the cuts already applied to the chain of thermalTrees

Definition at line 142 of file ThermalChain.cxx.

◆ N()

Long64_t Acclaim::ThermalChain::N ( ) const

How many tree entries match the current selection?

Returns
The number of entries in the chain matching the current selection

Definition at line 211 of file ThermalChain.cxx.

◆ setCut() [1/2]

void Acclaim::ThermalChain::setCut ( const TCut &  cut)

Overwrites the current cut with a new cut

Parameters
cutthe new cut to apply to the chain of thermalTrees

Definition at line 120 of file ThermalChain.cxx.

◆ setCut() [2/2]

void Acclaim::ThermalChain::setCut ( const char *  cut)

Overwrites the current cut with a new cut

Parameters
cutthe new cut to apply to the chain of thermalTrees

Definition at line 130 of file ThermalChain.cxx.

Member Data Documentation

◆ duringHiCal

Int_t Acclaim::ThermalChain::duringHiCal

From the hical chain

Definition at line 74 of file ThermalChain.h.

◆ longitude

Double_t Acclaim::ThermalChain::longitude

From the surface chain

Definition at line 85 of file ThermalChain.h.

◆ run

Int_t Acclaim::ThermalChain::run

From the thermal chain

Definition at line 48 of file ThermalChain.h.


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