CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Exhume::Event Class Reference

#include <Event.h>

Inheritance diagram for Exhume::Event:
Exhume::Weight

Public Member Functions

double CrossSectionCalculation ()
 
 Event (CrossSection &, CLHEP::HepRandomEngine *)
 
void Generate ()
 
double GetEfficiency ()
 
unsigned int GetLastSeed ()
 
std::vector< std::pair< double,
double > > 
GetVar ()
 
void SetMassRange (const double &Min_, const double &Max_)
 
void SetParameterSpace ()
 
void Sett1Max (const double &xx_)
 
void Sett1Min (const double &xx_)
 
void Sett2Max (const double &xx_)
 
void Sett2Min (const double &xx_)
 
void Setx1Max (const double &xx_)
 
void Setx2Max (const double &xx_)
 
 ~Event ()
 
- Public Member Functions inherited from Exhume::Weight
std::map< double, double > GetFuncMap ()
 
std::map< double, double > GetLineShape ()
 
double GetTotalIntegral ()
 
 Weight ()
 
virtual ~Weight ()
 

Private Member Functions

void SelectValues ()
 
double WeightFunc (const double &)
 

Private Attributes

double B
 
double CSi
 
double CSMass
 
double Eta
 
double InvB
 
double InvBlnB
 
double InvRoot_s
 
double MaxMass
 
double MinMass
 
unsigned int NumberOfEvents
 
double Phi1
 
double Phi2
 
CrossSectionProcess
 
CLHEP::HepRandomEngine * randomEngine
 
double Root_s
 
double Sigmai
 
double SqrtsHat
 
double t1
 
double t1Max
 
double t1Min
 
double t2
 
double t2Max
 
double t2Min
 
unsigned int TotalAttempts
 
double tt1max
 
double tt1min
 
double tt2max
 
double tt2min
 
double TwoPI
 
std::vector< std::pair< double,
double > > 
Var
 
double VonNeu
 
double wgt
 
double x1Max
 
double x2Max
 
double ymax
 
double ymin
 
double yRange
 

Additional Inherited Members

- Protected Member Functions inherited from Exhume::Weight
void AddPoint (const double &, const double &)
 
double GetFunc (const double &xx_)
 
double GetValue (const double &xx_)
 
void WeightInit (const double &, const double &)
 
- Protected Attributes inherited from Exhume::Weight
double Max_
 
double TotalIntegral
 

Detailed Description

Definition at line 17 of file Event.h.

Constructor & Destructor Documentation

Exhume::Event::Event ( CrossSection ,
CLHEP::HepRandomEngine *   
)
Exhume::Event::~Event ( )

Member Function Documentation

double Exhume::Event::CrossSectionCalculation ( )
void Exhume::Event::Generate ( )
double Exhume::Event::GetEfficiency ( )
inline

Definition at line 66 of file Event.h.

References NumberOfEvents, and TotalAttempts.

Referenced by gen::ExhumeHadronizer::statistics().

66  {
67  return(100.0 * NumberOfEvents / TotalAttempts);
68  };
unsigned int TotalAttempts
Definition: Event.h:82
unsigned int NumberOfEvents
Definition: Event.h:82
unsigned int Exhume::Event::GetLastSeed ( )
inline

Definition at line 54 of file Event.h.

References rand().

54  {
55  return(rand());
56  };
Signal rand(Signal arg)
Definition: vlib.cc:442
std::vector<std::pair<double, double> > Exhume::Event::GetVar ( )
inline

Definition at line 58 of file Event.h.

58  {
59  return(Var);
60  };
void Exhume::Event::SelectValues ( )
private
void Exhume::Event::SetMassRange ( const double &  Min_,
const double &  Max_ 
)
inline

Definition at line 48 of file Event.h.

References Exhume::Weight::Max_, MaxMass, and MinMass.

Referenced by gen::ExhumeHadronizer::initializeForInternalPartons().

48  {
49  MinMass = Min_;
50  MaxMass = Max_;
51  return;
52  };
double MaxMass
Definition: Event.h:84
double MinMass
Definition: Event.h:84
double Max_
Definition: Weight.h:67
void Exhume::Event::SetParameterSpace ( )
void Exhume::Event::Sett1Max ( const double &  xx_)
inline

Definition at line 32 of file Event.h.

References t1Max.

32  {
33  t1Max = xx_;
34  return;
35  };
double t1Max
Definition: Event.h:84
void Exhume::Event::Sett1Min ( const double &  xx_)
inline

Definition at line 40 of file Event.h.

References t1Min.

