KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
KVBreakUp Class Reference

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.

Created by KVClassFactory on Thu Mar 25 11:25:27 2010 Author: bonnet

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:64
virtual void SaveHistos(KVString filename="", KVString suff="", Option_t *option="recreate")
Definition: KVBreakUp.cpp:932
virtual void DrawPanel()
Definition: KVBreakUp.cpp:896
void StorePartitions(Bool_t choix=kTRUE)
si choix=kTRUE, on enregistre les partitions
Definition: KVBreakUp.cpp:315
void BreakNtimes(Int_t times=1000)
Definition: KVBreakUp.cpp:613
KVBreakUp(Int_t taille_max=1000)
Definition: KVBreakUp.cpp:62
void SetConditions(Int_t zt, Int_t mt, Int_t zmin=1)
Definition: KVBreakUp.cpp:228
void SaveAsTree(const Char_t *filename, const Char_t *treename, Bool_t Compress=kTRUE, Option_t *option="recreate")

Definition at line 64 of file KVBreakUp.h.

Public Member Functions

 KVBreakUp (Int_t taille_max=1000)
 
virtual ~KVBreakUp ()
 Destructeur. More...
 
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. More...
 
void Clear (Option_t *="")
 
void DefineBreakUpMethod (KVString bup_method="")
 
virtual void DefineHistos ()
 
virtual void DrawPanel ()
 
KVString GetBreakUpMethod (void) const
 Retourne methode de cassure. More...
 
KVEventGetCurrentEvent ()
 
Int_t GetDeltaTime ()
 
KVHashListGetHistos ()
 
Int_t GetMtot (void) const
 Retourne le nombre d'entiers apres cassure (la multiplicite) More...
 
KVHashListGetObjects ()
 Retourne la liste d'objects autres ... More...
 
Int_t GetTotalIterations (void)
 
Int_t GetZmin (void) const
 Retourne la taille minimale des entiers apres cassure. More...
 
Int_t GetZtot (void) const
 Retourne le nombre entier a casser. More...
 
void LinkEvent (KVEvent *)
 
void PrintConfig () const
 
void RedefineTRandom (KVString TRandom_Method)
 
virtual void ResetHistos ()
 Met a zero le contenu des histogrammes. More...
 
virtual void ResetTotalIterations ()
 Comme c'est écrit. More...
 
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 More...
 
virtual void TreatePartition ()
 
- Public Member Functions inherited from KVPartitionList
 KVPartitionList ()
 Default constructor. More...
 
 KVPartitionList (const Char_t *name)
 constructor with name More...
 
virtual ~KVPartitionList ()
 Destructor. More...
 
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)
 
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. More...
 
- Public Member Functions inherited from KVUniqueNameList
 KVUniqueNameList (Bool_t R=kFALSE)
 Default constructor. More...
 
virtual ~KVUniqueNameList ()
 Destructor. More...
 
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. More...
 
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. More...
 
 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. More...
 
TObjectFindObjectByClass (const TClass *) const
 Return (first) object in embedded list with given class. More...
 
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). More...
 
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 char *name) const
 
TSeqCollectionGetCollection () const
 
virtual TObject ** GetObjectRef (const TObject *obj) const
 Return reference to object. More...
 
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. More...
 
virtual void Modified ()
 
KVSeqCollectionoperator= (const KVSeqCollection &)
 
virtual void RecursiveRemove (TObject *obj)
 
virtual TObjectRemove (TObject *obj)
 Remove object from list. More...
 
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 ()
 
virtual Int_t GetLast () const
 
virtual Int_t IndexOf (const TObject *obj) const
 
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 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)
 
Int_t Capacity () const
 
virtual TObjectClone (const char *newname="") const
 
Int_t Compare (const TObject *obj) const
 
Bool_t Contains (const char *name) const
 
Bool_t Contains (const TObject *obj) const
 
virtual void Draw (Option_t *option="")
 
virtual void Dump () const
 
TIter end () const
 
virtual Int_t GetEntries () const
 
virtual const char * GetName () const
 
virtual Int_t GrowBy (Int_t delta) const
 
ULong_t Hash () const
 
Bool_t IsArgNull (const char *where, const TObject *obj) const
 
virtual Bool_t IsEmpty () const
 
virtual Bool_t IsFolder () const
 
