KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVBreakUp Class Reference

Detailed Description

Permet de casser aleatoirement un nombre entier (ztot) en un nombre (mtot) d'entiers plus petits d'une valeur minimale (zmin) donnée. Plusieurs methodes de cassures sont proposees.

Initialisation :

Exemple d'utilisation :

void test{
KVBreakUp* bu = new KVBreakUp();
bu->SetConditions(80,6,5);
bu->StorePartitions(kFALSE);
bu->BreakNtimes(10000);
bu->DrawPanel();
bu->SaveAsTree("essai.root","tree")
bu->SaveHistos("essai.root","","update")
}
Permet de casser aleatoirement un nombre entier (ztot) en un nombre (mtot) d'entiers plus petits d'un...
Definition KVBreakUp.h:66
virtual void SaveHistos(KVString filename="", KVString suff="", Option_t *option="recreate")
virtual void DrawPanel()
void StorePartitions(Bool_t choix=kTRUE)
si choix=kTRUE, on enregistre les partitions
void BreakNtimes(Int_t times=1000)
void SetConditions(Int_t zt, Int_t mt, Int_t zmin=1)
void SaveAsTree(const Char_t *filename, const Char_t *treename, Bool_t Compress=kTRUE, Option_t *option="recreate")

Definition at line 66 of file KVBreakUp.h.

#include <KVBreakUp.h>

Inheritance diagram for KVBreakUp:

Public Member Functions

 KVBreakUp (Int_t taille_max=1000)
 
virtual ~KVBreakUp ()
 Destructeur.
 
void BreakFromHisto (TH2F *hh_zt_VS_mt, Int_t zmin=1)
 
void BreakNtimes (Int_t times=1000)
 
void BreakNtimesOnGaussian (Int_t times, Double_t Ztot_moy, Double_t Ztot_rms, Double_t Mtot_moy, Double_t Mtot_rms, Int_t zmin=1)
 
KVEventBreakOnGaussian (Double_t Ztot_moy, Double_t Ztot_rms, Double_t Mtot_moy, Double_t Mtot_rms, Int_t zmin)
 
Int_t BreakUsingChain ()
 
Int_t BreakUsingIndividual ()
 
Int_t BreakUsingLine ()
 
Int_t BreakUsingPile ()
 Methode de cassure.
 
void Clear (Option_t *="")
 
void DefineBreakUpMethod (KVString bup_method="")
 
virtual void DefineHistos ()
 
virtual void DrawPanel ()
 
KVString GetBreakUpMethod (void) const
 Retourne methode de cassure.
 
KVEventGetCurrentEvent ()
 
Int_t GetDeltaTime ()
 
KVHashListGetHistos ()
 
Int_t GetMtot (void) const
 Retourne le nombre d'entiers apres cassure (la multiplicite)
 
KVHashListGetObjects ()
 Retourne la liste d'objects autres ...
 
Int_t GetTotalIterations (void)
 
Int_t GetZmin (void) const
 Retourne la taille minimale des entiers apres cassure.
 
Int_t GetZtot (void) const
 Retourne le nombre entier a casser.
 
void LinkEvent (KVEvent *)
 
void PrintConfig () const
 
void RedefineTRandom (KVString TRandom_Method)
 
virtual void ResetHistos ()
 Met a zero le contenu des histogrammes.
 
virtual void ResetTotalIterations ()
 Comme c'est ىcrit.
 
virtual void SaveHistos (KVString filename="", KVString suff="", Option_t *option="recreate")
 
void SetConditions (Int_t zt, Int_t mt, Int_t zmin=1)
 
void StorePartitions (Bool_t choix=kTRUE)
 si choix=kTRUE, on enregistre les partitions
 
virtual void TreatePartition ()
 
- Public Member Functions inherited from KVPartitionList
 KVPartitionList ()
 Default constructor.
 
 KVPartitionList (const Char_t *name)
 constructor with name
 
virtual ~KVPartitionList ()
 Destructor.
 
virtual void Add (TObject *obj)
 
