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

#include <Omega_EtaG.h>

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

Classes

class  DebugCounter
 
struct  DebugCounters
 
struct  MyTreeFitter_t
 
struct  OmegaTree_t
 
struct  OmegatruthTree_t
 
struct  ReactionChannel_t
 
struct  ReactionChannelList_t
 

Public Types

using decaytree_t = ant::Tree< const ParticleTypeDatabase::Type & >
 
- Public Types inherited from ant::analysis::physics::OmegaBase
enum  DataMode { DataMode::MCTrue, DataMode::Reconstructed }
 

Public Member Functions

 OmegaEtaG2 (const std::string &name, OptionsPtr opts)
 
virtual ~OmegaEtaG2 ()
 
void Finish () override
 
- Public Member Functions inherited from ant::analysis::physics::OmegaBase
 OmegaBase (const std::string &name, OptionsPtr opts)
 
virtual ~OmegaBase ()=default
 
virtual void ProcessEvent (const TEvent &event, manager_t &manager) override
 
virtual void ShowResult () 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 ReactionChannelList_t makeChannels ()
 
- Static Public Member Functions inherited from ant::analysis::physics::OmegaBase
static double getTime (const TParticlePtr &p)
 
template<typename it_type >
static LorentzVec LVSum (it_type begin, it_type end)
 
template<typename it_type >
static LorentzVec LVSumL (it_type begin, it_type end)
 

Public Attributes

std::map< unsigned, TH1D * > stephists
 

Static Public Attributes

static const ReactionChannelList_t reaction_channels = OmegaEtaG2::makeChannels()
 
- Static Public Attributes inherited from ant::analysis::physics::OmegaBase
static constexpr auto DetTAPS = 2
 
static constexpr auto DetCB = 1
 

Protected Types

using combs_t = std::vector< std::vector< std::size_t > >
 
using doubles = std::vector< double >
 

Protected Member Functions

void Analyse (const TEventData &data, const TEvent &event, manager_t &manager) override
 
bool ProtonCheck (const TCandidatePtr &c) const
 
bool PhotonCheck (const TCandidatePtr &c) const
 
bool StrictPhotonVeto (const TCandidate &photon, const TCandidate &proton) const
 StrictPhotonVeto. More...
 
- Protected Member Functions inherited from ant::analysis::physics::OmegaBase
double calcEnergySum (const TParticleList &particles) const
 
TParticleList getGeoAccepted (const TParticleList &p) const
 
unsigned geoAccepted (const TCandidateList &cands) const
 

Static Protected Member Functions

static size_t CombIndex (const ant::TParticleList &orig, const MyTreeFitter_t &)
 

Protected Attributes

TH1D * missed_channels = nullptr
 
TH1D * found_channels = nullptr
 
TTree * tree = nullptr
 
OmegaTree_t t
 
TTree * tree_truth = nullptr
 
OmegatruthTree_t ttruth
 
const double cut_ESum
 
const double cut_Angle_PMM
 
const interval< double > photon_E_cb
 
const interval< double > photon_E_taps
 
const interval< double > proton_theta
 
const interval< double > cand_theta_range
 
const interval< double > cut_missing_mass
 
const interval< double > cut_gggim
 
const double opt_kinfit_probcut
 
const bool opt_FitZVertex
 
const bool opt_strict_Vetos
 
const double opt_z_sigma
 
const bool opt_skip_treefit
 
const unsigned nphotons = 3
 
const unsigned nCandsMin = nphotons + 1
 
const unsigned nExtraCands = 2
 
const unsigned nCandsMax = nCandsMin + nExtraCands
 
ant::analysis::PromptRandom::Switch promptrandom
 
utils::UncertaintyModelPtr model_Data
 
utils::UncertaintyModelPtr model_MC
 
utils::KinFitter fitter
 
MyTreeFitter_t fitter_pi0
 
MyTreeFitter_t fitter_eta
 
const LorentzVec target = LorentzVec({0, 0, 0}, ParticleTypeDatabase::Proton.Mass())
 
TagChMultiplicity tagChMult
 
DebugCounter dTaggerHitsAccepted
 
DebugCounters dCounters
 
TH1D * hKinfitProb_all = nullptr
 
- Protected Attributes inherited from ant::analysis::physics::OmegaBase
utils::A2SimpleGeometry geo
 
utils::TriggerSimulation triggersimu
 
DataMode mode = DataMode::Reconstructed
 
- Protected Attributes inherited from ant::analysis::Physics
HistogramFactory HistFac
 

Static Protected Attributes

static const combs_t combs
 

Member Typedef Documentation

◆ combs_t

using ant::analysis::physics::OmegaEtaG2::combs_t = std::vector<std::vector<std::size_t> >
protected

◆ decaytree_t

◆ doubles

using ant::analysis::physics::OmegaEtaG2::doubles = std::vector<double>
protected

Constructor & Destructor Documentation

◆ OmegaEtaG2()

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

◆ ~OmegaEtaG2()

OmegaEtaG2::~OmegaEtaG2 ( )
virtual

Member Function Documentation

◆ Analyse()

void OmegaEtaG2::Analyse ( const TEventData data,
const TEvent event,
manager_t manager 
)
overrideprotectedvirtual

◆ CombIndex()

