ant
A2 ant: class-based analysis framework
ant::analysis::utils::UncertaintyModels::Interpolated Struct Reference

Uncertainties with interpolated surfaces in (E,theta) plane, determined with iterative procedure. More...

#include <Interpolated.h>

+ Inheritance diagram for ant::analysis::utils::UncertaintyModels::Interpolated:
+ Collaboration diagram for ant::analysis::utils::UncertaintyModels::Interpolated:

Classes

struct  EkRxyPhiL
 
struct  EkThetaPhiR
 

Public Types

enum  Type_t { Type_t::Data, Type_t::MC }
 

Public Member Functions

 Interpolated (UncertaintyModelPtr starting_uncertainty_, bool use_proton_sigmaE_=false)
 
virtual ~Interpolated ()
 
Uncertainties_t GetSigmas (const TParticle &particle) const override
 
void LoadSigmas (const std::string &filename)
 
bool HasLoadedSigmas () const
 
- Public Member Functions inherited from ant::analysis::utils::UncertaintyModel
 UncertaintyModel ()
 
virtual ~UncertaintyModel ()
 
virtual double GetBeamEnergySigma (double photon_energy) const
 

Static Public Member Functions

static std::shared_ptr< InterpolatedmakeAndLoad (UncertaintyModelPtr default_model=nullptr, bool use_proton_sigmaE=false)
 
static std::shared_ptr< InterpolatedmakeAndLoad (Type_t type, UncertaintyModelPtr default_model=nullptr, bool use_proton_sigmaE=false)
 

Static Protected Member Functions

static std::unique_ptr< const Interpolator2DLoadInterpolator (const WrapTFile &file, const std::string &prefix)
 

Protected Attributes

const UncertaintyModelPtr starting_uncertainty
 
const bool use_proton_sigmaE
 
bool loaded_sigmas = false
 
EkThetaPhiR cb_photon
 
EkRxyPhiL taps_photon
 
EkThetaPhiR cb_proton
 
EkRxyPhiL taps_proton
 
- Protected Attributes inherited from ant::analysis::utils::UncertaintyModel
std::shared_ptr< TaggerDetector_ttagger
 

Friends

std::ostream & operator<< (std::ostream &stream, const Interpolated &o)
 
std::ostream & operator<< (std::ostream &stream, const EkThetaPhiR &o)
 
std::ostream & operator<< (std::ostream &stream, const EkRxyPhiL &o)
 

Detailed Description

Uncertainties with interpolated surfaces in (E,theta) plane, determined with iterative procedure.

See also
progs/Ant-makeSigmas.cc
src/analysis/physics/common/InterpolatedPulls.h

Member Enumeration Documentation

◆ Type_t

Constructor & Destructor Documentation

◆ Interpolated()

Interpolated::Interpolated ( UncertaintyModelPtr  starting_uncertainty_,
bool  use_proton_sigmaE_ = false 
)

◆ ~Interpolated()

Interpolated::~Interpolated ( )
virtual

Member Function Documentation

◆ GetSigmas()

Uncertainties_t Interpolated::GetSigmas ( const TParticle particle) const
overridevirtual

◆ HasLoadedSigmas()

bool ant::analysis::utils::UncertaintyModels::Interpolated::HasLoadedSigmas ( ) const
inline

◆ LoadInterpolator()

std::unique_ptr< const Interpolator2D > Interpolated::LoadInterpolator ( const WrapTFile file,
const std::string &  prefix 
)
staticprotected

◆ LoadSigmas()

void Interpolated::LoadSigmas ( const std::string &  filename)

◆ makeAndLoad() [1/2]

static std::shared_ptr<Interpolated> ant::analysis::utils::UncertaintyModels::Interpolated::makeAndLoad ( UncertaintyModelPtr  default_model = nullptr,
bool  use_proton_sigmaE = false 
)
inlinestatic

◆ makeAndLoad() [2/2]

std::shared_ptr< Interpolated > Interpolated::makeAndLoad ( Type_t  type,
UncertaintyModelPtr  default_model = nullptr,
bool  use_proton_sigmaE = false 
)
static

Friends And Related Function Documentation

◆ operator<< [1/3]

std::ostream& operator<< ( std::ostream &  stream,
const Interpolated o 
)
friend

◆ operator<< [2/3]

std::ostream& operator<< ( std::ostream &  stream,
const EkThetaPhiR o 
)
friend

◆ operator<< [3/3]

std::ostream& operator<< ( std::ostream &  stream,
const EkRxyPhiL o 
)
friend

Member Data Documentation

◆ cb_photon

EkThetaPhiR ant::analysis::utils::UncertaintyModels::Interpolated::cb_photon
protected

◆ cb_proton

EkThetaPhiR ant::analysis::utils::UncertaintyModels::Interpolated::cb_proton
protected

◆ loaded_sigmas

bool ant::analysis::utils::UncertaintyModels::Interpolated::loaded_sigmas = false
protected

◆ starting_uncertainty

const UncertaintyModelPtr ant::analysis::utils::UncertaintyModels::Interpolated::starting_uncertainty
protected

◆ taps_photon

EkRxyPhiL ant::analysis::utils::UncertaintyModels::Interpolated::taps_photon
protected

◆ taps_proton

EkRxyPhiL ant::analysis::utils::UncertaintyModels::Interpolated::taps_proton
protected

◆ use_proton_sigmaE

const bool ant::analysis::utils::UncertaintyModels::Interpolated::use_proton_sigmaE
protected

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