virtual void AddAfter (const TObject *after, TObject *obj)
 
virtual void AddAt (TObject *obj, Int_t idx)
 
virtual void AddBefore (const TObject *before, TObject *obj)
 
virtual void AddFirst (TObject *obj)
 
virtual void AddLast (TObject *obj)
 
void Clear (Option_t *option="")
 Mise a zero de la liste.
 
virtual Bool_t Fill (KVIntegerList *par)
 
Double_t GetNbreDiff ()
 
Double_t GetNbreTot ()
 
Bool_t IsInTheList ()
 
void SaveAsTree (const Char_t *filename, const Char_t *treename, Bool_t Compress=kTRUE, Option_t *option="recreate")
 
void Update ()
 Met a jour l'intervalle de multiplicité associées aux partitions dans la liste.
 
- Public Member Functions inherited from KVUniqueNameList
 KVUniqueNameList (Bool_t R=kFALSE)
 Default constructor.
 
virtual ~KVUniqueNameList ()
 Destructor.
 
Bool_t ObjectAdded () const
 
void ReplaceObjects (Bool_t yes=kTRUE)
 
- Public Member Functions inherited from KVHashList
 KVHashList (Int_t capacity=TCollection::kInitHashTableCapacity, Int_t rehash=2)
 
virtual ~KVHashList ()
 Destructor.
 
Float_t AverageCollisions () const
 
template<typename T >
Bool_t ContainsObjectWithName (const T &o)
 
const TListGetListForObject (const char *name) const
 
const TListGetListForObject (const TObject *obj) const
 
void Rehash (Int_t newCapacity=0)
 
void Sort (Bool_t order=kSortAscending)
 
- Public Member Functions inherited from KVSeqCollection
 KVSeqCollection ()
 Default constructor.
 
 KVSeqCollection (const Char_t *collection_classname)
 
 KVSeqCollection (const KVSeqCollection &)
 
virtual ~KVSeqCollection ()
 
virtual TObjectAfter (const TObject *obj) const
 
virtual TObjectAt (Int_t idx) const
 
virtual TObjectBefore (const TObject *obj) const
 
const Char_tCollectionClassName () const
 
virtual void Copy (TObject &obj) const
 
virtual void Delete (Option_t *option="")
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual TObjectFindObjectAny (const Char_t *att, const Char_t *keys, Bool_t contains_all=kFALSE, Bool_t case_sensitive=kTRUE) const
 
TObjectFindObjectByClass (const Char_t *) const
 Return (first) object in embedded list with given class.
 
TObjectFindObjectByClass (const TClass *) const
 Return (first) object in embedded list with given class.
 
virtual TObjectFindObjectByLabel (const Char_t *) const
 
virtual TObjectFindObjectByName (const Char_t *name) const
 
virtual TObjectFindObjectByNumber (UInt_t num) const
 
virtual TObjectFindObjectByTitle (const Char_t *) const
 Will return object with given title (value of TObject::GetTitle() method).
 
virtual TObjectFindObjectByType (const Char_t *) const
 
virtual TObjectFindObjectWithMethod (const Char_t *retvalue, const Char_t *method) const
 
virtual TObjectFindObjectWithNameAndType (const Char_t *name, const Char_t *type) const
 
virtual TObjectFirst () const
 
template<typename T >
Tget_object (const TString &name) const
 
TSeqCollectionGetCollection () const
 
virtual TObject ** GetObjectRef (const TObject *obj) const
 Return reference to object.
 
virtual Int_t GetSize () const
 
KVSeqCollectionGetSubListWithClass (const Char_t *class_name) const
 
KVSeqCollectionGetSubListWithClass (const TClass *_class) const
 
KVSeqCollectionGetSubListWithLabel (const Char_t *retvalue) const
 
KVSeqCollectionGetSubListWithMethod (const Char_t *retvalue, const Char_t *method) const
 
KVSeqCollectionGetSubListWithName (const Char_t *retvalue) const
 
KVSeqCollectionGetSubListWithType (const Char_t *retvalue) const
 
