test
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 SetRandomEngine (CLHEP::HepRandomEngine *engine)
 
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 72 of file Event.h.

References NumberOfEvents, and TotalAttempts.

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

72  {
73  return(100.0 * NumberOfEvents / TotalAttempts);
74  };
unsigned int TotalAttempts
Definition: Event.h:88
unsigned int NumberOfEvents
Definition: Event.h:88
unsigned int Exhume::Event::GetLastSeed ( )
inline

Definition at line 60 of file Event.h.

References rand().

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

Definition at line 64 of file Event.h.

References Var.

64  {
65  return(Var);
66  };
std::vector< std::pair< double, double > > Var
Definition: Event.h:81
void Exhume::Event::SelectValues ( )
private
void Exhume::Event::SetMassRange ( const double &  Min_,
const double &  Max_ 
)
inline

Definition at line 54 of file Event.h.

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

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

54  {
55  MinMass = Min_;
56  MaxMass = Max_;
57  return;
58  };
double MaxMass
Definition: Event.h:90
double MinMass
Definition: Event.h:90
double Max_
Definition: Weight.h:67
void Exhume::Event::SetParameterSpace ( )
void Exhume::Event::SetRandomEngine ( CLHEP::HepRandomEngine *  engine)
inline

Definition at line 24 of file Event.h.

References Process, randomEngine, and Exhume::CrossSection::SetRandomEngine().

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

24  {
25  randomEngine = engine;
26  Process->SetRandomEngine(engine);
27  }
CLHEP::HepRandomEngine * randomEngine
Definition: Event.h:93
CrossSection * Process
Definition: Event.h:87
void SetRandomEngine(CLHEP::HepRandomEngine *engine)
Definition: CrossSection.h:58
void Exhume::Event::Sett1Max ( const double &  xx_)
inline

Definition at line 38 of file Event.h.

References t1Max.

38  {
39  t1Max = xx_;
40  return;
41  };
double t1Max
Definition: Event.h:90
void Exhume::Event::Sett1Min ( const double &  xx_)
inline

Definition at line 46 of file Event.h.

References t1Min.

46  {
47  t1Min = xx_;
48  return;
49  };
double t1Min
Definition: Event.h:90
void Exhume::Event::Sett2Max ( const double &  xx_)
inline

Definition at line 42 of file Event.h.

References t2Max.

42  {
43  t2Max = xx_;
44  return;
45  };
double t2Max
Definition: Event.h:90
void Exhume::Event::Sett2Min ( const double &  xx_)
inline

Definition at line 50 of file Event.h.

References t2Min.

50  {
51  t2Min = xx_;
52  return;
53  };
double t2Min
Definition: Event.h:90
void Exhume::Event::Setx1Max ( const double &  xx_)
inline

Definition at line 30 of file Event.h.

References x1Max.

30  {
31  x1Max = xx_;
32  return;
33  };
double x1Max
Definition: Event.h:90
void Exhume::Event::Setx2Max ( const double &  xx_)
inline

Definition at line 34 of file Event.h.

References x2Max.

34  {
35  x2Max = xx_;
36  return;
37  };
double x2Max
Definition: Event.h:90
double Exhume::Event::WeightFunc ( const double &  )
privatevirtual

Implements Exhume::Weight.

Member Data Documentation

double Exhume::Event::B
private

Definition at line 84 of file Event.h.

double Exhume::Event::CSi
private

Definition at line 83 of file Event.h.

double Exhume::Event::CSMass
private

Definition at line 83 of file Event.h.

double Exhume::Event::Eta
private

Definition at line 85 of file Event.h.

double Exhume::Event::InvB
private

Definition at line 84 of file Event.h.

double Exhume::Event::InvBlnB
private

Definition at line 84 of file Event.h.

double Exhume::Event::InvRoot_s
private

Definition at line 84 of file Event.h.

double Exhume::Event::MaxMass
private

Definition at line 90 of file Event.h.

Referenced by SetMassRange().

double Exhume::Event::MinMass
private

Definition at line 90 of file Event.h.

Referenced by SetMassRange().

unsigned int Exhume::Event::NumberOfEvents
private

Definition at line 88 of file Event.h.

Referenced by GetEfficiency().

double Exhume::Event::Phi1
private

Definition at line 85 of file Event.h.

double Exhume::Event::Phi2
private

Definition at line 85 of file Event.h.

CrossSection* Exhume::Event::Process
private

Definition at line 87 of file Event.h.

Referenced by SetRandomEngine().

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

Definition at line 93 of file Event.h.

Referenced by SetRandomEngine().

double Exhume::Event::Root_s
private

Definition at line 84 of file Event.h.

double Exhume::Event::Sigmai
private

Definition at line 83 of file Event.h.

double Exhume::Event::SqrtsHat
private

Definition at line 85 of file Event.h.

double Exhume::Event::t1
private

Definition at line 85 of file Event.h.

double Exhume::Event::t1Max
private

Definition at line 90 of file Event.h.

Referenced by Sett1Max().

double Exhume::Event::t1Min
private

Definition at line 90 of file Event.h.

Referenced by Sett1Min().

double Exhume::Event::t2
private

Definition at line 85 of file Event.h.

double Exhume::Event::t2Max
private

Definition at line 90 of file Event.h.

Referenced by Sett2Max().

double Exhume::Event::t2Min
private

Definition at line 90 of file Event.h.

Referenced by Sett2Min().

unsigned int Exhume::Event::TotalAttempts
private

Definition at line 88 of file Event.h.

Referenced by GetEfficiency().

double Exhume::Event::tt1max
private

Definition at line 91 of file Event.h.

double Exhume::Event::tt1min
private

Definition at line 91 of file Event.h.

double Exhume::Event::tt2max
private

Definition at line 91 of file Event.h.

double Exhume::Event::tt2min
private

Definition at line 91 of file Event.h.

double Exhume::Event::TwoPI
private

Definition at line 84 of file Event.h.

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

Definition at line 81 of file Event.h.

Referenced by GetVar().

double Exhume::Event::VonNeu
private

Definition at line 85 of file Event.h.

double Exhume::Event::wgt
private

Definition at line 83 of file Event.h.

double Exhume::Event::x1Max
private

Definition at line 90 of file Event.h.

Referenced by Setx1Max().

double Exhume::Event::x2Max
private

Definition at line 90 of file Event.h.

Referenced by Setx2Max().

double Exhume::Event::ymax
private

Definition at line 86 of file Event.h.

Referenced by svgfig.YAxis::__repr__().

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

Definition at line 83 of file Event.h.