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

#include <EtapDalitzMC.h>

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

Classes

struct  MCTree_t
 

Public Member Functions

 Etap2gMC (const std::string &name, OptionsPtr opts)
 
void setPromptRandom (PromptRandom::Switch &)
 
void linkTree (RefTree_t &)
 
virtual void ProcessEvent (const TEvent &event, manager_t &manager) override
 
void Process (const TEvent &event)
 
- Public Member Functions inherited from ant::analysis::Physics
 Physics (const std::string &name, OptionsPtr opts)
 
virtual ~Physics ()
 
virtual void Finish ()
 
virtual void ShowResult ()
 
std::string GetName () const
 
 Physics (const Physics &)=delete
 
Physicsoperator= (const Physics &)=delete
 
- Public Member Functions inherited from ant::analysis::physics::EtapDalitzTools
double effective_radius (const TCandidatePtr) const
 
double lat_moment (const TCandidatePtr) const
 
template<typename iter >
LorentzVec sumlv (iter start, iter end)
 
void count_clusters (const TCandidateList &, size_t &, size_t &)
 
bool q2_preselection (const TEventData &, const double) const
 
void channel_id (const TEvent &, channel_id_t &)
 
ParticleTypeTree base_tree ()
 
ParticleTypeTree etap_3g ()
 

Protected Types

using RefTree_t = EtapDalitzMC::RefTree_t
 
using particle_comb_t = utils::ProtonPhotonCombs::comb_t
 
using particle_combs_t = utils::ProtonPhotonCombs::Combinations_t
 

Protected Member Functions

void fill_tree (const APLCON::Result_t &, const APLCON::Result_t &, const TParticlePtr, const TParticleList &)
 
bool simple2CB1TAPS (const TCandidateList &cands, TParticlePtr &proton, TParticleList &photons)
 
bool doFit_checkProb (const TTaggerHit &taggerhit, const TParticlePtr proton, const TParticleList &photons, double &best_prob_fit)
 

Protected Attributes

MCTree_t mc
 
const bool less_plots
 
TH2D * h_taggChannel_vs_trueIM = nullptr
 
TH2D * h_energy_resolution_vs_theta_g1 = nullptr
 
TH2D * h_energy_resolution_vs_theta_g2 = nullptr
 
TH2D * h_energy_resolution_vs_trueE_g1 = nullptr
 
TH2D * h_energy_resolution_vs_trueE_g2 = nullptr
 
TH2D * h_energy_resolution_vs_theta_g1_fit = nullptr
 
TH2D * h_energy_resolution_vs_theta_g2_fit = nullptr
 
TH2D * h_energy_resolution_vs_trueE_g1_fit = nullptr
 
TH2D * h_energy_resolution_vs_trueE_g2_fit = nullptr
 
TH2D * h_theta_resolution_vs_energy_g1 = nullptr
 
TH2D * h_theta_resolution_vs_energy_g2 = nullptr
 
TH2D * h_theta_resolution_vs_trueTheta_g1 = nullptr
 
TH2D * h_theta_resolution_vs_trueTheta_g2 = nullptr
 
TH2D * h_theta_resolution_vs_energy_g1_fit = nullptr
 
TH2D * h_theta_resolution_vs_energy_g2_fit = nullptr
 
TH2D * h_theta_resolution_vs_trueTheta_g1_fit = nullptr
 
TH2D * h_theta_resolution_vs_trueTheta_g2_fit = nullptr
 
PromptRandom::Switchpromptrandom
 
utils::TriggerSimulation triggersimu
 
utils::UncertaintyModelPtr model_MC
 
utils::KinFitter kinfit
 
utils::TreeFitter treefitter_etap
 
std::shared_ptr< ant::Detector_tept
 
RefTree_tt
 
- Protected Attributes inherited from ant::analysis::Physics
HistogramFactory HistFac
 
- Protected Attributes inherited from ant::analysis::physics::EtapDalitzTools
utils::ClusterTools clustertools
 

Additional Inherited Members

- Static Public Member Functions inherited from ant::analysis::physics::EtapDalitzTools
template<typename Particle >
static std::vector< size_t > get_sorted_indices_vetoE (std::vector< Particle > particles)
 
