BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
URun Class Reference

#include <URun.h>

Inheritance diagram for URun:
Collaboration diagram for URun:

Public Member Functions

 URun ()
 URun (const char *generator, const char *comment, Int_t aProj, Int_t zProj, Double_t pProj, Int_t aTarg, Int_t zTarg, Double_t pTarg, Double_t bMin, Double_t bMax, Int_t bWeight, Double_t phiMin, Double_t phiMax, Double_t sigma, Int_t nEvents)
virtual ~URun ()
void Print (Option_t *="") const
void GetGenerator (TString &generator)
void GetComment (TString &comment)
void GetDecayer (TString &decayer)
Int_t GetAProj () const
Int_t GetZProj () const
Double_t GetPProj () const
Int_t GetATarg () const
Int_t GetZTarg () const
Double_t GetPTarg () const
Double_t GetBMin () const
Double_t GetBMax () const
Int_t GetBWeight () const
Double_t GetPhiMax () const
Double_t GetPhiMin () const
Double_t GetSigma () const
Int_t GetNEvents () const
Double_t GetSqrtS ()
Double_t GetNNSqrtS ()
Double_t GetProjectileEnergy ()
Double_t GetTargetEnergy ()
Double_t GetBetaCM ()
Double_t GetGammaCM ()
void SetNEvents (Int_t nEvents)
void SetPProj (Double_t pProj)
void SetPTarg (Double_t pTarg)
void SetDecayer (TString decayer)
 URun ()
 URun (const char *generator, const char *comment, Int_t aProj, Int_t zProj, Double_t pProj, Int_t aTarg, Int_t zTarg, Double_t pTarg, Double_t bMin, Double_t bMax, Int_t bWeight, Double_t phiMin, Double_t phiMax, Double_t sigma, Int_t nEvents)
virtual ~URun ()
void Print (Option_t *="") const
void GetGenerator (TString &generator)
void GetComment (TString &comment)
void GetDecayer (TString &decayer)
Int_t GetAProj () const
Int_t GetZProj () const
Double_t GetPProj () const
Int_t GetATarg () const
Int_t GetZTarg () const
Double_t GetPTarg () const
Double_t GetBMin () const
Double_t GetBMax () const
Int_t GetBWeight () const
Double_t GetPhiMax () const
Double_t GetPhiMin () const
Double_t GetSigma () const
Int_t GetNEvents () const
Double_t GetSqrtS ()
Double_t GetNNSqrtS ()
Double_t GetProjectileEnergy ()
Double_t GetTargetEnergy ()
Double_t GetBetaCM ()
Double_t GetGammaCM ()
void SetNEvents (Int_t nEvents)
void SetPProj (Double_t pProj)
void SetPTarg (Double_t pTarg)
void SetDecayer (TString decayer)
Public Member Functions inherited from TNamed
 TNamed ()
 TNamed (const char *name, const char *title)
 TNamed (const TNamed &named)
 TNamed (const TString &name, const TString &title)
virtual ~TNamed ()
void Clear (Option_t *option="") override
TObject * Clone (const char *newname="") const override
Int_t Compare (const TObject *obj) const override
void Copy (TObject &named) const override
virtual void FillBuffer (char *&buffer)
const char * GetName () const override
const char * GetTitle () const override
ULong_t Hash () const override
TClass * IsA () const override
Bool_t IsSortable () const override
void ls (Option_t *option="") const override
TNamed & operator= (const TNamed &rhs)
virtual void SetName (const char *name)
virtual void SetNameTitle (const char *name, const char *title)
virtual void SetTitle (const char *title="")
virtual Int_t Sizeof () const
void Streamer (TBuffer &) override
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
Public Member Functions inherited from TObject
 TObject ()
 TObject (const TObject &object)