virtual Bool_t IsCleanup () const
 
virtual Bool_t IsSendingModifiedSignals () const
 
virtual Bool_t IsSortable () const
 
virtual Bool_t IsSorted () const
 
virtual TObjectLast () const
 
virtual TIteratorMakeIterator (Bool_t dir=kIterForward) const
 Make and return iterator for the list.
 
virtual void Modified ()
 
KVSeqCollectionoperator= (const KVSeqCollection &)
 
virtual void RecursiveRemove (TObject *obj)
 
virtual TObjectRemove (TObject *obj)
 Remove object from list.
 
virtual void SendModifiedSignals (Bool_t yes=kTRUE)
 
virtual void SetCleanup (Bool_t enable=kTRUE)
 
virtual void SetOwner (Bool_t enable=kTRUE)
 
- Public Member Functions inherited from TSeqCollection
virtual ~TSeqCollection ()
 
void Add (TObject *obj) override
 
virtual Int_t GetLast () const
 
virtual Int_t IndexOf (const TObject *obj) const
 
TClassIsA () const override
 
Int_t LastIndex () const
 
Long64_t Merge (TCollection *list)
 
virtual void RemoveAfter (TObject *after)
 
virtual TObjectRemoveAt (Int_t idx)
 
virtual void RemoveBefore (TObject *before)
 
virtual void RemoveFirst ()
 
virtual void RemoveLast ()
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
void UnSort ()
 
- Public Member Functions inherited from TCollection
virtual ~TCollection ()
 
virtual void AddAll (const TCollection *col)
 
void AddVector (TObject *obj1,...)
 
Bool_t AssertClass (TClass *cl) const
 
TIter begin () const
 
void Browse (TBrowser *b) override
 
Int_t Capacity () const
 
TObjectClone (const char *newname="") const override
 
Int_t Compare (const TObject *obj) const override
 
Bool_t Contains (const char *name) const
 
Bool_t Contains (const TObject *obj) const
 
void Draw (Option_t *option="") override
 
void Dump () const override
 
TIter end () const
 
TObjectFindObject (const char *name) const override
 
TObjectFindObject (const TObject *obj) const override
 
virtual Int_t GetEntries () const
 
const char * GetName () const override
 
virtual Int_t GrowBy (Int_t delta) const
 
ULong_t Hash () const override
 
Bool_t IsArgNull (const char *where, const TObject *obj) const
 
virtual Bool_t IsEmpty () const
 
Bool_t IsFolder () const override
 
Bool_t IsOwner () const
 
Bool_t IsSortable () const override
 
R__ALWAYS_INLINE Bool_t IsUsingRWLock () const
 
void ls (Option_t *option="") const override
 
virtual TIteratorMakeReverseIterator () const
 
Bool_t Notify () override
 
TObjectoperator() (const char *name) const
 
void Paint (Option_t *option="") override
 
virtual void Print (Option_t *option, const char *wildcard, Int_t recurse=1) const
 
virtual void Print (Option_t *option, Int_t recurse) const
 
virtual void Print (Option_t *option, TPRegexp &regexp, Int_t recurse=1) const
 
void Print (Option_t *option="") const override
 
void RecursiveRemove (TObject *obj) override
 
void RemoveAll ()
 
virtual void RemoveAll (TCollection *col)
 
void SetCurrentCollection ()
 
void SetName (const char *name)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual bool UseRWLock (Bool_t enable=true)
 
Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const override
 
Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) override
 
- 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="")
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () 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
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
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)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
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
 

Public Attributes

Int_t nraffine
 
- Public Attributes inherited from TCollection
 kInitCapacity
 
 kInitHashTableCapacity
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 

Private Types

enum  { kStorePartitions = BIT(14) }
 

Private Member Functions

void init ()
 
void SetBreakUpMethod (KVString bup_method)
 Protected method.
 
void SetMtot (Int_t mt)
 Protected method.
 
void SetZmin (Int_t zlim)
 Protected method.
 
void SetZtot (Int_t zt)
 Protected method.
 
