PandaRoot
PndLepLepGenerator Class Reference

#include <PndLepLepGenerator.h>

Inheritance diagram for PndLepLepGenerator:

Public Member Functions

 PndLepLepGenerator ()
 
virtual ~PndLepLepGenerator ()
 
void SetBeamMom (Double_t in_P)
 
void SetSeed (Int_t in_seed)
 
void SetParticleID (Int_t in_particleID)
 
void SetGeGmRatio (Int_t in_gegm)
 
void SetCosThetaMin (Double_t in_cos_theta_min)
 
void SetCosThetaMax (Double_t in_cos_theta_max)
 
virtual Bool_t ReadEvent (FairPrimaryGenerator *primGen)
 
Bool_t Init ()
 
 ClassDef (PndLepLepGenerator, 1)
 

Public Attributes

Double_t P
 
Int_t seed
 
Int_t particleID
 
Int_t PDGParticleID
 
Int_t gegm
 
Double_t cos_theta_min
 
Double_t cos_theta_max
 
Double_t lepplus_p [4]
 
Double_t lepminus_p [4]
 

Detailed Description

Definition at line 46 of file PndLepLepGenerator.h.

Constructor & Destructor Documentation

◆ PndLepLepGenerator()

PndLepLepGenerator::PndLepLepGenerator ( )

Default constructor.

◆ ~PndLepLepGenerator()

virtual PndLepLepGenerator::~PndLepLepGenerator ( )
virtual

Destructor

Member Function Documentation

◆ ClassDef()

PndLepLepGenerator::ClassDef ( PndLepLepGenerator  ,
 
)

◆ Init()

Bool_t PndLepLepGenerator::Init ( )

Initializer

◆ ReadEvent()

virtual Bool_t PndLepLepGenerator::ReadEvent ( FairPrimaryGenerator *  primGen)
virtual

Pass event to the PANDAroot

◆ SetBeamMom()

void PndLepLepGenerator::SetBeamMom ( Double_t  in_P)
inline

Set parameters of event generator

Definition at line 55 of file PndLepLepGenerator.h.

55 { P = in_P; }; // set pbar momentum

◆ SetCosThetaMax()

void PndLepLepGenerator::SetCosThetaMax ( Double_t  in_cos_theta_max)
inline

Definition at line 60 of file PndLepLepGenerator.h.

60 { cos_theta_max = in_cos_theta_max; }; // set cos(theta*) max in the pbarp CM frame

◆ SetCosThetaMin()

void PndLepLepGenerator::SetCosThetaMin ( Double_t  in_cos_theta_min)
inline

Definition at line 59 of file PndLepLepGenerator.h.

59 { cos_theta_min = in_cos_theta_min; }; // set cos(theta*) min in the pbarp CM frame

◆ SetGeGmRatio()

void PndLepLepGenerator::SetGeGmRatio ( Int_t  in_gegm)
inline

Definition at line 58 of file PndLepLepGenerator.h.

58 { gegm = in_gegm; }; // GE/GM ratio (|GE|/|GM| = 0,1,3)

◆ SetParticleID()

void PndLepLepGenerator::SetParticleID ( Int_t  in_particleID)
inline

Definition at line 57 of file PndLepLepGenerator.h.

57 { particleID = in_particleID; }; // particle ID (0 - electron, 1 - muon, 2 - tau)

◆ SetSeed()

void PndLepLepGenerator::SetSeed ( Int_t  in_seed)
inline

Definition at line 56 of file PndLepLepGenerator.h.

56 { seed = in_seed; }; // set seed

Member Data Documentation

◆ cos_theta_max

Double_t PndLepLepGenerator::cos_theta_max

Definition at line 76 of file PndLepLepGenerator.h.

◆ cos_theta_min

Double_t PndLepLepGenerator::cos_theta_min

Definition at line 75 of file PndLepLepGenerator.h.

◆ gegm

Int_t PndLepLepGenerator::gegm

Definition at line 74 of file PndLepLepGenerator.h.

◆ lepminus_p

Double_t PndLepLepGenerator::lepminus_p[4]

Definition at line 78 of file PndLepLepGenerator.h.

◆ lepplus_p

Double_t PndLepLepGenerator::lepplus_p[4]

Definition at line 77 of file PndLepLepGenerator.h.

◆ P

Double_t PndLepLepGenerator::P

Definition at line 70 of file PndLepLepGenerator.h.

◆ particleID

Int_t PndLepLepGenerator::particleID

Definition at line 72 of file PndLepLepGenerator.h.

◆ PDGParticleID

Int_t PndLepLepGenerator::PDGParticleID

Definition at line 73 of file PndLepLepGenerator.h.

◆ seed

Int_t PndLepLepGenerator::seed

Definition at line 71 of file PndLepLepGenerator.h.


The documentation for this class was generated from the following file: