Pluto » PLUTO » PChannel

class PChannel: public TObject

Function Members (Methods)

public:
virtual~PChannel()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddBulk(PBulkInterface* mybulk)
Bool_tAddPrologueBulk(PBulkInterface* mybulk)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidCheckDecayKey() const
ULong_tTObject::CheckedHash()
intCheckSiblings(PParticle* p, PDistribution* dist, int flag)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidClearQuasi()
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
intDecay()
intdecay()
virtual voidTObject::Delete(Option_t* option = "")MENU
voidDisableHelicityAngle()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
Bool_tDo(const char* command)
Bool_tDo(TH1F* f, const char* command, Int_t flag = 1)
Bool_tDo(TH2F* f, const char* command, Int_t flag = 1)
Bool_tDo(TH3F* f, const char* command, Int_t flag = 1)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
doubleGetBT()
PDistribution*GetDistributionNotFinalized(int i)
intGetDMIndex()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static doubleGetGlobalWeight()
virtual const char*TObject::GetIconName() const
voidGetMessage()
virtual const char*GetName() const
intGetNumNotFinalized()
intGetNumPar()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
intGetParentSize()
PParticle**GetParticles()
int*GetPids()
PChannel*GetQuasi()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tTObject::HasInconsistentHash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
Bool_tInit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
PChannel&operator=(const PChannel&)
virtual voidTObject::Paint(Option_t* option = "")
PChannel(const PChannel&)
PChannel(PParticle**, int nt = 2, int mf = 0, int af = 0, int bf = 0)
PChannel(int idx, PParticle** particles = __null, int mf = 0, int af = 0, int bf = 0)
PChannel(int idx, PParticle& parent, int mf = 0, int af = 0, int bf = 0)
virtual voidTObject::Pop()
virtual voidPrint(const Option_t* delme = "") const
voidPrintNew()
voidPrintReaction(Int_t check_key = 1) const
voidPrintReport() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
Bool_tReset()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tSetDaughters()
intSetDistribution(PDistribution* distribution)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidSetGlobalWeight(double w)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPrintTentative(bool t)
voidSetSourceId(Int_t mysourceid)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::(anonymous)TObject::kInconsistent
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EDeprecatedStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
intDMIndex
intbid
PBulkInterface*bulk[5]
intbulkdecay_pos
PProjector*current_projector
intdecay_key! Key to data base entry
TStringdecay_string! For parsing the decay string
TStringdecay_string2
PDistribution*dist[10]
Double_tdist_counter[10]
Double_tdist_weight[10]
Double_tdist_weight_sum[10]
PDistribution*distribution_not_finalized[5]
Int_tdistribution_position
intdlSrc
doublee_cmused to save parameters between calls of ds_dt()
doubleecminvariant mass, weight of decay, energy threshold
doubleemininvariant mass, weight of decay, energy threshold
double*event_impact_paramfrom batch system
double*event_planefrom batch system
double*eventsfrom batch system
Long_tfEnablePattern
static doubleglobalWeight
PParticle*grandgrandparent
PParticle*grandparent
boolinit_done
TArrayIipid
intn
intnum_not_finalized
PParticle*orig_parent
PParticle*parent
PParticle*participant
boolprint_tentative
PBulkInterface*pro_bulk[5]
intpro_bulkdecay_pos
PParticle**ptcls
intptcls_extern
PParticle*quasi_composite
PChannel*quasi_pchannel
intsourceid
PParticle*spectator
intstatus
inttcSrc
intthSrc
boolthermal_disable_didx
inttid
doublewinvariant mass, weight of decay, energy threshold
Double_tweight_sumSum of all weights for debugging
double*weight_versionfrom batch system

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

PChannel(PParticle** , int nt = 2, int mf = 0, int af = 0, int bf = 0)
 Channel constructor by particle array
PChannel(int idx, PParticle** particles = __null, int mf = 0, int af = 0, int bf = 0)
 Channel constructor by decay-mode index
PChannel(int idx, PParticle& parent, int mf = 0, int af = 0, int bf = 0)
 Channel constructor by decay-mode index and parent reference
~PChannel()
 Channel destructor
Bool_t Init()
 sets on the first call all parent, siblings etc IDs. This
 has to be done only once per PReaction
Bool_t Reset()
 cleans the channel, so an init will be done in the next decay()
Bool_t SetDaughters()
void SetSourceId(Int_t mysourceid)
int Decay()
 N-body phase-space decay function based on the CERNLIB routine
 GENBOD. Resonance and dilepton masses (for Dalitz decays)
 are sampled in PData. Scattering angles are sampled here, for
 selected channels (see idChannel).
int decay()
kept for comp.
PParticle ** GetParticles()
 address of array of pointers to the channel particles
int * GetPids()
 address of array of channel-particle ids
int GetNumPar()
 number of decay products
int SetDistribution(PDistribution* distribution)
******for distribution handling:
int CheckSiblings(PParticle* p, PDistribution* dist, int flag)
 return -1 if distribution does not match the channel
double GetBT()
PChannel * GetQuasi(void)
******for quasi-elastic handling:
void ClearQuasi(void)
int GetParentSize()
 1 or 2 for elementary or quasi particles respectively
void SetGlobalWeight(double w)
double GetGlobalWeight()
int GetDMIndex()
returns the decay mode index of this channel
void GetMessage()
 status message
void Print(const Option_t* delme = "") const
void PrintReaction(Int_t check_key = 1) const
void PrintNew()
void PrintReport() const
void CheckDecayKey() const
char const * GetName(void)
void SetPrintTentative(bool t)
  double ds_dt(double);
 ...> moved to PParticle (IF)
 ds/dt(cos_th_cm) in the cm for N+N->N+Delta. With the mass of Delta
 sampled independently in PData, the simulated events are distributed
 as ds/dOmega (normalized). Ref: NPA459 (1986) 503
void DisableHelicityAngle()
int GetNumNotFinalized()
this is for envelope distributions:
PDistribution * GetDistributionNotFinalized(int i)
Bool_t AddBulk(PBulkInterface* mybulk)
Bool_t AddPrologueBulk(PBulkInterface* mybulk)
Bool_t Do(const char* command)
return GetCurrentProjector()
Bool_t Do(TH1F* f, const char* command, Int_t flag = 1)
Bool_t Do(TH2F* f, const char* command, Int_t flag = 1)
Bool_t Do(TH3F* f, const char* command, Int_t flag = 1)
void IsReaction()
 if a reaction channel identify beam, target, and decay mode
void IdChannel()
 identify reaction channel of known angular distribution
 these are: p+p->p+p (elastic), N+N->N+Delta, pi+N->N+w, pi+ + P -> pi+ + P + w
void ThermalSampling()
 parent is midrapidity thermal source
Int_t ReadFileInput()
 parent is file input interface
void MakeDilepton()
 parent is a sampled dilepton
int Genbod(int )
 N-body phase-space decay of a particle in its rest frame.
 This follows the CERNLIB routine GENBOD, in C++