void Start ()
 
void Stop ()
 

Private Attributes

TRandomalea
 
Int_tbound
 [Ztotal] tableau permettant de gérer les cassures de liens
 
KVString BreakUpMethod
 
KVEventcurrent_event
 
TH1Fhmt
 
TH1Fhzt
 
TH1Fhzz
 
KVHashListlhisto
 
KVHashListlobjects
 
Int_t Mtotal
 
Int_t nbre_nuc
 
Int_t niter_tot
 
KVNumberList nl
 
KVIntegerListpartition
 
Int_tsize
 [size_max]->
 
Int_t size_max
 
Int_t tellapsed
 
KVString TRandom_Method
 
Int_t tstart
 
Int_t tstop
 
Int_t Zmin
 
Int_t Ztotal
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from KVSeqCollection
static KVSeqCollectionMakeListFromFile (TFile *file)
 
static KVSeqCollectionMakeListFromFileWithClass (TFile *file, const Char_t *class_name)
 
static KVSeqCollectionMakeListFromFileWithClass (TFile *file, const TClass *_class)
 
static KVSeqCollectionMakeListFromFileWithMethod (TFile *file, const Char_t *retvalue, const Char_t *method)
 
static void RehashCleanupList ()
 
- Static Public Member Functions inherited from TSeqCollection
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Int_t ObjCompare (TObject *a, TObject *b)
 
static void QSort (TObject **a, Int_t first, Int_t last)
 
static void QSort (TObject **a, Int_t nBs, TObject ***b, Int_t first, Int_t last)
 
static void QSort (TObject **a, TObject **b, Int_t first, Int_t last)
 
- Static Public Member Functions inherited from TCollection
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static void EmptyGarbageCollection ()
 
static void GarbageCollect (TObject *obj)
 
static TCollectionGetCurrentCollection ()
 
static void StartGarbageCollection ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
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)
 
- Protected Types inherited from TCollection
enum  EStatusBits
 
- Protected Member Functions inherited from TSeqCollection
 TSeqCollection ()
 
- Protected Member Functions inherited from TCollection
 TCollection ()
 
virtual const char * GetCollectionEntryName (TObject *entry) const
 
virtual void PrintCollectionEntry (TObject *entry, Option_t *option, Int_t recurse) const
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TSeqCollection
Bool_t fSorted
 
- Protected Attributes inherited from TCollection
TString fName
 
Int_t fSize
 
 kIsOwner
 
 kUseRWLock
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kStorePartitions 

Definition at line 94 of file KVBreakUp.h.

Constructor & Destructor Documentation

◆ KVBreakUp()

KVBreakUp::KVBreakUp ( Int_t  taille_max = 1000)

Constructeur, l'argument taille_max correspond a la taille maximale du tableau ou sont enregistrees les produits de la cassure (par defaut 5000) Ce qui correspond a la cassure en 5000 morceaux max

Definition at line 63 of file KVBreakUp.cpp.

◆ ~KVBreakUp()

KVBreakUp::~KVBreakUp ( )
virtual

Destructeur.

Definition at line 79 of file KVBreakUp.cpp.

Member Function Documentation

◆ BreakFromHisto()

void KVBreakUp::BreakFromHisto ( TH2F hh_zt_VS_mt,
Int_t  zmin = 1 
)

On realise times fois la cassure suivant un histogramme a deux dimensions avec en definition : mtot -> axe X ztot -> axe Y la methode SetCondition n'a ici aucune influence les valeurs ztot et mtot sont tirees aleatoirement sur cette histogramme a chaque iteration

Plusieurs series de cassures peuvent etre ainsi realise

Si l utilisateur veut changer de conditions et ne pas melanger les partitions il faut appeler la methode Clear()

Definition at line 763 of file KVBreakUp.cpp.

◆ BreakNtimes()

void KVBreakUp::BreakNtimes ( Int_t  times = 1000)

On realise times fois la cassure suivant les conditions definis vis la methode SetConditions et DefineBreakUpMethod Plusieurs series de cassures peuvent etre ainsi realise

