Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

EvtBtoXsgammaFixedMass Class Reference

#include <EvtBtoXsgammaFixedMass.hh>

Inheritance diagram for EvtBtoXsgammaFixedMass:

EvtBtoXsgammaAbsModel List of all members.

Public Member Functions

 EvtBtoXsgammaFixedMass ()
double GetMass (int code)
void init (int, double *)
virtual ~EvtBtoXsgammaFixedMass ()

Private Attributes

double _mH

Constructor & Destructor Documentation

EvtBtoXsgammaFixedMass::EvtBtoXsgammaFixedMass  )  [inline]
 

00031 {}

EvtBtoXsgammaFixedMass::~EvtBtoXsgammaFixedMass  )  [virtual]
 

00029                                                {
00030 }


Member Function Documentation

double EvtBtoXsgammaFixedMass::GetMass int  code  )  [virtual]
 

Implements EvtBtoXsgammaAbsModel.

00050                                                   {
00051   return _mH;
00052 }

void EvtBtoXsgammaFixedMass::init int  ,
double * 
[virtual]
 

Reimplemented from EvtBtoXsgammaAbsModel.

00032                                                        {
00033 
00034   if ((nArg) > 2 || (nArg > 1 && nArg <2)){
00035   
00036   report(ERROR,"EvtGen") << "EvtBtoXsgamma generator model "
00037                          << "EvtBtoXsgammaFixedMass expected " 
00038                          << "either 1(default config) or two arguments but found: "<<nArg<<endl;
00039   report(ERROR,"EvtGen") << "Will terminate execution!"<<endl;
00040     ::abort();  
00041   }
00042   
00043   if(nArg == 1){
00044     _mH = 2.0;
00045   }else{
00046     _mH=args[1];
00047   }
00048 }


Member Data Documentation

double EvtBtoXsgammaFixedMass::_mH [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:03:57 2011 for BOSS6.5.5 by  doxygen 1.3.9.1