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

#include <mctrue_3pi0.h>

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

Public Member Functions

 McTrue3Pi0 (const std::string &name, OptionsPtr opts)
 
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 ()
 
virtual void Finish ()
 
std::string GetName () const
 
 Physics (const Physics &)=delete
 
Physicsoperator= (const Physics &)=delete
 

Protected Member Functions

std::vector< double > GetAllPhotonAngles (const TParticleList &photons) const
 

Protected Attributes

const std::vector< std::vector< unsigned > > combinations
 
ant::analysis::utils::ParticleVars proton
 
std::vector< ant::analysis::utils::ParticleVarspi0s
 
std::vector< double > popens
 
std::vector< ant::analysis::utils::ParticleVarsgammas
 
TH1D * hAngle
 
TTree * mcTrue
 
- Protected Attributes inherited from ant::analysis::Physics
HistogramFactory HistFac
 

Constructor & Destructor Documentation

◆ McTrue3Pi0()

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

Member Function Documentation

◆ GetAllPhotonAngles()

std::vector< double > McTrue3Pi0::GetAllPhotonAngles ( const TParticleList photons) const
protected

◆ ProcessEvent()

void McTrue3Pi0::ProcessEvent ( const TEvent event,
manager_t manager 
)
overridevirtual
Todo:
this could actually be implemented with ParticleTree_t comparison

Implements ant::analysis::Physics.

◆ ShowResult()

void McTrue3Pi0::ShowResult ( )
overridevirtual

Reimplemented from ant::analysis::Physics.

Member Data Documentation

◆ combinations

const std::vector<std::vector<unsigned> > ant::analysis::physics::McTrue3Pi0::combinations
protected
Initial value:
=
{
{ 0, 1, 2, 3, 4, 5 },
{ 0, 1, 2, 4, 3, 5 },
{ 0, 1, 2, 5, 3, 4 },
{ 0, 2, 1, 3, 4, 5 },
{ 0, 2, 1, 4, 3, 5 },
{ 0, 2, 1, 5, 3, 4 },
{ 0, 3, 1, 2, 4, 5 },
{ 0, 3, 1, 4, 2, 5 },
{ 0, 3, 1, 5, 2, 4 },
{ 0, 4, 1, 2, 3, 5 },
{ 0, 4, 1, 3, 2, 5 },
{ 0, 4, 1, 5, 2, 3 },
{ 0, 5, 1, 2, 3, 4 },
{ 0, 5, 1, 3, 2, 4 },
{ 0, 5, 1, 4, 2, 3 }
}

◆ gammas

std::vector<ant::analysis::utils::ParticleVars> ant::analysis::physics::McTrue3Pi0::gammas
protected

◆ hAngle

TH1D* ant::analysis::physics::McTrue3Pi0::hAngle
protected

◆ mcTrue

TTree* ant::analysis::physics::McTrue3Pi0::mcTrue
protected

◆ pi0s

std::vector<ant::analysis::utils::ParticleVars> ant::analysis::physics::McTrue3Pi0::pi0s
protected

◆ popens

std::vector<double> ant::analysis::physics::McTrue3Pi0::popens
protected

◆ proton

ant::analysis::utils::ParticleVars ant::analysis::physics::McTrue3Pi0::proton
protected

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