Si l utilisateur veut changer de conditions et ne pas melanger les partitions il faut appeler la methode Clear()

Definition at line 611 of file KVBreakUp.cpp.

◆ BreakNtimesOnGaussian()

void KVBreakUp::BreakNtimesOnGaussian ( Int_t  times,
Double_t  Ztot_moy,
Double_t  Ztot_rms,
Double_t  Mtot_moy,
Double_t  Mtot_rms,
Int_t  zmin = 1 
)

On realise times fois la cassure sur une double gaussienne la methode SetCondition n'a ici aucune influence les valeurs ztot et mtot sont tirees aleatoirement sur une gaussienne a chaque iteration

Plusieurs series de cassures peuvent etre ainsi realise

Si l utilisateur veut changer de conditions et ne pas melanger les partitions il faut appeler la methode Clear()

Definition at line 658 of file KVBreakUp.cpp.

◆ BreakOnGaussian()

KVEvent * KVBreakUp::BreakOnGaussian ( Double_t  Ztot_moy,
Double_t  Ztot_rms,
Double_t  Mtot_moy,
Double_t  Mtot_rms,
Int_t  zmin 
)

On realise la cassure sur une double gaussienne

les valeurs ztot et mtot sont tirees aleatoirement sur une gaussienne

Plusieurs series de cassures peuvent etre ainsi realise

Definition at line 714 of file KVBreakUp.cpp.

◆ BreakUsingChain()

Int_t KVBreakUp::BreakUsingChain ( void  )

Methodes qui devraient etre declaree en privee mais celà rend impossible leur utilisation via TMethodCall

Methode de cassure Conditions de depart Mtotal clusters de taille minimale Zmin

Definition at line 329 of file KVBreakUp.cpp.

◆ BreakUsingIndividual()

Int_t KVBreakUp::BreakUsingIndividual ( void  )

Methode de cassure Conditions de depart Mtotal clusters de taille minimale Zmin

Definition at line 456 of file KVBreakUp.cpp.

◆ BreakUsingLine()

Int_t KVBreakUp::BreakUsingLine ( void  )

Methode de cassure Conditions de depart Mtotal clusters de taille minimale Zmin

Definition at line 392 of file KVBreakUp.cpp.

◆ BreakUsingPile()

Int_t KVBreakUp::BreakUsingPile ( void  )

Methode de cassure.

Definition at line 521 of file KVBreakUp.cpp.

◆ Clear()

void KVBreakUp::Clear ( Option_t opt = "")
virtual

Remet a zero les compteurs Efface les partitions enregistrees Le contenu des histos

Reimplemented from KVSeqCollection.

Definition at line 102 of file KVBreakUp.cpp.

◆ DefineBreakUpMethod()

void KVBreakUp::DefineBreakUpMethod ( KVString  bup_method = "")

Permet de definir une methode de cassure

Definition at line 244 of file KVBreakUp.cpp.

◆ DefineHistos()

void KVBreakUp::DefineHistos ( )
virtual

Definition des histogrammes A redefinir si besoin dans les classes filles A Remplir dans la methode TreatePartition()

Definition at line 120 of file KVBreakUp.cpp.

◆ DrawPanel()

void KVBreakUp::DrawPanel ( )
virtual

Trace les histos definis A redefinir si besoin dans les classes filles

Definition at line 891 of file KVBreakUp.cpp.

◆ GetBreakUpMethod()

KVString KVBreakUp::GetBreakUpMethod ( void  ) const

Retourne methode de cassure.

Definition at line 303 of file KVBreakUp.cpp.

◆ GetCurrentEvent()

KVEvent * KVBreakUp::GetCurrentEvent ( )

Definition at line 594 of file KVBreakUp.cpp.

◆ GetDeltaTime()

Int_t KVBreakUp::GetDeltaTime ( )

Retoune le temps ecoules (en seconde) entre un appel Start() et un appel Stop()

Definition at line 1014 of file KVBreakUp.cpp.

