FlavorModifier Class Reference

ABC defines FlavorModifier interface. More...

#include <FlavorModifier.h>

Inheritance diagram for FlavorModifier:
FlavorMod_None FlavorMod_Random

List of all members.

Public Member Functions

virtual void Configure (const char *option="")=0
 Configure the generator from a text string.
virtual TParticle ModifyFlavor (const TParticle &nu, double distance) const =0
virtual std::vector< int > FlavorList (const std::vector< int > &flvin)=0
 We need to know the potential final states.
 FlavorModifier ()
 Default ctor/dtor can't be defined to be = 0 or ROOTCINT barfs.
virtual ~FlavorModifier ()

Detailed Description

ABC defines FlavorModifier interface.

Author:
(last to touch it)
Author
rhatcher
Version:
Revision
1.1
Date:
Date
2006/06/06 05:06:26

Contact: rhatcher@fnal.gov

Created on: Wed Apr 13 18:16:24 2005

Id
FlavorModifier.h,v 1.1 2006/06/06 05:06:26 rhatcher Exp

Definition at line 29 of file FlavorModifier.h.


Constructor & Destructor Documentation

FlavorModifier::FlavorModifier (  )  [inline]

Default ctor/dtor can't be defined to be = 0 or ROOTCINT barfs.

Definition at line 49 of file FlavorModifier.h.

00049 {}

virtual FlavorModifier::~FlavorModifier (  )  [inline, virtual]

Definition at line 50 of file FlavorModifier.h.

00050 {}


Member Function Documentation

virtual void FlavorModifier::Configure ( const char *  option = ""  )  [pure virtual]

Configure the generator from a text string.

Public interface:- Each generator that inherits from this interface must supply the following methods:

Implemented in FlavorMod_None, and FlavorMod_Random.

Referenced by EvtKinNuModule::BeginJob().

virtual std::vector<int> FlavorModifier::FlavorList ( const std::vector< int > &  flvin  )  [pure virtual]

We need to know the potential final states.

Implemented in FlavorMod_None, and FlavorMod_Random.

virtual TParticle FlavorModifier::ModifyFlavor ( const TParticle &  nu,
double  distance 
) const [pure virtual]

Return a new particle with different flavor Users must be aware that the particle might be weighted (see TParticle::GetWeight()).

Implemented in FlavorMod_None, and FlavorMod_Random.

Referenced by NuTransport::GenerateEvent().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1