40  {
41  t1Min = xx_;
42  return;
43  };
double t1Min
Definition: Event.h:84
void Exhume::Event::Sett2Max ( const double &  xx_)
inline

Definition at line 36 of file Event.h.

References t2Max.

36  {
37  t2Max = xx_;
38  return;
39  };
double t2Max
Definition: Event.h:84
void Exhume::Event::Sett2Min ( const double &  xx_)
inline

Definition at line 44 of file Event.h.

References t2Min.

44  {
45  t2Min = xx_;
46  return;
47  };
double t2Min
Definition: Event.h:84
void Exhume::Event::Setx1Max ( const double &  xx_)
inline

Definition at line 24 of file Event.h.

References x1Max.

24  {
25  x1Max = xx_;
26  return;
27  };
double x1Max
Definition: Event.h:84
void Exhume::Event::Setx2Max ( const double &  xx_)
inline

Definition at line 28 of file Event.h.

References x2Max.

28  {
29  x2Max = xx_;
30  return;
31  };
double x2Max
Definition: Event.h:84
double Exhume::Event::WeightFunc ( const double &  )
privatevirtual

Implements Exhume::Weight.

Member Data Documentation

double Exhume::Event::B
private

Definition at line 78 of file Event.h.

double Exhume::Event::CSi
private

Definition at line 77 of file Event.h.

double Exhume::Event::CSMass
private

Definition at line 77 of file Event.h.

double Exhume::Event::Eta
private

Definition at line 79 of file Event.h.

double Exhume::Event::InvB
private

Definition at line 78 of file Event.h.

double Exhume::Event::InvBlnB
private

Definition at line 78 of file Event.h.

double Exhume::Event::InvRoot_s
private

Definition at line 78 of file Event.h.

double Exhume::Event::MaxMass
private

Definition at line 84 of file Event.h.

Referenced by SetMassRange().

double Exhume::Event::MinMass
private

Definition at line 84 of file Event.h.

Referenced by SetMassRange().

unsigned int Exhume::Event::NumberOfEvents
private

Definition at line 82 of file Event.h.

Referenced by GetEfficiency().

double Exhume::Event::Phi1
private

Definition at line 79 of file Event.h.

double Exhume::Event::Phi2
private

Definition at line 79 of file Event.h.

CrossSection* Exhume::Event::Process
private

Definition at line 81 of file Event.h.

CLHEP::HepRandomEngine* Exhume::Event::randomEngine
private

Definition at line 87 of file Event.h.

double Exhume::Event::Root_s
private

Definition at line 78 of file Event.h.

double Exhume::Event::Sigmai
private

Definition at line 77 of file Event.h.

double Exhume::Event::SqrtsHat
private

Definition at line 79 of file Event.h.

double Exhume::Event::t1
private

Definition at line 79 of file Event.h.

double Exhume::Event::t1Max
private

Definition at line 84 of file Event.h.

Referenced by Sett1Max().

double Exhume::Event::t1Min
private

Definition at line 84 of file Event.h.

Referenced by Sett1Min().

double Exhume::Event::t2
private

Definition at line 79 of file Event.h.

double Exhume::Event::t2Max
private

Definition at line 84 of file Event.h.

Referenced by Sett2Max().

double Exhume::Event::t2Min
private

Definition at line 84 of file Event.h.

Referenced by Sett2Min().

unsigned int Exhume::Event::TotalAttempts
private

Definition at line 82 of file Event.h.

Referenced by GetEfficiency().

double Exhume::Event::tt1max
private

Definition at line 85 of file Event.h.

double Exhume::Event::tt1min
private

Definition at line 85 of file Event.h.

double Exhume::Event::tt2max
private

Definition at line 85 of file Event.h.

double Exhume::Event::tt2min
private

Definition at line 85 of file Event.h.

double Exhume::Event::TwoPI
private

Definition at line 78 of file Event.h.

std::vector<std::pair<double, double> > Exhume::Event::Var
private

Definition at line 75 of file Event.h.

double Exhume::Event::VonNeu
private

Definition at line 79 of file Event.h.

double Exhume::Event::wgt
private

Definition at line 77 of file Event.h.

double Exhume::Event::x1Max
private

Definition at line 84 of file Event.h.

Referenced by Setx1Max().

double Exhume::Event::x2Max
private

Definition at line 84 of file Event.h.

Referenced by Setx2Max().

double Exhume::Event::ymax
private

Definition at line 80 of file Event.h.

Referenced by svgfig.YAxis::__repr__().

double Exhume::Event::ymin
private
double Exhume::Event::yRange
private

Definition at line 77 of file Event.h.