All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
evgen::ldm::IMeVPrtlDecay Class Referenceabstract

IMeVPrtlDecay interface class definiton. More...

#include <IMeVPrtlDecay.h>

Inheritance diagram for evgen::ldm::IMeVPrtlDecay:
evgen::ldm::IMeVPrtlStage evgen::ldm::HiggsMakeDecay evgen::ldm::HNLMakeDecay

Public Member Functions

virtual ~IMeVPrtlDecay () noexcept=default
 Virtual Destructor. More...
 
virtual bool Decay (const MeVPrtlFlux &flux, const TVector3 &in, const TVector3 &out, MeVPrtlDecay &decay, double &weight)=0
 
- Public Member Functions inherited from evgen::ldm::IMeVPrtlStage
virtual ~IMeVPrtlStage () noexcept
 Virtual Destructor. More...
 
 IMeVPrtlStage (const char *name)
 
virtual void configure (const fhicl::ParameterSet &)=0
 Interface for configuring the particular algorithm tool. More...
 
virtual double MaxWeight ()=0
 
TVector3 RandomUnitVector ()
 
double GetRandom ()
 
const char * Name ()
 

Protected Member Functions

double TimeOfFlight (const MeVPrtlFlux &flux, TVector3 decay)
 

Additional Inherited Members

- Protected Attributes inherited from evgen::ldm::IMeVPrtlStage
CLHEP::HepRandomEngine * fEngine
 
const char * fName
 

Detailed Description

IMeVPrtlDecay interface class definiton.

Definition at line 36 of file IMeVPrtlDecay.h.

Constructor & Destructor Documentation

virtual evgen::ldm::IMeVPrtlDecay::~IMeVPrtlDecay ( )
virtualdefaultnoexcept

Virtual Destructor.

Member Function Documentation

virtual bool evgen::ldm::IMeVPrtlDecay::Decay ( const MeVPrtlFlux flux,
const TVector3 &  in,
const TVector3 &  out,
MeVPrtlDecay decay,
double &  weight 
)
pure virtual
double evgen::ldm::IMeVPrtlDecay::TimeOfFlight ( const MeVPrtlFlux flux,
TVector3  decay 
)
inlineprotected

Definition at line 47 of file IMeVPrtlDecay.h.

47  {
48  // TODO: should the neutrino TOF be subtracted here to get the correct T0?
49  //
50  // TODO: implement time of flight
51  return 0.;
52  }

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