Bool_t IsOwner () const
 
R__ALWAYS_INLINE Bool_t IsUsingRWLock () const
 
virtual void ls (Option_t *option="") const
 
virtual TIteratorMakeReverseIterator () const
 
virtual Bool_t Notify ()
 
TObjectoperator() (const char *name) const
 
virtual void Paint (Option_t *option="")
 
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
 
virtual void Print (Option_t *option="") const
 
void RemoveAll ()
 
virtual void RemoveAll (TCollection *col)
 
void SetCurrentCollection ()
 
void SetName (const char *name)
 
virtual bool UseRWLock ()
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 
- 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)
 
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)
 
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)
 
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
 

Protected Types

enum  { kStorePartitions = BIT(14) }
 
- Protected Types inherited from TCollection
enum  EStatusBits
 

Protected Member Functions

void init ()
 
void SetBreakUpMethod (KVString bup_method)
 Protected method. More...
 
void SetMtot (Int_t mt)
 Protected method. More...
 
void SetZmin (Int_t zlim)
 Protected method. More...
 
void SetZtot (Int_t zt)
 Protected method. More...
 
void Start ()
 
void Stop ()
 
- Protected Member Functions inherited from KVPartitionList
TTreeGenereTree (const Char_t *treename, Bool_t Compress=kTRUE)
 
void init ()
 
void ValidateEntrance (KVIntegerList *il)
 
- Protected Member Functions inherited from KVSeqCollection
void _GetSubListWithClass (KVSeqCollection *, TCollection *, const TClass *) const
 
virtual void _GetSubListWithMethod (KVSeqCollection *, TCollection *, const Char_t *, const Char_t *) const
 
virtual void Changed ()
 
virtual KVSeqCollectionNewCollectionLikeThisOne () const
 
virtual void PrintCollectionHeader (Option_t *option) const
 Overrides TCollection::PrintCollectionHeader to show the class name of the embedded list. More...
 
virtual void SetCollection (const Char_t *)
 
- 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

TRandomalea
 
Int_tbound
 [Ztotal] tableau permettant de gérer les cassures de liens More...
 
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]-> More...
 
Int_t size_max
 
Int_t tellapsed
 
KVString TRandom_Method
 
Int_t tstart
 
Int_t tstop
 
Int_t Zmin
 
Int_t Ztotal
 
- Protected Attributes inherited from KVPartitionList
Bool_t atrouve
 
Double_t knbre_diff
 Nbre de partitions differentes. More...
 
Double_t knbre_tot
 Nbre de partitions totales. More...
 
KVPartitionmult_range
 Permet d'extraire la gamme en multiplicité More...
 
- Protected Attributes inherited from KVSeqCollection
TSeqCollectionfCollection
 Pointer to embedded ROOT collection. More...
 
- 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
 

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 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 void EmptyGarbageCollection ()
 
static void GarbageCollect (TObject *obj)
 
static TCollectionGetCurrentCollection ()
 
static void StartGarbageCollection ()
 
- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 

#include <KVBreakUp.h>

Inheritance diagram for KVBreakUp:
Inheritance graph
[legend]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kStorePartitions 

Definition at line 92 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 62 of file KVBreakUp.cpp.

◆ ~KVBreakUp()

KVBreakUp::~KVBreakUp ( )
virtual

Destructeur.

Definition at line 78 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 767 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 613 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 660 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 717 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 522 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 KVPartitionList.

Definition at line 101 of file KVBreakUp.cpp.

◆ DefineBreakUpMethod()

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

Permet de definir une methode de cassure

Definition at line 243 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 119 of file KVBreakUp.cpp.

◆ DrawPanel()

void KVBreakUp::DrawPanel ( )
virtual

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

Definition at line 896 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 596 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 1019 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 845 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 859 of file KVBreakUp.cpp.

◆ GetTotalIterations()

Int_t KVBreakUp::GetTotalIterations ( void  )

Retourne le nombre total d iterations depuis le dernier clear

Definition at line 830 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  )
protected

Initialisation des variables appele par le constructeur

Definition at line 19 of file KVBreakUp.cpp.

◆ LinkEvent()

void KVBreakUp::LinkEvent ( KVEvent evt)

Definition at line 195 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 966 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 210 of file KVBreakUp.cpp.

◆ ResetHistos()

