ant
A2 ant: class-based analysis framework
ant::analysis::physics::PID_Energy Class Reference

#include <PID_Energy.h>

+ Inheritance diagram for ant::analysis::physics::PID_Energy:
+ Collaboration diagram for ant::analysis::physics::PID_Energy:

Classes

struct  PerChannel_t
 

Public Member Functions

 PID_Energy (const std::string &name, OptionsPtr opts)
 
void ProcessHEP (const TEvent &event)
 
bool find_best_comb (const TTaggerHit &, TCandidatePtrList &, TParticlePtr &)
 
virtual void ProcessEvent (const TEvent &event, manager_t &manager) override
 
virtual void ShowResult () override
 
virtual void Finish () override
 
- Public Member Functions inherited from ant::analysis::Physics
 Physics (const std::string &name, OptionsPtr opts)
 
virtual ~Physics ()
 
std::string GetName () const
 
 Physics (const Physics &)=delete
 
Physicsoperator= (const Physics &)=delete
 

Static Public Member Functions

static APLCON::Fit_Settings_t MakeFitSettings (unsigned)
 

Protected Member Functions

template<typename T >
bool shift_right (std::vector< T > &)
 
unsigned MinNGamma () const noexcept
 
unsigned MaxNGamma () const noexcept
 

Protected Attributes

TH2D * h_pedestals = nullptr
 
TH3D * h_bananas = nullptr
 
bool useHEP = false
 
const unsigned MAX_GAMMA
 
TH1D * h_BananaEntries
 
TH1D * h_BananaEntriesUnmatched
 
std::vector< PerChannel_th_perChannel
 
PromptRandom::Switch promptrandom
 
utils::TriggerSimulation triggersimu
 
utils::UncertaintyModelPtr model
 
utils::KinFitter kinfit
 
TH2D * dEvE_all_combined
 
std::vector< TH2D * > dEvE_combined
 
TH2D * projections
 
std::vector< utils::KinFitterkinfits
 
- Protected Attributes inherited from ant::analysis::Physics
HistogramFactory HistFac
 

Static Protected Attributes

static constexpr bool PROBABILITY_CUT = true
 
static constexpr double PROBABILITY = .01
 
static constexpr unsigned FIRST = 500
 
static constexpr unsigned LAST = 1000
 

Constructor & Destructor Documentation

◆ PID_Energy()

PID_Energy::PID_Energy ( const std::string &  name,
OptionsPtr  opts 
)

Member Function Documentation

◆ find_best_comb()

bool PID_Energy::find_best_comb ( const TTaggerHit taggerhit,
TCandidatePtrList comb,
TParticlePtr fitted_proton 
)

◆ Finish()

void PID_Energy::Finish ( )
overridevirtual

Reimplemented from ant::analysis::Physics.

◆ MakeFitSettings()

APLCON::Fit_Settings_t PID_Energy::MakeFitSettings ( unsigned  max_iterations)
static

◆ MaxNGamma()

unsigned ant::analysis::physics::PID_Energy::MaxNGamma ( ) const
inlineprotectednoexcept

◆ MinNGamma()

unsigned ant::analysis::physics::PID_Energy::MinNGamma ( ) const
inlineprotectednoexcept

◆ ProcessEvent()

void PID_Energy::ProcessEvent ( const TEvent event,
manager_t manager 
)
overridevirtual

◆ ProcessHEP()

void PID_Energy::ProcessHEP ( const TEvent event)

◆ shift_right()

template<typename T >
bool PID_Energy::shift_right ( std::vector< T > &  v)
protected

◆ ShowResult()

void PID_Energy::ShowResult ( )
overridevirtual

Reimplemented from ant::analysis::Physics.

Member Data Documentation

◆ dEvE_all_combined

TH2D* ant::analysis::physics::PID_Energy::dEvE_all_combined
protected

◆ dEvE_combined

std::vector<TH2D*> ant::analysis::physics::PID_Energy::dEvE_combined
protected

◆ FIRST

constexpr unsigned ant::analysis::physics::PID_Energy::FIRST = 500
staticprotected

◆ h_BananaEntries

TH1D* ant::analysis::physics::PID_Energy::h_BananaEntries
protected

◆ h_BananaEntriesUnmatched

TH1D* ant::analysis::physics::PID_Energy::h_BananaEntriesUnmatched
protected

◆ h_bananas

TH3D* ant::analysis::physics::PID_Energy::h_bananas = nullptr
protected

◆ h_pedestals

TH2D* ant::analysis::physics::PID_Energy::h_pedestals = nullptr
protected

◆ h_perChannel

std::vector<PerChannel_t> ant::analysis::physics::PID_Energy::h_perChannel
protected

◆ kinfit

utils::KinFitter ant::analysis::physics::PID_Energy::kinfit
protected

◆ kinfits

std::vector<utils::KinFitter> ant::analysis::physics::PID_Energy::kinfits
protected

◆ LAST

constexpr unsigned ant::analysis::physics::PID_Energy::LAST = 1000
staticprotected

◆ MAX_GAMMA

const unsigned ant::analysis::physics::PID_Energy::MAX_GAMMA
protected

◆ model

utils::UncertaintyModelPtr ant::analysis::physics::PID_Energy::model
protected

◆ PROBABILITY

constexpr double ant::analysis::physics::PID_Energy::PROBABILITY = .01
staticprotected

◆ PROBABILITY_CUT

constexpr bool ant::analysis::physics::PID_Energy::PROBABILITY_CUT = true
staticprotected

◆ projections

TH2D* ant::analysis::physics::PID_Energy::projections
protected

◆ promptrandom

PromptRandom::Switch ant::analysis::physics::PID_Energy::promptrandom
protected

◆ triggersimu

utils::TriggerSimulation ant::analysis::physics::PID_Energy::triggersimu
protected

◆ useHEP

bool ant::analysis::physics::PID_Energy::useHEP = false
protected

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