#include <EvtMBreitWigner.hh>
Inheritance diagram for EvtMBreitWigner:
Public Member Functions | |
EvtMLineShape * | duplicate () const |
EvtMBreitWigner (const EvtId &id, const vector< string > &args) | |
void | setres (EvtMRes *n) |
EvtComplex | shape (const vector< EvtVector4R > &product) const |
~EvtMBreitWigner () | |
Protected Attributes | |
EvtMRes * | _node |
Private Attributes | |
EvtId | _id |
double | _resmass |
double | _width |
|
00007 { 00008 if( args.size() != 0 ) { 00009 report(ERROR, "EvtGen")<<"Unknown input arguments passed in to lineshape."<<endl; 00010 ::abort(); 00011 } 00012 00013 _id = id; 00014 _width = EvtPDL::getWidth( id ); 00015 _resmass = EvtPDL::getMeanMass( id ); 00016 }
|
|
00010 {};
|
|
Implements EvtMLineShape. 00028 { 00029 vector<string> args; 00030 EvtMLineShape* tmp=new EvtMBreitWigner( _id, args ); 00031 return tmp; 00032 }
|
|
00014 { _node = n; }
|
|
Implements EvtMLineShape. 00019 { 00020 static EvtComplex I(0.0, 1.0); 00021 double mass = _node->get4vector(product).mass(); 00022 00023 return sqrt(_width/( EvtConst::twoPi )) * 1/( mass - _resmass - I * _width/2 ); 00024 }
|
|
|
|
|
|
|
|
|