◆ GetHistos()

KVHashList * KVBreakUp::GetHistos ( )

Retourne la liste des histogrammes definis dans DefineHistos() si l utilisateur a utilise lhisto->Add(TObject * )

Definition at line 840 of file KVBreakUp.cpp.

◆ GetMtot()

Int_t KVBreakUp::GetMtot ( void  ) const

Retourne le nombre d'entiers apres cassure (la multiplicite)

Definition at line 279 of file KVBreakUp.cpp.

◆ GetObjects()

KVHashList * KVBreakUp::GetObjects ( )

Retourne la liste d'objects autres ...

Definition at line 854 of file KVBreakUp.cpp.

◆ GetTotalIterations()

Int_t KVBreakUp::GetTotalIterations ( void  )

Retourne le nombre total d iterations depuis le dernier clear

Definition at line 825 of file KVBreakUp.cpp.

◆ GetZmin()

Int_t KVBreakUp::GetZmin ( void  ) const

Retourne la taille minimale des entiers apres cassure.

Definition at line 291 of file KVBreakUp.cpp.

◆ GetZtot()

Int_t KVBreakUp::GetZtot ( void  ) const

Retourne le nombre entier a casser.

Definition at line 267 of file KVBreakUp.cpp.

◆ init()

void KVBreakUp::init ( void  )
private

Initialisation des variables appele par le constructeur

Definition at line 20 of file KVBreakUp.cpp.

◆ LinkEvent()

void KVBreakUp::LinkEvent ( KVEvent evt)

Definition at line 196 of file KVBreakUp.cpp.

◆ PrintConfig()

void KVBreakUp::PrintConfig ( ) const

Comme c'est ىcrit Why not "Print(Option_t*)" ?

  • because TCollection has several 'virtual' Print methods which are overloaded (i.e. have different arguments): BAD!

Definition at line 961 of file KVBreakUp.cpp.

◆ RedefineTRandom()

void KVBreakUp::RedefineTRandom ( KVString  TRandom_Method)

Permet de definir une classe pour le tirage aleatoire pour la cassure en entiers La class doit derivee de TRandom

Definition at line 211 of file KVBreakUp.cpp.

◆ ResetHistos()

void KVBreakUp::ResetHistos ( )
virtual

Met a zero le contenu des histogrammes.

Definition at line 878 of file KVBreakUp.cpp.

◆ ResetTotalIterations()

void KVBreakUp::ResetTotalIterations ( )
virtual

Comme c'est ىcrit.

Definition at line 866 of file KVBreakUp.cpp.

◆ SaveHistos()

void KVBreakUp::SaveHistos ( KVString  filename = "",
KVString  suff = "",
Option_t option = "recreate" 
)
virtual

