FlavorMod_None Class Reference

A simple neutrino flavor modifier. More...

#include <FlavorMod_None.h>

Inheritance diagram for FlavorMod_None:
FlavorModifier

List of all members.

Public Member Functions

 FlavorMod_None ()
virtual ~FlavorMod_None ()
virtual void Configure (const char *option="")
 Configure the generator from a text string.
virtual TParticle ModifyFlavor (const TParticle &nu, double distance) const
virtual std::vector< int > FlavorList (const std::vector< int > &flvin)
 We need to know the potential final states.

Detailed Description

A simple neutrino flavor modifier.

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
FlavorMod_None.h,v 1.1 2006/06/06 05:06:26 rhatcher Exp

Definition at line 27 of file FlavorMod_None.h.


Constructor & Destructor Documentation

FlavorMod_None::FlavorMod_None (  ) 

Definition at line 11 of file FlavorMod_None.cxx.

References Msg::kDebug, and MSG.

00012 {
00013   MSG("EvtKin",Msg::kDebug) << "FlavorMod_None ctor" << endl;
00014 }

FlavorMod_None::~FlavorMod_None (  )  [virtual]

Definition at line 17 of file FlavorMod_None.cxx.

References Msg::kDebug, and MSG.

00018 {
00019   MSG("EvtKin",Msg::kDebug) << "FlavorMod_None dtor" << endl;
00020 }


Member Function Documentation

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

Configure the generator from a text string.

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

Implements FlavorModifier.

Definition at line 23 of file FlavorMod_None.cxx.

References Msg::kDebug, Msg::kWarning, and MSG.

00024 {
00025   MSG("EvtKin",Msg::kDebug)
00026     << "FlavorMod_None::Configure()" << endl
00027     <<"   '" << option << "'" << endl;
00028   MSG("EvtKin",Msg::kWarning)
00029     << "no configuration method implemented" << endl;
00030 }

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

We need to know the potential final states.

Implements FlavorModifier.

Definition at line 40 of file FlavorMod_None.cxx.

00041 {
00042   return flvin;
00043 }

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

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

Implements FlavorModifier.

Definition at line 33 of file FlavorMod_None.cxx.

00035 {
00036   return nu;
00037 }


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1