1#ifndef ExampleTreeSelector_h
2#define ExampleTreeSelector_h
41 virtual Int_t
Version()
const {
return 1; }
62#ifdef ExampleTreeSelector_cxx
66 if(tree->SetBranchAddress(
"TGriffin", &
fGrif) == TTree::kMissingBranch) {
69 if(tree->SetBranchAddress(
"TSceptar", &
fScep) == TTree::kMissingBranch) {
72 if(tree->SetBranchAddress(
"TZeroDegree", &
fZds) == TTree::kMissingBranch) {
75 if(tree->SetBranchAddress(
"TGriffinBgo", &
fGriffinBgo) == TTree::kMissingBranch) {
ClassDef(ExampleTreeSelector, 2)
TSceptar * fScep
pointer for sceptar branch
std::vector< double > fSuppressedAddback
vector of suppressed addback energies
TGriffinBgo * fGriffinBgo
pointer for griffin BGO branch
void InitializeBranches(TTree *tree)
ExampleTreeSelector(TTree *=nullptr)
std::vector< double > fBetaGammaTiming
vector of beta-gamma timing
TZeroDegree * fZds
pointer for ZDS branch
virtual ~ExampleTreeSelector()=default
TGriffin * fGrif
pointer for griffin branch
virtual Int_t Version() const
void SetOutputPrefix(const char *prefix)