virtual ~TObject ()
void AbstractMethod (const char *method) const
virtual void AppendPad (Option_t *option="")
virtual void Browse (TBrowser *b)
ULong_t CheckedHash ()
virtual const char * ClassName () const
virtual void Delete (Option_t *option="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawClass () const
virtual TObject * DrawClone (Option_t *option="") const
virtual void Dump () const
virtual void Error (const char *method, const char *msgfmt,...) const
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual void Fatal (const char *method, const char *msgfmt,...) const
virtual TObject * FindObject (const char *name) const
virtual TObject * FindObject (const TObject *obj) const
virtual Option_t * GetDrawOption () const
virtual const char * GetIconName () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
virtual Option_t * GetOption () const
virtual UInt_t GetUniqueID () const
virtual Bool_t HandleTimer (TTimer *timer)
Bool_t HasInconsistentHash () const
virtual void Info (const char *method, const char *msgfmt,...) const
virtual Bool_t InheritsFrom (const char *classname) const
virtual Bool_t InheritsFrom (const TClass *cl) const
virtual void Inspect () const
void InvertBit (UInt_t f)
Bool_t IsDestructed () const
virtual Bool_t IsEqual (const TObject *obj) const
virtual Bool_t IsFolder () const
R__ALWAYS_INLINE Bool_t IsOnHeap () const
R__ALWAYS_INLINE Bool_t IsZombie () const
void MayNotUse (const char *method) const
virtual Bool_t Notify ()
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
void operator delete (void *ptr)
void operator delete (void *ptr, void *vp)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, void *vp)
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
TObject & operator= (const TObject &rhs)
virtual void Paint (Option_t *option="")
virtual void Pop ()
virtual Int_t Read (const char *name)
virtual void RecursiveRemove (TObject *obj)
void ResetBit (UInt_t f)
virtual void SaveAs (const char *filename="", Option_t *option="") const
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
virtual void SetDrawOption (Option_t *option="")
virtual void SetUniqueID (UInt_t uid)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
virtual void UseCurrentStyle ()
virtual void Warning (const char *method, const char *msgfmt,...) const
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const

Private Attributes

TString fGenerator
TString fComment
TString fDecayer
Int_t fAProj
Int_t fZProj
Double32_t fPProj
Int_t fATarg
Int_t fZTarg
Double32_t fPTarg
Double32_t fBMin
Double32_t fBMax
Int_t fBWeight
Double32_t fPhiMin
Double32_t fPhiMax
Double32_t fSigma
Int_t fNEvents

Additional Inherited Members

Public Types inherited from TObject
enum  EDeprecatedStatusBits
enum  EStatusBits
Static Public Member Functions inherited from TNamed
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
Static Public Member Functions inherited from TObject
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
static Bool_t GetObjectStat ()
static void SetDtorOnly (void *obj)
static void SetObjectStat (Bool_t stat)
Public Attributes inherited from TObject
 kIsOnHeap
 kNotDeleted
 kZombie
 kInconsistent
 kBitMask
 kSingleKey
 kOverwrite
 kWriteDelete
 kObjInCanvas
 kCanDelete
 kMustCleanup
 kIsReferenced
 kHasUUID
 kCannotPick
 kNoContextMenu
 kInvalidObject
Protected Member Functions inherited from TNamed
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
void MakeZombie ()
Static Protected Member Functions inherited from TObject
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)
Protected Attributes inherited from TNamed
TString fName
TString fTitle
Protected Attributes inherited from TObject
 kOnlyPrepStep

Detailed Description

Definition at line 7 of file URun.h.

Constructor & Destructor Documentation

◆ URun() [1/4]

URun::URun ( )

Definition at line 17 of file URun.cxx.

References TNamed::TNamed(), fAProj, fATarg, fBMax, fBMin, fBWeight, fComment, fDecayer, fGenerator, fNEvents, fPhiMax, fPhiMin, fPProj, fPTarg, fSigma, fZProj, and fZTarg.

Here is the call graph for this function:

◆ URun() [2/4]

URun::URun ( const char * generator,
const char * comment,
Int_t aProj,
Int_t zProj,
Double_t pProj,
Int_t aTarg,
Int_t zTarg,
Double_t pTarg,
Double_t bMin,
Double_t bMax,
Int_t bWeight,
Double_t phiMin,
Double_t phiMax,
Double_t sigma,
Int_t nEvents )

Definition at line 39 of file URun.cxx.

References TNamed::TNamed(), fAProj, fATarg, fBMax, fBMin, fBWeight, fComment, fDecayer, fGenerator, fNEvents, fPhiMax, fPhiMin, fPProj, fPTarg, fSigma, fZProj, and fZTarg.

