ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtCutHEIST Class Reference

Class for managing PID cuts from HEIST data. Follows the interface required to be passed as a reduction function to AtDataReductionTask. More...

#include <AtCutHEIST.h>

Public Member Functions

 AtCutHEIST (TTree *tree, TString cutFile)
 
 AtCutHEIST (TString treeFile, TString cutFile, TString treeName="E12014")
 
bool AddSpecies (std::string species)
 Add a species to accept in the cut. More...
 
void AddAllSpecies ()
 
std::string GetSpecies ()
 
bool operator() ()
 
void SetSaveCuts (TFile *outFile)
 

Detailed Description

Class for managing PID cuts from HEIST data. Follows the interface required to be passed as a reduction function to AtDataReductionTask.

Definition at line 23 of file AtCutHEIST.h.

Constructor & Destructor Documentation

◆ AtCutHEIST() [1/2]

AtCutHEIST::AtCutHEIST ( TTree *  tree,
TString  cutFile 
)

Definition at line 26 of file AtCutHEIST.cxx.

◆ AtCutHEIST() [2/2]

AtCutHEIST::AtCutHEIST ( TString  treeFile,
TString  cutFile,
TString  treeName = "E12014" 
)

Definition at line 16 of file AtCutHEIST.cxx.

Member Function Documentation

◆ AddAllSpecies()

void AtCutHEIST::AddAllSpecies ( )

Definition at line 60 of file AtCutHEIST.cxx.

◆ AddSpecies()

bool AtCutHEIST::AddSpecies ( std::string  species)

Add a species to accept in the cut.

Returns
true if the species has been added, false if we couldn't find or add it.

Definition at line 40 of file AtCutHEIST.cxx.

◆ GetSpecies()

std::string AtCutHEIST::GetSpecies ( )

Definition at line 85 of file AtCutHEIST.cxx.

◆ operator()()

bool AtCutHEIST::operator() ( )

Definition at line 67 of file AtCutHEIST.cxx.

◆ SetSaveCuts()

void AtCutHEIST::SetSaveCuts ( TFile *  outFile)
inline

Definition at line 47 of file AtCutHEIST.h.


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