CMS 3D CMS Logo

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 () override
 
- 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 &) override
 

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 ( )
override

Member Function Documentation

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

Definition at line 72 of file Event.h.

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 common_cff::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.

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 randomEngine.

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:57
void Exhume::Event::Sett1Max ( const double &  xx_)
inline

Definition at line 38 of file Event.h.

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.

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.

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.

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.

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.

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

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.

double Exhume::Event::MinMass
private

Definition at line 90 of file Event.h.

unsigned int Exhume::Event::NumberOfEvents
private

Definition at line 88 of file Event.h.

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.

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

Definition at line 93 of file Event.h.

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.

double Exhume::Event::t1Min
private

Definition at line 90 of file Event.h.

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.

double Exhume::Event::t2Min
private

Definition at line 90 of file Event.h.

unsigned int Exhume::Event::TotalAttempts
private

Definition at line 88 of file Event.h.

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.

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.

double Exhume::Event::x2Max
private

Definition at line 90 of file Event.h.

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.