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 66 of file Event.h.

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

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

Definition at line 58 of file Event.h.

References rand().

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

Definition at line 60 of file Event.h.

References common_cff::Var().

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

Definition at line 52 of file Event.h.

References HLT_2018_cff::MaxMass, and HLT_2018_cff::MinMass.

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

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

Definition at line 22 of file Event.h.

References randomEngine.

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

22  {
23  randomEngine = engine;
24  Process->SetRandomEngine(engine);
25  }
CLHEP::HepRandomEngine * randomEngine
Definition: Event.h:84
CrossSection * Process
Definition: Event.h:78
void SetRandomEngine(CLHEP::HepRandomEngine *engine)
Definition: CrossSection.h:55
void Exhume::Event::Sett1Max ( const double &  xx_)
inline

Definition at line 36 of file Event.h.

36  {
37  t1Max = xx_;
38  return;
39  };
double t1Max
Definition: Event.h:81
void Exhume::Event::Sett1Min ( const double &  xx_)
inline

Definition at line 44 of file Event.h.

44  {
45  t1Min = xx_;
46  return;
47  };
double t1Min
Definition: Event.h:81
void Exhume::Event::Sett2Max ( const double &  xx_)
inline

Definition at line 40 of file Event.h.

40  {
41  t2Max = xx_;
42  return;
43  };
double t2Max
Definition: Event.h:81
void Exhume::Event::Sett2Min ( const double &  xx_)
inline

Definition at line 48 of file Event.h.

48  {
49  t2Min = xx_;
50  return;
51  };
double t2Min
Definition: Event.h:81
void Exhume::Event::Setx1Max ( const double &  xx_)
inline

Definition at line 28 of file Event.h.

28  {
29  x1Max = xx_;
30  return;
31  };
double x1Max
Definition: Event.h:81
void Exhume::Event::Setx2Max ( const double &  xx_)
inline

Definition at line 32 of file Event.h.

32  {
33  x2Max = xx_;
34  return;
35  };
double x2Max
Definition: Event.h:81
double Exhume::Event::WeightFunc ( const double &  )
overrideprivatevirtual

Implements Exhume::Weight.

Member Data Documentation

double Exhume::Event::B
private

Definition at line 75 of file Event.h.

double Exhume::Event::CSi
private

Definition at line 74 of file Event.h.

double Exhume::Event::CSMass
private

Definition at line 74 of file Event.h.

double Exhume::Event::Eta
private

Definition at line 76 of file Event.h.

double Exhume::Event::InvB
private

Definition at line 75 of file Event.h.

double Exhume::Event::InvBlnB
private

Definition at line 75 of file Event.h.

double Exhume::Event::InvRoot_s
private

Definition at line 75 of file Event.h.

double Exhume::Event::MaxMass
private

Definition at line 81 of file Event.h.

double Exhume::Event::MinMass
private

Definition at line 81 of file Event.h.

unsigned int Exhume::Event::NumberOfEvents
private

Definition at line 79 of file Event.h.

double Exhume::Event::Phi1
private

Definition at line 76 of file Event.h.

double Exhume::Event::Phi2
private

Definition at line 76 of file Event.h.

CrossSection* Exhume::Event::Process
private

Definition at line 78 of file Event.h.

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

Definition at line 84 of file Event.h.

double Exhume::Event::Root_s
private

Definition at line 75 of file Event.h.

double Exhume::Event::Sigmai
private

Definition at line 74 of file Event.h.

double Exhume::Event::SqrtsHat
private

Definition at line 76 of file Event.h.

double Exhume::Event::t1
private

Definition at line 76 of file Event.h.

double Exhume::Event::t1Max
private

Definition at line 81 of file Event.h.

double Exhume::Event::t1Min
private

Definition at line 81 of file Event.h.

double Exhume::Event::t2
private

Definition at line 76 of file Event.h.

double Exhume::Event::t2Max
private

Definition at line 81 of file Event.h.

double Exhume::Event::t2Min
private

Definition at line 81 of file Event.h.

unsigned int Exhume::Event::TotalAttempts
private

Definition at line 79 of file Event.h.

double Exhume::Event::tt1max
private

Definition at line 82 of file Event.h.

double Exhume::Event::tt1min
private

Definition at line 82 of file Event.h.

double Exhume::Event::tt2max
private

Definition at line 82 of file Event.h.

double Exhume::Event::tt2min
private

Definition at line 82 of file Event.h.

double Exhume::Event::TwoPI
private

Definition at line 75 of file Event.h.

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

Definition at line 72 of file Event.h.

double Exhume::Event::VonNeu
private

Definition at line 76 of file Event.h.

double Exhume::Event::wgt
private

Definition at line 74 of file Event.h.

double Exhume::Event::x1Max
private

Definition at line 81 of file Event.h.

double Exhume::Event::x2Max
private

Definition at line 81 of file Event.h.

double Exhume::Event::ymax
private

Definition at line 77 of file Event.h.

Referenced by svgfig.YAxis::__repr__().

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

Definition at line 74 of file Event.h.