void KVBreakUp::ResetHistos ( )
virtual

Met a zero le contenu des histogrammes.

Definition at line 883 of file KVBreakUp.cpp.

◆ ResetTotalIterations()

void KVBreakUp::ResetTotalIterations ( )
virtual

Comme c'est écrit.

Definition at line 871 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 932 of file KVBreakUp.cpp.

◆ SetBreakUpMethod()

void KVBreakUp::SetBreakUpMethod ( KVString  bup_method)
protected

Protected method.

Definition at line 184 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 228 of file KVBreakUp.cpp.

◆ SetMtot()

void KVBreakUp::SetMtot ( Int_t  mt)
protected

Protected method.

Definition at line 154 of file KVBreakUp.cpp.

◆ SetZmin()

void KVBreakUp::SetZmin ( Int_t  zlim)
protected

Protected method.

Definition at line 170 of file KVBreakUp.cpp.

◆ SetZtot()

void KVBreakUp::SetZtot ( Int_t  zt)
protected

Protected method.

Definition at line 136 of file KVBreakUp.cpp.

◆ Start()

void KVBreakUp::Start ( )
protected

protected method Signal start

Definition at line 988 of file KVBreakUp.cpp.

◆ Stop()

void KVBreakUp::Stop ( )
protected

protected method Signal stop

Definition at line 1003 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 560 of file KVBreakUp.cpp.

Member Data Documentation

◆ alea

TRandom* KVBreakUp::alea
protected

Definition at line 74 of file KVBreakUp.h.

◆ bound

Int_t* KVBreakUp::bound
protected

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

Definition at line 71 of file KVBreakUp.h.

◆ BreakUpMethod

KVString KVBreakUp::BreakUpMethod
protected

Definition at line 72 of file KVBreakUp.h.

◆ current_event

KVEvent* KVBreakUp::current_event
protected

Definition at line 90 of file KVBreakUp.h.

◆ hmt

TH1F* KVBreakUp::hmt
protected

Definition at line 85 of file KVBreakUp.h.

◆ hzt

TH1F* KVBreakUp::hzt
protected

Definition at line 84 of file KVBreakUp.h.

◆ hzz

TH1F* KVBreakUp::hzz
protected

Definition at line 83 of file KVBreakUp.h.

◆ lhisto

KVHashList* KVBreakUp::lhisto
protected

Definition at line 88 of file KVBreakUp.h.

◆ lobjects

KVHashList* KVBreakUp::lobjects
protected

Definition at line 87 of file KVBreakUp.h.

◆ Mtotal

Int_t KVBreakUp::Mtotal
protected

Definition at line 69 of file KVBreakUp.h.

◆ nbre_nuc

Int_t KVBreakUp::nbre_nuc
protected

Definition at line 77 of file KVBreakUp.h.

◆ niter_tot

Int_t KVBreakUp::niter_tot
protected

Definition at line 80 of file KVBreakUp.h.

◆ nl

KVNumberList KVBreakUp::nl
protected

Definition at line 76 of file KVBreakUp.h.

◆ nraffine

Int_t KVBreakUp::nraffine

Definition at line 107 of file KVBreakUp.h.

◆ partition

KVIntegerList* KVBreakUp::partition
protected

Definition at line 89 of file KVBreakUp.h.

◆ size

Int_t* KVBreakUp::size
protected

[size_max]->

Definition at line 79 of file KVBreakUp.h.

◆ size_max

Int_t KVBreakUp::size_max
protected

Definition at line 78 of file KVBreakUp.h.

◆ tellapsed

Int_t KVBreakUp::tellapsed
protected

Definition at line 81 of file KVBreakUp.h.

◆ TRandom_Method

KVString KVBreakUp::TRandom_Method
protected

Definition at line 72 of file KVBreakUp.h.

◆ tstart

Int_t KVBreakUp::tstart
protected

Definition at line 81 of file KVBreakUp.h.

◆ tstop

Int_t KVBreakUp::tstop
protected

Definition at line 81 of file KVBreakUp.h.

◆ Zmin

Int_t KVBreakUp::Zmin
protected

Definition at line 70 of file KVBreakUp.h.

◆ Ztotal

Int_t KVBreakUp::Ztotal
protected

Definition at line 68 of file KVBreakUp.h.


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