Here is the call graph for this function:

◆ ~URun() [1/2]

URun::~URun ( )
virtual

Definition at line 75 of file URun.cxx.

◆ URun() [3/4]

URun::URun ( )

◆ URun() [4/4]

URun::URun ( const char * generator,
const char * comment,
Int_t aProj,
Int_t zProj,
Double_t pProj,
Int_t aTarg,
Int_t zTarg,
Double_t pTarg,
Double_t bMin,
Double_t bMax,
Int_t bWeight,
Double_t phiMin,
Double_t phiMax,
Double_t sigma,
Int_t nEvents )

◆ ~URun() [2/2]

virtual URun::~URun ( )
virtual

Member Function Documentation

◆ GetAProj() [1/2]

Int_t URun::GetAProj ( ) const
inline

Definition at line 52 of file URun.h.

References fAProj.

◆ GetAProj() [2/2]

Int_t URun::GetAProj ( ) const
inline

Definition at line 52 of file URun.h.

References fAProj.

◆ GetATarg() [1/2]

Int_t URun::GetATarg ( ) const
inline

Definition at line 55 of file URun.h.

References fATarg.

◆ GetATarg() [2/2]

Int_t URun::GetATarg ( ) const
inline

Definition at line 55 of file URun.h.

References fATarg.

◆ GetBetaCM() [1/2]

Double_t URun::GetBetaCM ( )

Definition at line 172 of file URun.cxx.

References fAProj, fATarg, fPProj, fPTarg, GetProjectileEnergy(), and GetTargetEnergy().

Referenced by GetGammaCM().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBetaCM() [2/2]

Double_t URun::GetBetaCM ( )

◆ GetBMax() [1/2]

Double_t URun::GetBMax ( ) const
inline

Definition at line 59 of file URun.h.

References fBMax.

◆ GetBMax() [2/2]

Double_t URun::GetBMax ( ) const
inline

Definition at line 59 of file URun.h.

References fBMax.

◆ GetBMin() [1/2]

Double_t URun::GetBMin ( ) const
inline

Definition at line 58 of file URun.h.

References fBMin.

◆ GetBMin() [2/2]

Double_t URun::GetBMin ( ) const
inline

Definition at line 58 of file URun.h.

References fBMin.

◆ GetBWeight() [1/2]

Int_t URun::GetBWeight ( ) const
inline

Definition at line 60 of file URun.h.

References fBWeight.

◆ GetBWeight() [2/2]

Int_t URun::GetBWeight ( ) const
inline

Definition at line 60 of file URun.h.

References fBWeight.

◆ GetComment() [1/2]

void URun::GetComment ( TString & comment)
inline

Definition at line 50 of file URun.h.

References fComment.

◆ GetComment() [2/2]

void URun::GetComment ( TString & comment)
inline

Definition at line 50 of file URun.h.

References fComment.

◆ GetDecayer() [1/2]

void URun::GetDecayer ( TString & decayer)
inline

Definition at line 51 of file URun.h.

References fDecayer.

◆ GetDecayer() [2/2]

void URun::GetDecayer ( TString & decayer)
inline

Definition at line 51 of file URun.h.

References fDecayer.

◆ GetGammaCM() [1/2]

Double_t URun::GetGammaCM ( )

Definition at line 182 of file URun.cxx.

References GetBetaCM(), and TMath::Sqrt().

Here is the call graph for this function:

◆ GetGammaCM() [2/2]

Double_t URun::GetGammaCM ( )

◆ GetGenerator() [1/2]

void URun::GetGenerator ( TString & generator)
inline

Definition at line 49 of file URun.h.

References fGenerator.

◆ GetGenerator() [2/2]

void URun::GetGenerator ( TString & generator)
inline

Definition at line 49 of file URun.h.

References fGenerator.

◆ GetNEvents() [1/2]

Int_t URun::GetNEvents ( ) const
inline

Definition at line 64 of file URun.h.

References fNEvents.

◆ GetNEvents() [2/2]

Int_t URun::GetNEvents ( ) const
inline

Definition at line 64 of file URun.h.

References fNEvents.