size_t OmegaEtaG2::CombIndex ( const ant::TParticleList orig,
const MyTreeFitter_t f 
)
staticprotected

◆ Finish()

void OmegaEtaG2::Finish ( )
overridevirtual

Reimplemented from ant::analysis::physics::OmegaBase.

◆ makeChannels()

OmegaEtaG2::ReactionChannelList_t OmegaEtaG2::makeChannels ( )
static

◆ PhotonCheck()

bool OmegaEtaG2::PhotonCheck ( const TCandidatePtr c) const
protected

◆ ProtonCheck()

bool OmegaEtaG2::ProtonCheck ( const TCandidatePtr c) const
protected

◆ StrictPhotonVeto()

bool OmegaEtaG2::StrictPhotonVeto ( const TCandidate photon,
const TCandidate proton 
) const
protected

StrictPhotonVeto.

Parameters
photon
protonin TAPS -> accept in CB: uncharged -> accept charged: same PID element as proton -> accept different element -> reject
Returns

Member Data Documentation

◆ cand_theta_range

const interval<double> ant::analysis::physics::OmegaEtaG2::cand_theta_range
protected

◆ combs

const combs_t ant::analysis::physics::OmegaEtaG2::combs
staticprotected

◆ cut_Angle_PMM

const double ant::analysis::physics::OmegaEtaG2::cut_Angle_PMM
protected

◆ cut_ESum

const double ant::analysis::physics::OmegaEtaG2::cut_ESum
protected

◆ cut_gggim

const interval<double> ant::analysis::physics::OmegaEtaG2::cut_gggim
protected

◆ cut_missing_mass

const interval<double> ant::analysis::physics::OmegaEtaG2::cut_missing_mass
protected

◆ dCounters

DebugCounters ant::analysis::physics::OmegaEtaG2::dCounters
protected

◆ dTaggerHitsAccepted

DebugCounter ant::analysis::physics::OmegaEtaG2::dTaggerHitsAccepted
protected

◆ fitter

utils::KinFitter ant::analysis::physics::OmegaEtaG2::fitter
protected

◆ fitter_eta

MyTreeFitter_t ant::analysis::physics::OmegaEtaG2::fitter_eta
protected

◆ fitter_pi0

MyTreeFitter_t ant::analysis::physics::OmegaEtaG2::fitter_pi0
protected

◆ found_channels

TH1D* ant::analysis::physics::OmegaEtaG2::found_channels = nullptr
protected

◆ hKinfitProb_all

TH1D* ant::analysis::physics::OmegaEtaG2::hKinfitProb_all = nullptr
protected

◆ missed_channels

TH1D* ant::analysis::physics::OmegaEtaG2::missed_channels = nullptr
protected

◆ model_Data

utils::UncertaintyModelPtr ant::analysis::physics::OmegaEtaG2::model_Data
protected

◆ model_MC

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

◆ nCandsMax

const unsigned ant::analysis::physics::OmegaEtaG2::nCandsMax = nCandsMin + nExtraCands
protected

◆ nCandsMin

const unsigned ant::analysis::physics::OmegaEtaG2::nCandsMin = nphotons + 1
protected

◆ nExtraCands

const unsigned ant::analysis::physics::OmegaEtaG2::nExtraCands = 2
protected

◆ nphotons

const unsigned ant::analysis::physics::OmegaEtaG2::nphotons = 3
protected

◆ opt_FitZVertex

const bool ant::analysis::physics::OmegaEtaG2::opt_FitZVertex
protected

◆ opt_kinfit_probcut

const double ant::analysis::physics::OmegaEtaG2::opt_kinfit_probcut
protected

◆ opt_skip_treefit

const bool ant::analysis::physics::OmegaEtaG2::opt_skip_treefit
protected

◆ opt_strict_Vetos

const bool ant::analysis::physics::OmegaEtaG2::opt_strict_Vetos
protected

◆ opt_z_sigma

const double ant::analysis::physics::OmegaEtaG2::opt_z_sigma
protected

◆ photon_E_cb

const interval<double> ant::analysis::physics::OmegaEtaG2::photon_E_cb
protected

◆ photon_E_taps

const interval<double> ant::analysis::physics::OmegaEtaG2::photon_E_taps
protected

◆ promptrandom

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

◆ proton_theta

const interval<double> ant::analysis::physics::OmegaEtaG2::proton_theta
protected

◆ reaction_channels

const OmegaEtaG2::ReactionChannelList_t OmegaEtaG2::reaction_channels = OmegaEtaG2::makeChannels()
static

◆ stephists

std::map<unsigned, TH1D*> ant::analysis::physics::OmegaEtaG2::stephists

◆ t

OmegaTree_t ant::analysis::physics::OmegaEtaG2::t
protected

◆ tagChMult

TagChMultiplicity ant::analysis::physics::OmegaEtaG2::tagChMult
protected

◆ target

const LorentzVec ant::analysis::physics::OmegaEtaG2::target = LorentzVec({0, 0, 0}, ParticleTypeDatabase::Proton.Mass())
protected

◆ tree

TTree* ant::analysis::physics::OmegaEtaG2::tree = nullptr
protected

◆ tree_truth

TTree* ant::analysis::physics::OmegaEtaG2::tree_truth = nullptr
protected

◆ ttruth

OmegatruthTree_t ant::analysis::physics::OmegaEtaG2::ttruth
protected

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