ant
A2 ant: class-based analysis framework
ant::analysis::physics::tools Struct Reference

#include <tools.h>

Classes

struct  protonSelection_t
 

Static Public Member Functions

static std::vector< protonSelection_tmakeProtonSelections (const TCandidateList &candidates, const LorentzVec &photonBeam, double taggE, const IntervalD &imMMprotonCut={-std_ext::inf, std_ext::inf})
 
template<class T >
static bool cutOn (const std::string &fillName, const interval< T > &range, const T &val, TH1D *steps)
 
static std::vector< TLorentzVector > MakeTLorenz (const TParticleList &particles)
 
static TCandidatePtrList getNeutral (const TEventData &data, const double threshold)
 
static double getChargedClusterE (const TClusterList &clusters)
 
static double getCandidateVetoE (const TCandidateList &cands)
 
static double getCorrVetoEnergy (const TCandidate &photon, const TCandidate &proton)
 
static double getPhotonVetoEnergy (const protonSelection_t &sel, const bool strict=false)
 
static double getCBVetoEnergy (const TCandidatePtr &cand)
 
static double getCBProtonVeto (const protonSelection_t &sel)
 
static std::vector< double > getCBPhotonVeto (const protonSelection_t &sel)
 
static std::vector< std::string > tokenize_cuts (const std::string &path)
 

Member Function Documentation

◆ cutOn()

template<class T >
static bool ant::analysis::physics::tools::cutOn ( const std::string &  fillName,
const interval< T > &  range,
const T &  val,
TH1D *  steps 
)
inlinestatic

◆ getCandidateVetoE()

double tools::getCandidateVetoE ( const TCandidateList cands)
static

◆ getCBPhotonVeto()

static std::vector<double> ant::analysis::physics::tools::getCBPhotonVeto ( const protonSelection_t sel)
inlinestatic

◆ getCBProtonVeto()

static double ant::analysis::physics::tools::getCBProtonVeto ( const protonSelection_t sel)
inlinestatic

◆ getCBVetoEnergy()

static double ant::analysis::physics::tools::getCBVetoEnergy ( const TCandidatePtr cand)
inlinestatic

◆ getChargedClusterE()

double tools::getChargedClusterE ( const TClusterList clusters)
static

◆ getCorrVetoEnergy()

double tools::getCorrVetoEnergy ( const TCandidate photon,
const TCandidate proton 
)
static

◆ getNeutral()

TCandidatePtrList tools::getNeutral ( const TEventData data,
const double  threshold 
)
static

◆ getPhotonVetoEnergy()

double tools::getPhotonVetoEnergy ( const protonSelection_t sel,
const bool  strict = false 
)
static

◆ makeProtonSelections()

std::vector< tools::protonSelection_t > tools::makeProtonSelections ( const TCandidateList candidates,
const LorentzVec photonBeam,
double  taggE,
const IntervalD imMMprotonCut = {-std_ext::inf,std_ext::inf} 
)
static

◆ MakeTLorenz()

static std::vector<TLorentzVector> ant::analysis::physics::tools::MakeTLorenz ( const TParticleList particles)
inlinestatic

◆ tokenize_cuts()

static std::vector<std::string> ant::analysis::physics::tools::tokenize_cuts ( const std::string &  path)
inlinestatic

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