◆ GetNNSqrtS() [1/2]

Double_t URun::GetNNSqrtS ( )

Definition at line 150 of file URun.cxx.

References fPProj, fPTarg, and TMath::Sqrt().

Here is the call graph for this function:

◆ GetNNSqrtS() [2/2]

Double_t URun::GetNNSqrtS ( )

◆ GetPhiMax() [1/2]

Double_t URun::GetPhiMax ( ) const
inline

Definition at line 61 of file URun.h.

References fPhiMax.

◆ GetPhiMax() [2/2]

Double_t URun::GetPhiMax ( ) const
inline

Definition at line 61 of file URun.h.

References fPhiMax.

◆ GetPhiMin() [1/2]

Double_t URun::GetPhiMin ( ) const
inline

Definition at line 62 of file URun.h.

References fPhiMin.

◆ GetPhiMin() [2/2]

Double_t URun::GetPhiMin ( ) const
inline

Definition at line 62 of file URun.h.

References fPhiMin.

◆ GetPProj() [1/2]

Double_t URun::GetPProj ( ) const
inline

Definition at line 54 of file URun.h.

References fPProj.

◆ GetPProj() [2/2]

Double_t URun::GetPProj ( ) const
inline

Definition at line 54 of file URun.h.

References fPProj.

◆ GetProjectileEnergy() [1/2]

Double_t URun::GetProjectileEnergy ( )

Definition at line 108 of file URun.cxx.

References fAProj, fPProj, fZProj, and TMath::Sqrt().

Referenced by GetBetaCM(), and GetSqrtS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetProjectileEnergy() [2/2]

Double_t URun::GetProjectileEnergy ( )

◆ GetPTarg() [1/2]

Double_t URun::GetPTarg ( ) const
inline

Definition at line 57 of file URun.h.

References fPTarg.

◆ GetPTarg() [2/2]

Double_t URun::GetPTarg ( ) const
inline

Definition at line 57 of file URun.h.

References fPTarg.

◆ GetSigma() [1/2]

Double_t URun::GetSigma ( ) const
inline

Definition at line 63 of file URun.h.

References fSigma.

◆ GetSigma() [2/2]

Double_t URun::GetSigma ( ) const
inline

Definition at line 63 of file URun.h.

References fSigma.

◆ GetSqrtS() [1/2]

Double_t URun::GetSqrtS ( )

Definition at line 161 of file URun.cxx.

References fAProj, fATarg, fPProj, fPTarg, GetProjectileEnergy(), GetTargetEnergy(), and TMath::Sqrt().

Here is the call graph for this function:

◆ GetSqrtS() [2/2]

Double_t URun::GetSqrtS ( )

◆ GetTargetEnergy() [1/2]

Double_t URun::GetTargetEnergy ( )

Definition at line 129 of file URun.cxx.

References fAProj, fATarg, fPTarg, fZTarg, and TMath::Sqrt().

Referenced by GetBetaCM(), and GetSqrtS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTargetEnergy() [2/2]

Double_t URun::GetTargetEnergy ( )

◆ GetZProj() [1/2]

Int_t URun::GetZProj ( ) const
inline

Definition at line 53 of file URun.h.

References fZProj.

◆ GetZProj() [2/2]

Int_t URun::GetZProj ( ) const
inline

Definition at line 53 of file URun.h.

References fZProj.

◆ GetZTarg() [1/2]

Int_t URun::GetZTarg ( ) const
inline

Definition at line 56 of file URun.h.

References fZTarg.

◆ GetZTarg() [2/2]

Int_t URun::GetZTarg ( ) const
inline

Definition at line 56 of file URun.h.

References fZTarg.

◆ Print() [1/2]

void URun::Print ( Option_t * = "") const
virtual

Reimplemented from TNamed.

Definition at line 82 of file URun.cxx.

References fAProj, fATarg, fBMax, fBMin, fBWeight, fComment, fDecayer, fGenerator, fNEvents, fPhiMax, fPhiMin, fPProj, fPTarg, fSigma, fZProj, and fZTarg.

◆ Print() [2/2]

void URun::Print ( Option_t * = "") const
virtual

Reimplemented from TNamed.

◆ SetDecayer() [1/2]