static std::vector< double > get_veto_energies (std::vector< TSimpleParticle > particles)
 
static std::vector< double > get_veto_energies (std::vector< TParticlePtr > particles)
 

Member Typedef Documentation

◆ particle_comb_t

◆ particle_combs_t

◆ RefTree_t

Constructor & Destructor Documentation

◆ Etap2gMC()

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

Member Function Documentation

◆ doFit_checkProb()

bool Etap2gMC::doFit_checkProb ( const TTaggerHit taggerhit,
const TParticlePtr  proton,
const TParticleList photons,
double &  best_prob_fit 
)
protected

◆ fill_tree()

void Etap2gMC::fill_tree ( const APLCON::Result_t &  treefit_result,
const APLCON::Result_t &  kinfit_result,
const TParticlePtr  proton,
const TParticleList photons 
)
protected

◆ linkTree()

void Etap2gMC::linkTree ( RefTree_t ref)

◆ Process()

void Etap2gMC::Process ( const TEvent event)

◆ ProcessEvent()

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

◆ setPromptRandom()

void Etap2gMC::setPromptRandom ( PromptRandom::Switch prs)

◆ simple2CB1TAPS()

bool Etap2gMC::simple2CB1TAPS ( const TCandidateList cands,
TParticlePtr proton,
TParticleList photons 
)
protected

Member Data Documentation

◆ ept

std::shared_ptr<ant::Detector_t> ant::analysis::physics::Etap2gMC::ept
protected

◆ h_energy_resolution_vs_theta_g1

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_theta_g1 = nullptr
protected

◆ h_energy_resolution_vs_theta_g1_fit

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_theta_g1_fit = nullptr
protected

◆ h_energy_resolution_vs_theta_g2

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_theta_g2 = nullptr
protected

◆ h_energy_resolution_vs_theta_g2_fit

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_theta_g2_fit = nullptr
protected

◆ h_energy_resolution_vs_trueE_g1

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_trueE_g1 = nullptr
protected

◆ h_energy_resolution_vs_trueE_g1_fit

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_trueE_g1_fit = nullptr
protected

◆ h_energy_resolution_vs_trueE_g2

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_trueE_g2 = nullptr
protected

◆ h_energy_resolution_vs_trueE_g2_fit

TH2D* ant::analysis::physics::Etap2gMC::h_energy_resolution_vs_trueE_g2_fit = nullptr
protected

◆ h_taggChannel_vs_trueIM

TH2D* ant::analysis::physics::Etap2gMC::h_taggChannel_vs_trueIM = nullptr
protected

◆ h_theta_resolution_vs_energy_g1

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_energy_g1 = nullptr
protected

◆ h_theta_resolution_vs_energy_g1_fit

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_energy_g1_fit = nullptr
protected

◆ h_theta_resolution_vs_energy_g2

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_energy_g2 = nullptr
protected

◆ h_theta_resolution_vs_energy_g2_fit

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_energy_g2_fit = nullptr
protected

◆ h_theta_resolution_vs_trueTheta_g1

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_trueTheta_g1 = nullptr
protected

◆ h_theta_resolution_vs_trueTheta_g1_fit

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_trueTheta_g1_fit = nullptr
protected

◆ h_theta_resolution_vs_trueTheta_g2

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_trueTheta_g2 = nullptr
protected

◆ h_theta_resolution_vs_trueTheta_g2_fit

TH2D* ant::analysis::physics::Etap2gMC::h_theta_resolution_vs_trueTheta_g2_fit = nullptr
protected

◆ kinfit

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

◆ less_plots

const bool ant::analysis::physics::Etap2gMC::less_plots
protected

◆ mc

MCTree_t ant::analysis::physics::Etap2gMC::mc
protected

◆ model_MC

utils::UncertaintyModelPtr ant::analysis::physics::Etap2gMC::model_MC
protected

◆ promptrandom

PromptRandom::Switch* ant::analysis::physics::Etap2gMC::promptrandom
protected

◆ t

RefTree_t* ant::analysis::physics::Etap2gMC::t
protected

◆ treefitter_etap

utils::TreeFitter ant::analysis::physics::Etap2gMC::treefitter_etap
protected

◆ triggersimu

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

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