Permet la sauvegarde des histogrammes dans un fichier (option est l'option classique de TFile::TFile())

Si filename=="" (defaut) -> nom du fichier = "KVBreakUp_Ouput.root"; Si suff=="" (defaut) -> definition d'un suffixe en utisant les arguments de SetConditions() Ce suffixe est ensuite utilise dans la redefinition des noms des histogrammes Exemple: nom de l'histogramme : histo -> histo_suff

Definition at line 927 of file KVBreakUp.cpp.

◆ SetBreakUpMethod()

void KVBreakUp::SetBreakUpMethod ( KVString  bup_method)
private

Protected method.

Definition at line 185 of file KVBreakUp.cpp.

◆ SetConditions()

void KVBreakUp::SetConditions ( Int_t  zt,
Int_t  mt,
Int_t  zmin = 1 
)

Definition du nombre a casser (zt), en plusieurs nombres entiers (mt) avec une valeur minimale (zmin)

Definition at line 229 of file KVBreakUp.cpp.

◆ SetMtot()

void KVBreakUp::SetMtot ( Int_t  mt)
private

Protected method.

Definition at line 155 of file KVBreakUp.cpp.

◆ SetZmin()

void KVBreakUp::SetZmin ( Int_t  zlim)
private

Protected method.

Definition at line 171 of file KVBreakUp.cpp.

◆ SetZtot()

void KVBreakUp::SetZtot ( Int_t  zt)
private

Protected method.

Definition at line 137 of file KVBreakUp.cpp.

◆ Start()

void KVBreakUp::Start ( )
private

protected method Signal start

Definition at line 983 of file KVBreakUp.cpp.

◆ Stop()

void KVBreakUp::Stop ( )
private

protected method Signal stop

Definition at line 998 of file KVBreakUp.cpp.

◆ StorePartitions()

void KVBreakUp::StorePartitions ( Bool_t  choix = kTRUE)

si choix=kTRUE, on enregistre les partitions

Definition at line 315 of file KVBreakUp.cpp.

◆ TreatePartition()

void KVBreakUp::TreatePartition ( )
virtual

Remplissage des histogrammes predefinis A redefinir si besoin dans les classes filles

Enregistrement de la partition (si demande, via StorePartitions(kTRUE) par defaut) Si une partition identique est deja presente, on incremente sa population sinon on enregistre celle-ci, voir KVPartitionList

Definition at line 559 of file KVBreakUp.cpp.

Member Data Documentation

◆ alea

TRandom* KVBreakUp::alea
private

Definition at line 76 of file KVBreakUp.h.

◆ bound

Int_t* KVBreakUp::bound
private

[Ztotal] tableau permettant de gérer les cassures de liens

Definition at line 73 of file KVBreakUp.h.

◆ BreakUpMethod

KVString KVBreakUp::BreakUpMethod
private

Definition at line 74 of file KVBreakUp.h.

◆ current_event

KVEvent* KVBreakUp::current_event
private

Definition at line 92 of file KVBreakUp.h.

◆ hmt

TH1F* KVBreakUp::hmt
private

Definition at line 87 of file KVBreakUp.h.

◆ hzt

TH1F* KVBreakUp::hzt
private

Definition at line 86 of file KVBreakUp.h.

◆ hzz

TH1F* KVBreakUp::hzz
private

Definition at line 85 of file KVBreakUp.h.

◆ lhisto

KVHashList* KVBreakUp::lhisto
private

Definition at line 90 of file KVBreakUp.h.

◆ lobjects

KVHashList* KVBreakUp::lobjects
private

Definition at line 89 of file KVBreakUp.h.

◆ Mtotal

Int_t KVBreakUp::Mtotal
private

Definition at line 71 of file KVBreakUp.h.

◆ nbre_nuc

Int_t KVBreakUp::nbre_nuc
private

Definition at line 79 of file KVBreakUp.h.

◆ niter_tot

Int_t KVBreakUp::niter_tot
private

Definition at line 82 of file KVBreakUp.h.

◆ nl

KVNumberList KVBreakUp::nl
private

Definition at line 78 of file KVBreakUp.h.

◆ nraffine

Int_t KVBreakUp::nraffine

Definition at line 109 of file KVBreakUp.h.

◆ partition

KVIntegerList* KVBreakUp::partition
private

Definition at line 91 of file KVBreakUp.h.

◆ size

Int_t* KVBreakUp::size
private

[size_max]->

Definition at line 81 of file KVBreakUp.h.

◆ size_max

Int_t KVBreakUp::size_max
private

Definition at line 80 of file KVBreakUp.h.

◆ tellapsed

Int_t KVBreakUp::tellapsed
private

Definition at line 83 of file KVBreakUp.h.

◆ TRandom_Method

KVString KVBreakUp::TRandom_Method
private

Definition at line 74 of file KVBreakUp.h.

◆ tstart

Int_t KVBreakUp::tstart
private

Definition at line 83 of file KVBreakUp.h.

◆ tstop

Int_t KVBreakUp::tstop
private

Definition at line 83 of file KVBreakUp.h.

◆ Zmin

Int_t KVBreakUp::Zmin
private

Definition at line 72 of file KVBreakUp.h.

◆ Ztotal

Int_t KVBreakUp::Ztotal
private

Definition at line 70 of file KVBreakUp.h.