void URun::SetDecayer ( TString decayer)
inline

Definition at line 74 of file URun.h.

References fDecayer.

◆ SetDecayer() [2/2]

void URun::SetDecayer ( TString decayer)
inline

Definition at line 74 of file URun.h.

References fDecayer.

◆ SetNEvents() [1/2]

void URun::SetNEvents ( Int_t nEvents)
inline

Definition at line 71 of file URun.h.

References fNEvents.

◆ SetNEvents() [2/2]

void URun::SetNEvents ( Int_t nEvents)
inline

Definition at line 71 of file URun.h.

References fNEvents.

◆ SetPProj() [1/2]

void URun::SetPProj ( Double_t pProj)
inline

Definition at line 72 of file URun.h.

References fPProj.

◆ SetPProj() [2/2]

void URun::SetPProj ( Double_t pProj)
inline

Definition at line 72 of file URun.h.

References fPProj.

◆ SetPTarg() [1/2]

void URun::SetPTarg ( Double_t pTarg)
inline

Definition at line 73 of file URun.h.

References fPTarg.

◆ SetPTarg() [2/2]

void URun::SetPTarg ( Double_t pTarg)
inline

Definition at line 73 of file URun.h.

References fPTarg.

Member Data Documentation

◆ fAProj

Int_t URun::fAProj
private

Definition at line 14 of file URun.h.

Referenced by URun(), URun(), GetAProj(), GetBetaCM(), GetProjectileEnergy(), GetSqrtS(), GetTargetEnergy(), and Print().

◆ fATarg

Int_t URun::fATarg
private

Definition at line 17 of file URun.h.

Referenced by URun(), URun(), GetATarg(), GetBetaCM(), GetSqrtS(), GetTargetEnergy(), and Print().

◆ fBMax

Double32_t URun::fBMax
private

Definition at line 21 of file URun.h.

Referenced by URun(), URun(), GetBMax(), and Print().

◆ fBMin

Double32_t URun::fBMin
private

Definition at line 20 of file URun.h.

Referenced by URun(), URun(), GetBMin(), and Print().

◆ fBWeight

Int_t URun::fBWeight
private

Definition at line 22 of file URun.h.

Referenced by URun(), URun(), GetBWeight(), and Print().

◆ fComment

TString URun::fComment
private

Definition at line 12 of file URun.h.

Referenced by URun(), URun(), GetComment(), and Print().

◆ fDecayer

TString URun::fDecayer
private

Definition at line 13 of file URun.h.

Referenced by URun(), URun(), GetDecayer(), Print(), and SetDecayer().

◆ fGenerator

TString URun::fGenerator
private

Definition at line 11 of file URun.h.

Referenced by URun(), URun(), GetGenerator(), and Print().

◆ fNEvents

Int_t URun::fNEvents
private

Definition at line 28 of file URun.h.

Referenced by URun(), URun(), GetNEvents(), Print(), and SetNEvents().

◆ fPhiMax

Double32_t URun::fPhiMax
private

Definition at line 26 of file URun.h.

Referenced by URun(), URun(), GetPhiMax(), and Print().

◆ fPhiMin

Double32_t URun::fPhiMin
private

Definition at line 25 of file URun.h.

Referenced by URun(), URun(), GetPhiMin(), and Print().

◆ fPProj

Double32_t URun::fPProj
private

◆ fPTarg

Double32_t URun::fPTarg
private

Definition at line 19 of file URun.h.

Referenced by URun(), URun(), GetBetaCM(), GetNNSqrtS(), GetPTarg(), GetSqrtS(), GetTargetEnergy(), Print(), and SetPTarg().

◆ fSigma

Double32_t URun::fSigma
private

Definition at line 27 of file URun.h.

Referenced by URun(), URun(), GetSigma(), and Print().

◆ fZProj

Int_t URun::fZProj
private

Definition at line 15 of file URun.h.

Referenced by URun(), URun(), GetProjectileEnergy(), GetZProj(), and Print().

◆ fZTarg

Int_t URun::fZTarg
private

Definition at line 18 of file URun.h.

Referenced by URun(), URun(), GetTargetEnergy(), GetZTarg(), and Print().


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