KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches

Detailed Description

Identification grid editor GUI ,.

See users guide http://indra.in2p3.fr/kaliveda/images/DocGridEditor.pdf (in French)

See also the presentation here: http://indra.in2p3.fr/kaliveda/images/JourneeAnalyse0312_1.pdf (in French)

Definition at line 58 of file KVIDGridEditor.h.

#include <KVIDGridEditor.h>

Inheritance diagram for KVIDGridEditor:

Public Types

enum  MatrixType { kSiCsI , kSiSi , kChIoSi , kPSA }
 
- Public Types inherited from KVBase
enum  EKaliVedaBits { kIsKaliVedaObject = BIT(23) }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 

Public Member Functions

 KVIDGridEditor ()
 Default constructor.
 
 KVIDGridEditor (const KVIDGridEditor &)
 
virtual ~KVIDGridEditor ()
 Destructor.
 
void AutoFit ()
 
void CanvasWasClosed ()
 
void ChangeCharges (const Char_t *Zl, Int_t dZ)
 
void ChangeMasses (const Char_t *Zl, Int_t dA)
 
void Clear (const Option_t *opt="")
 
void Close ()
 
void Copy (TObject &) const
 
void FindZALines ()
 
void ForceUpdate ()
 
TCanvasGetEditorCanvas ()
 
KVIDGraphGetGrid ()
 
TH2GetHisto ()
 
double GetPointSize ()
 
int GetPointStyle ()
 
Double_t GetSpiderFactor ()
 
Int_t GetSpiderZp ()
 
Bool_t IsClosed ()
 
void MakeScaleX (Double_t scaleFactor)
 
void MakeScaleY (Double_t scaleFactor)
 
void MakeTransformation ()
 
void PrintScalingRecap ()
 
void ResetScalingRecap ()
 
void SaveCurrentGrid ()
 
void SelectLabel ()
 
void SelectLinesByZ (const Char_t *ListOfZ)
 
void SetDebug (Bool_t debug)
 
void SetGrid (KVIDGraph *gg, Bool_t histo=true)
 
void SetGrid (TString GridName)
 
void SetHisto (TH2 *hh)
 
void SetPointSize (double psize)
 
void SetPointStyle (int pstyle)
 
void SetSelectedColor (Int_t color)
 
void SetSpiderOption (const char *opt="DRLF")
 
void SetSVGMode ()
 
void SpiderIdentification ()
 
void StartViewer ()
 Close();.
 
- Public Member Functions inherited from KVBase
 KVBase ()
 Default constructor.
 
 KVBase (const Char_t *name, const Char_t *title="")
 Ctor for object with given name and type.
 
 KVBase (const KVBase &)
 copy ctor
 
virtual ~KVBase ()
 
virtual void Clear (Option_t *opt="")
 Clear object properties : name, type/title, number, label.
 
const Char_tGetLabel () const
 
UInt_t GetNumber () const
 
UInt_t GetNumberOfObjects () const
 
virtual TObjectGetObject () const
 
virtual const Char_tGetType () const
 
Bool_t HasLabel () const
 
virtual Bool_t IsCalled (const Char_t *name) const
 
Bool_t IsLabelled (const Char_t *l) const
 
virtual Bool_t IsType (const Char_t *typ) const
 
virtual void List ()
 
KVBaseoperator= (const KVBase &)
 copy assignment operator
 
virtual void Print (Option_t *option="") const
 
Double_t ProtectedGetX (const TF1 *func, Double_t val, int &status, Double_t xmin=0.0, Double_t xmax=0.0) const
 
void SetLabel (const Char_t *lab)
 
virtual void SetNumber (UInt_t num)
 
virtual void SetType (const Char_t *str)
 
- 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
 
TObjectClone (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
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
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 TObjectDrawClone (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 TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) 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 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)
 
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 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 Member Functions

void AddAction (TString label)
 
void AddGridOption (TString label, KVHashList *thelist)
 
void AddMethod (const char *theMethod)
 
void AddTransformation (TString label)
 
void ChangeStep (const char *title, Int_t dstep=1)
 
void ChangeZoomRatio (Int_t sign, Double_t speed=.5)
 
void ChooseSelectedColor ()
 
void ConstructModulator ()
 
void DeleteObject (KVIDentifier *obj)
 
void DispatchOrder (TPaveLabel *label)
 
void DrawAtt (Bool_t piv)
 
void DynamicZoom (Int_t Sign, Int_t px=0, Int_t py=0, Double_t speed=.5)
 Zoom in or out of histogram with mouse wheel.
 
TH2FindInCanvases (const Char_t *name)
 
void FitGrid ()
 
Double_t GetPdx ()
 
Double_t GetPdy ()
 
Double_t GetX0 ()
 
Double_t GetY0 ()
 
Bool_t HandleKey (Int_t px, Int_t py)
 Handle keys.
 
void init ()
 
TString ListOfHistogramInMemory ()
 
void MoveHor (Int_t sign, Double_t speed=1, Bool_t update=true)
 
void MoveVert (Int_t sign, Double_t speed=1, Bool_t update=true)
 
void NewCut ()
 
void NewInfo ()
 
void NewLine ()
 
void OpenRootFile ()
 
TString PreselectHistogram (TString ListOfName, Int_t ipert=0)
 
void RecurseFileStructureFindHistos (TString &hist_names, TDirectory *the_directory)
 
void ResetColor (KVIDentifier *Ident)
 
void ResetColor (KVList *IdentList)
 
void RotateZ (Int_t Sign)
 
void ScaleCurvature (Int_t Sign)
 
void ScaleX (Int_t Sign)
 
void ScaleXY (Int_t Sign)
 
void ScaleY (Int_t Sign)
 
void SelectLines (const Char_t *label)
 
void SelectTrans (TPaveLabel *label)
 
void SetDefault ()
 
void SetEditable (TPaveLabel *label)
 
void SetLogx ()
 
void SetLogy ()
 
void SetLogz ()
 
void SetPiedestal (Double_t ppdx, Double_t ppdy)
 piedestal used during SpiderIdentification
 
void SetPivot (Double_t xx0, Double_t yy0)
 
void SuggestMoreAction ()
 
void TestGrid ()
 
void TranslateX (Int_t Sign)
 
void TranslateY (Int_t Sign)
 
void Undo ()
 
void Unzoom ()
 
void UpdateViewer ()
 
const char * WhoIsSelected ()
 
void ZoomOnMouse ()
 
void ZoomSelected ()
 

Private Attributes

Bool_t aoemode
 true si mode age of empire
 
Bool_t dlmode
 true si mode delete
 
Bool_t drawmode
 true si mode draw (line, cut)
 
Bool_t fAutoZoomMode
 
Double_t fAx
 
Double_t fAy
 
Bool_t fBlackMode
 
Double_t fBx
 
Double_t fBy
 scaling recap for current grid
 
KVIDGridEditorCanvasfCanvas
 
Bool_t fDebug
 
KVString fDefaultMethod
 
Bool_t fJoelMode
 
TPaveTextfKeyShow
 
KVString fListOfMethods
 
TVirtualPadfPad
 
TGraphfPiedestal
 
TGraphfPivot
 
Double_t fPointSize
 
Int_t fPointStyle
 
TF2frx
 rotation
 
TF2fry
 rotation
 
TF1fs
 scaling
 
Double_t fSpiderFactor
 
TString fSpiderOption
 
Int_t fSpiderZp
 
Int_t fSVGIndex
 
Bool_t fSVGMode
 
TF1fsy
 scaling
 
TF1ft
 translation
 
Int_t iact
 
Int_t imod
 utilise pour le placement des boutons
 
Int_t iopt
 
Bool_t is_col
 
Int_t itrans
 
KVListListOfLines
 liste des lignes selectionnees
 
KVHashListlplabel
 contient la liste des TPaveLabel pour les transformations (rouge)
 
KVHashListlplabel2
 contient la liste des TPaveLabel pour les actions (rouge)
 
KVHashListlplabel3
 contient la liste des TPaveLabel pour les selections de lignes (vert)
 
KVHashListlplabel4
 contient la liste des TPaveLabel pour editer la grille (rouge)
 
KVHashListlplabel5
 contient la liste des TPaveLabel pour moduler les pas (vert)
 
TPaveLabelmodulator
 
Bool_t moved
 utilise pour les differents zooms
 
Double_t oldx
 
Double_t oldy
 utilises pour les differents zooms
 
Bool_t ownhisto
 true si histo par defaut
 
Bool_t ready
 
Int_t SelectedColor
 couleur des lignes selectionnees
 
Bool_t selectmode
 true si mode vener
 
KVIDGraphTheGrid
 pointeur sur la grille courante
 
TH2TheHisto
 pointeur sur l'histogramme
 
TH2TheHistoChoice
 
Bool_t venermode
 true si mode select
 
Double_t x0
 coordonne x du pivot
 
Double_t xmax
 
Double_t xmin
 
Double_t y0
 coordonne y du pivot
 
Double_t ymax
 utilises pour les differents zooms
 
Double_t ymin
 

Friends

class KVIDGridEditorCanvas
 friend class KeyHandler;
 

Additional Inherited Members

- Static Public Member Functions inherited from KVBase
static Bool_t AreEqual (Double_t x, Double_t y, Long64_t maxdif=1)
 Comparison between two 64-bit floating-point values.
 
static void BackupFileWithDate (const Char_t *path)
 
static void CombineFiles (const Char_t *file1, const Char_t *file2, const Char_t *newfilename, Bool_t keep=kTRUE)
 
static void Deprecated (const char *method, const char *advice)
 
static Bool_t FindClassSourceFiles (const Char_t *class_name, KVString &imp_file, KVString &dec_file, const Char_t *dir_name=".")
 
static Bool_t FindExecutable (TString &exec, const Char_t *path="$(PATH)")
 
static const Char_tFindFile (const Char_t *search, TString &wfil)
 
static const Char_tGetBINDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetDATABASEFilePath ()
 
static const Char_tGetDATADIRFilePath (const Char_t *namefile="")
 
static Bool_t GetDataSetEnv (const Char_t *dataset, const Char_t *type, Bool_t defval)
 
static const Char_tGetDataSetEnv (const Char_t *dataset, const Char_t *type, const Char_t *defval)
 
static Double_t GetDataSetEnv (const Char_t *dataset, const Char_t *type, Double_t defval)
 
static const Char_tGetETCDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetExampleFilePath (const Char_t *library, const Char_t *namefile)
 Return full path to example file for given library (="KVMultiDet", "BackTrack", etc.)
 
static const Char_tGetINCDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetKVBuildDate ()
 Returns KaliVeda build date.
 
static const Char_tGetKVBuildDir ()
 Returns top-level directory used for build.
 
static const Char_tGetKVBuildTime ()
 Returns KaliVeda build time.
 
static const Char_tGetKVBuildType ()
 Returns KaliVeda build type (cmake build: Release, Debug, RelWithDebInfo, ...)
 
static const Char_tGetKVBuildUser ()
 Returns username of person who performed build.
 
static const Char_tGetKVSourceDir ()
 Returns top-level directory of source tree used for build.
 
static const Char_tGetKVVersion ()
 Returns KaliVeda version string.
 
static const Char_tGetLIBDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetListOfPlugins (const Char_t *base)
 
static const Char_tGetListOfPluginURIs (const Char_t *base)
 
static const Char_tGetPluginURI (const Char_t *base, const Char_t *plugin)
 
static void GetTempFileName (TString &base)
 
static const Char_tGetTEMPLATEDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetWORKDIRFilePath (const Char_t *namefile="")
 
static const Char_tgitBranch ()
 Returns git branch of sources.
 
static const Char_tgitCommit ()
 Returns last git commit of sources.
 
static void InitEnvironment ()
 
static bool is_gnuinstall ()
 
static Bool_t IsThisAPlugin (const TString &uri, TString &base)
 
static TPluginHandlerLoadPlugin (const Char_t *base, const Char_t *uri="0")
 
static Bool_t OpenContextMenu (const char *method, TObject *obj, const char *alt_method_name="")
 
static void OpenTempFile (TString &base, std::ofstream &fp)
 
static void PrintSplashScreen ()
 Prints welcome message and infos on version etc.
 
static Bool_t SearchAndOpenKVFile (const Char_t *name, KVSQLite::database &dbfile, const Char_t *kvsubdir="")
 
static Bool_t SearchAndOpenKVFile (const Char_t *name, std::ifstream &file, const Char_t *kvsubdir="", KVLockfile *locks=0)
 
static Bool_t SearchAndOpenKVFile (const Char_t *name, std::ofstream &file, const Char_t *kvsubdir="", KVLockfile *locks=0)
 
static Bool_t SearchKVFile (const Char_t *name, TString &fullpath, const Char_t *kvsubdir="")
 
static const Char_tWorkingDirectory ()
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- 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)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- 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 TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Member Enumeration Documentation

◆ MatrixType

Enumerator
kSiCsI 
kSiSi 
kChIoSi 
kPSA 

Definition at line 63 of file KVIDGridEditor.h.

Constructor & Destructor Documentation

◆ KVIDGridEditor() [1/2]

KVIDGridEditor::KVIDGridEditor ( )

Default constructor.

Definition at line 33 of file KVIDGridEditor.cpp.

◆ KVIDGridEditor() [2/2]

KVIDGridEditor::KVIDGridEditor ( const KVIDGridEditor obj)

Copy constructor This ctor is used to make a copy of an existing object (for example when a method returns an object), and it is always a good idea to implement it. If your class allocates memory in its constructor(s) then it is ESSENTIAL :-)

Definition at line 308 of file KVIDGridEditor.cpp.

◆ ~KVIDGridEditor()

KVIDGridEditor::~KVIDGridEditor ( )
virtual

Destructor.

Definition at line 324 of file KVIDGridEditor.cpp.

Member Function Documentation

◆ AddAction()

void KVIDGridEditor::AddAction ( TString  label)
private

Definition at line 494 of file KVIDGridEditor.cpp.

◆ AddGridOption()

void KVIDGridEditor::AddGridOption ( TString  label,
KVHashList thelist 
)
private

Definition at line 516 of file KVIDGridEditor.cpp.

◆ AddMethod()

void KVIDGridEditor::AddMethod ( const char *  theMethod)
private

Definition at line 3073 of file KVIDGridEditor.cpp.

◆ AddTransformation()

void KVIDGridEditor::AddTransformation ( TString  label)
private

Definition at line 472 of file KVIDGridEditor.cpp.

◆ AutoFit()

void KVIDGridEditor::AutoFit ( )

Definition at line 1948 of file KVIDGridEditor.cpp.

◆ CanvasWasClosed()

void KVIDGridEditor::CanvasWasClosed ( )

Slot connected to the 'Closed()' signal of the canvas. If the user closes the canvas window this method gets called. Info("CanvasWasClosed","now");

Definition at line 145 of file KVIDGridEditor.cpp.

◆ ChangeCharges()

void KVIDGridEditor::ChangeCharges ( const Char_t Zl,
Int_t  dZ 
)

Definition at line 3045 of file KVIDGridEditor.cpp.

◆ ChangeMasses()

void KVIDGridEditor::ChangeMasses ( const Char_t Zl,
Int_t  dA 
)

Definition at line 3022 of file KVIDGridEditor.cpp.

◆ ChangeStep()

void KVIDGridEditor::ChangeStep ( const char *  title,
Int_t  dstep = 1 
)
private

Definition at line 2071 of file KVIDGridEditor.cpp.

◆ ChangeZoomRatio()

void KVIDGridEditor::ChangeZoomRatio ( Int_t  sign,
Double_t  speed = .5 
)
private

Definition at line 2906 of file KVIDGridEditor.cpp.

◆ ChooseSelectedColor()

void KVIDGridEditor::ChooseSelectedColor ( )
private

Definition at line 2021 of file KVIDGridEditor.cpp.

◆ Clear()

void KVIDGridEditor::Clear ( const Option_t opt = "")

Definition at line 227 of file KVIDGridEditor.cpp.

◆ Close()

void KVIDGridEditor::Close ( )

Definition at line 210 of file KVIDGridEditor.cpp.

◆ ConstructModulator()

void KVIDGridEditor::ConstructModulator ( )
private

Definition at line 430 of file KVIDGridEditor.cpp.

◆ Copy()

void KVIDGridEditor::Copy ( TObject obj) const
virtual

This method copies the current state of 'this' object Int_to 'obj' You should add here any member variables, for example: (supposing a member variable KVIDGridEditor::fToto) CastedObj.fToto = fToto; or CastedObj.SetToto( GetToto() );

Reimplemented from KVBase.

Definition at line 365 of file KVIDGridEditor.cpp.

◆ DeleteObject()

void KVIDGridEditor::DeleteObject ( KVIDentifier obj)
private

Definition at line 2049 of file KVIDGridEditor.cpp.

◆ DispatchOrder()

void KVIDGridEditor::DispatchOrder ( TPaveLabel label)
private

Definition at line 1336 of file KVIDGridEditor.cpp.

◆ DrawAtt()

void KVIDGridEditor::DrawAtt ( Bool_t  piv)
private

Definition at line 839 of file KVIDGridEditor.cpp.

◆ DynamicZoom()

void KVIDGridEditor::DynamicZoom ( Int_t  Sign,
Int_t  px = 0,
Int_t  py = 0,
Double_t  speed = .5 
)
private

Zoom in or out of histogram with mouse wheel.

Definition at line 2222 of file KVIDGridEditor.cpp.

◆ FindInCanvases()

TH2 * KVIDGridEditor::FindInCanvases ( const Char_t name)
private

Definition at line 818 of file KVIDGridEditor.cpp.

◆ FindZALines()

void KVIDGridEditor::FindZALines ( )

Definition at line 3002 of file KVIDGridEditor.cpp.

◆ FitGrid()

void KVIDGridEditor::FitGrid ( )
private

Definition at line 1820 of file KVIDGridEditor.cpp.

◆ ForceUpdate()

void KVIDGridEditor::ForceUpdate ( )

Definition at line 2509 of file KVIDGridEditor.cpp.

◆ GetEditorCanvas()

TCanvas * KVIDGridEditor::GetEditorCanvas ( )
inline

Definition at line 249 of file KVIDGridEditor.h.

◆ GetGrid()

KVIDGraph * KVIDGridEditor::GetGrid ( )
inline

Definition at line 240 of file KVIDGridEditor.h.

◆ GetHisto()

TH2 * KVIDGridEditor::GetHisto ( )
inline

Definition at line 244 of file KVIDGridEditor.h.

◆ GetPdx()

Double_t KVIDGridEditor::GetPdx ( )
private

Definition at line 1643 of file KVIDGridEditor.cpp.

◆ GetPdy()

Double_t KVIDGridEditor::GetPdy ( )
private

Definition at line 1653 of file KVIDGridEditor.cpp.

◆ GetPointSize()

double KVIDGridEditor::GetPointSize ( )
inline

Definition at line 231 of file KVIDGridEditor.h.

◆ GetPointStyle()

int KVIDGridEditor::GetPointStyle ( )
inline

Definition at line 226 of file KVIDGridEditor.h.

◆ GetSpiderFactor()

Double_t KVIDGridEditor::GetSpiderFactor ( )
inline

Definition at line 277 of file KVIDGridEditor.h.

◆ GetSpiderZp()

Int_t KVIDGridEditor::GetSpiderZp ( )
inline

Definition at line 273 of file KVIDGridEditor.h.

◆ GetX0()

Double_t KVIDGridEditor::GetX0 ( )
private

Definition at line 1624 of file KVIDGridEditor.cpp.

◆ GetY0()

Double_t KVIDGridEditor::GetY0 ( )
private

Definition at line 1633 of file KVIDGridEditor.cpp.

◆ HandleKey()

Bool_t KVIDGridEditor::HandleKey ( Int_t  px,
Int_t  py 
)
private

Handle keys.

Definition at line 2533 of file KVIDGridEditor.cpp.

◆ init()

void KVIDGridEditor::init ( void  )
private

Definition at line 382 of file KVIDGridEditor.cpp.

◆ IsClosed()

Bool_t KVIDGridEditor::IsClosed ( )

Definition at line 201 of file KVIDGridEditor.cpp.

◆ ListOfHistogramInMemory()

TString KVIDGridEditor::ListOfHistogramInMemory ( )
private

Fill a TString with the names of all histograms in

  • ROOT memory (gROOT)
  • all open files
  • all canvases
  • any instance of KVTreeAnalyzer The list is sorted lexographically

Definition at line 569 of file KVIDGridEditor.cpp.

◆ MakeScaleX()

void KVIDGridEditor::MakeScaleX ( Double_t  scaleFactor)

Definition at line 2303 of file KVIDGridEditor.cpp.

◆ MakeScaleY()

void KVIDGridEditor::MakeScaleY ( Double_t  scaleFactor)

Definition at line 2327 of file KVIDGridEditor.cpp.

◆ MakeTransformation()

void KVIDGridEditor::MakeTransformation ( )

Definition at line 1060 of file KVIDGridEditor.cpp.

◆ MoveHor()

void KVIDGridEditor::MoveHor ( Int_t  sign,
Double_t  speed = 1,
Bool_t  update = true 
)
private

Definition at line 2884 of file KVIDGridEditor.cpp.

◆ MoveVert()

void KVIDGridEditor::MoveVert ( Int_t  sign,
Double_t  speed = 1,
Bool_t  update = true 
)
private

Definition at line 2928 of file KVIDGridEditor.cpp.

◆ NewCut()

void KVIDGridEditor::NewCut ( )
private

Definition at line 1505 of file KVIDGridEditor.cpp.

◆ NewInfo()

void KVIDGridEditor::NewInfo ( )
private

Definition at line 1565 of file KVIDGridEditor.cpp.

◆ NewLine()

void KVIDGridEditor::NewLine ( )
private

Definition at line 1466 of file KVIDGridEditor.cpp.

◆ OpenRootFile()

void KVIDGridEditor::OpenRootFile ( )
private

Definition at line 1996 of file KVIDGridEditor.cpp.

◆ PreselectHistogram()

TString KVIDGridEditor::PreselectHistogram ( TString  ListOfName,
Int_t  ipert = 0 
)
private

Look in list of histogram names for one containing the name of the current grid. If found, return it.

Definition at line 667 of file KVIDGridEditor.cpp.

◆ PrintScalingRecap()

void KVIDGridEditor::PrintScalingRecap ( )

Print a summary of X and Y scaling transformations (Sx, Sy, Sxy) made since the last call of ResetScalingRecap();

Definition at line 3087 of file KVIDGridEditor.cpp.

◆ RecurseFileStructureFindHistos()

void KVIDGridEditor::RecurseFileStructureFindHistos ( TString hist_names,
TDirectory the_directory 
)
private

Recursively scan folders in a file looking for all TH2-derived objects. Their names are added to the TString.

Definition at line 540 of file KVIDGridEditor.cpp.

◆ ResetColor() [1/2]

void KVIDGridEditor::ResetColor ( KVIDentifier Ident)
private

Definition at line 2474 of file KVIDGridEditor.cpp.

◆ ResetColor() [2/2]

void KVIDGridEditor::ResetColor ( KVList IdentList)
private

Definition at line 2496 of file KVIDGridEditor.cpp.

◆ ResetScalingRecap()

void KVIDGridEditor::ResetScalingRecap ( )
inline

Definition at line 291 of file KVIDGridEditor.h.

◆ RotateZ()

void KVIDGridEditor::RotateZ ( Int_t  Sign)
private

Definition at line 2275 of file KVIDGridEditor.cpp.

◆ SaveCurrentGrid()

void KVIDGridEditor::SaveCurrentGrid ( )

Definition at line 1900 of file KVIDGridEditor.cpp.

◆ ScaleCurvature()

void KVIDGridEditor::ScaleCurvature ( Int_t  Sign)
private

Definition at line 2431 of file KVIDGridEditor.cpp.

◆ ScaleX()

void KVIDGridEditor::ScaleX ( Int_t  Sign)
private

Definition at line 2351 of file KVIDGridEditor.cpp.

◆ ScaleXY()

void KVIDGridEditor::ScaleXY ( Int_t  Sign)
private

Definition at line 2399 of file KVIDGridEditor.cpp.

◆ ScaleY()

void KVIDGridEditor::ScaleY ( Int_t  Sign)
private

Definition at line 2375 of file KVIDGridEditor.cpp.

◆ SelectLabel()

void KVIDGridEditor::SelectLabel ( )

Definition at line 962 of file KVIDGridEditor.cpp.

◆ SelectLines()

void KVIDGridEditor::SelectLines ( const Char_t label)
private

Definition at line 1424 of file KVIDGridEditor.cpp.

◆ SelectLinesByZ()

void KVIDGridEditor::SelectLinesByZ ( const Char_t ListOfZ)

Definition at line 1872 of file KVIDGridEditor.cpp.

◆ SelectTrans()

void KVIDGridEditor::SelectTrans ( TPaveLabel label)
private

Definition at line 2960 of file KVIDGridEditor.cpp.

◆ SetDebug()

void KVIDGridEditor::SetDebug ( Bool_t  debug)
inline

Definition at line 262 of file KVIDGridEditor.h.

◆ SetDefault()

void KVIDGridEditor::SetDefault ( )
private

Definition at line 161 of file KVIDGridEditor.cpp.

◆ SetEditable()

void KVIDGridEditor::SetEditable ( TPaveLabel label)
private

Definition at line 1406 of file KVIDGridEditor.cpp.

◆ SetGrid() [1/2]

void KVIDGridEditor::SetGrid ( KVIDGraph gg,
Bool_t  histo = true 
)

Definition at line 864 of file KVIDGridEditor.cpp.

◆ SetGrid() [2/2]

void KVIDGridEditor::SetGrid ( TString  GridName)

Definition at line 894 of file KVIDGridEditor.cpp.

◆ SetHisto()

void KVIDGridEditor::SetHisto ( TH2 hh)

Definition at line 702 of file KVIDGridEditor.cpp.

◆ SetLogx()

void KVIDGridEditor::SetLogx ( )
private

Definition at line 2110 of file KVIDGridEditor.cpp.

◆ SetLogy()

void KVIDGridEditor::SetLogy ( )
private

Definition at line 2100 of file KVIDGridEditor.cpp.

◆ SetLogz()

void KVIDGridEditor::SetLogz ( )
private

Definition at line 2090 of file KVIDGridEditor.cpp.

◆ SetPiedestal()

void KVIDGridEditor::SetPiedestal ( Double_t  ppdx,
Double_t  ppdy 
)
private

piedestal used during SpiderIdentification

Definition at line 945 of file KVIDGridEditor.cpp.

◆ SetPivot()

void KVIDGridEditor::SetPivot ( Double_t  xx0,
Double_t  yy0 
)
private

Definition at line 927 of file KVIDGridEditor.cpp.

◆ SetPointSize()

void KVIDGridEditor::SetPointSize ( double  psize)

Definition at line 2989 of file KVIDGridEditor.cpp.

◆ SetPointStyle()

void KVIDGridEditor::SetPointStyle ( int  pstyle)

Definition at line 2976 of file KVIDGridEditor.cpp.

◆ SetSelectedColor()

void KVIDGridEditor::SetSelectedColor ( Int_t  color)
inline

Definition at line 257 of file KVIDGridEditor.h.

◆ SetSpiderOption()

void KVIDGridEditor::SetSpiderOption ( const char *  opt = "DRLF")
inline

Definition at line 282 of file KVIDGridEditor.h.

◆ SetSVGMode()

void KVIDGridEditor::SetSVGMode ( )
inline

Definition at line 266 of file KVIDGridEditor.h.

◆ SpiderIdentification()

void KVIDGridEditor::SpiderIdentification ( )

Definition at line 1663 of file KVIDGridEditor.cpp.

◆ StartViewer()

void KVIDGridEditor::StartViewer ( )

Close();.

Definition at line 117 of file KVIDGridEditor.cpp.

◆ SuggestMoreAction()

void KVIDGridEditor::SuggestMoreAction ( )
private

Definition at line 1839 of file KVIDGridEditor.cpp.

◆ TestGrid()

void KVIDGridEditor::TestGrid ( )
private

Definition at line 1806 of file KVIDGridEditor.cpp.

◆ TranslateX()

void KVIDGridEditor::TranslateX ( Int_t  Sign)
private

Definition at line 2179 of file KVIDGridEditor.cpp.

◆ TranslateY()

void KVIDGridEditor::TranslateY ( Int_t  Sign)
private

Definition at line 2200 of file KVIDGridEditor.cpp.

◆ Undo()

void KVIDGridEditor::Undo ( )
private

Revert current grid to its last saved version Normally this will be the state of the grid before starting the current editing session

Definition at line 2135 of file KVIDGridEditor.cpp.

◆ Unzoom()

void KVIDGridEditor::Unzoom ( )
private

Definition at line 2120 of file KVIDGridEditor.cpp.

◆ UpdateViewer()

void KVIDGridEditor::UpdateViewer ( )
private

Definition at line 284 of file KVIDGridEditor.cpp.

◆ WhoIsSelected()

const char * KVIDGridEditor::WhoIsSelected ( )
private

Definition at line 2165 of file KVIDGridEditor.cpp.

◆ ZoomOnMouse()

void KVIDGridEditor::ZoomOnMouse ( )
private

Definition at line 2950 of file KVIDGridEditor.cpp.

◆ ZoomSelected()

void KVIDGridEditor::ZoomSelected ( )
private

Definition at line 1307 of file KVIDGridEditor.cpp.

Friends And Related Symbol Documentation

◆ KVIDGridEditorCanvas

friend class KVIDGridEditorCanvas
friend

friend class KeyHandler;

Definition at line 60 of file KVIDGridEditor.h.

Member Data Documentation

◆ aoemode

Bool_t KVIDGridEditor::aoemode
private

true si mode age of empire

Definition at line 116 of file KVIDGridEditor.h.

◆ dlmode

Bool_t KVIDGridEditor::dlmode
private

true si mode delete

Definition at line 114 of file KVIDGridEditor.h.

◆ drawmode

Bool_t KVIDGridEditor::drawmode
private

true si mode draw (line, cut)

Definition at line 115 of file KVIDGridEditor.h.

◆ fAutoZoomMode

Bool_t KVIDGridEditor::fAutoZoomMode
private

Definition at line 130 of file KVIDGridEditor.h.

◆ fAx

Double_t KVIDGridEditor::fAx
private

Definition at line 111 of file KVIDGridEditor.h.

◆ fAy

Double_t KVIDGridEditor::fAy
private

Definition at line 111 of file KVIDGridEditor.h.

◆ fBlackMode

Bool_t KVIDGridEditor::fBlackMode
private

Definition at line 74 of file KVIDGridEditor.h.

◆ fBx

Double_t KVIDGridEditor::fBx
private

Definition at line 111 of file KVIDGridEditor.h.

◆ fBy

Double_t KVIDGridEditor::fBy
private

scaling recap for current grid

Definition at line 111 of file KVIDGridEditor.h.

◆ fCanvas

KVIDGridEditorCanvas* KVIDGridEditor::fCanvas
private

Definition at line 79 of file KVIDGridEditor.h.

◆ fDebug

Bool_t KVIDGridEditor::fDebug
private

Definition at line 72 of file KVIDGridEditor.h.

◆ fDefaultMethod

KVString KVIDGridEditor::fDefaultMethod
private

Definition at line 84 of file KVIDGridEditor.h.

◆ fJoelMode

Bool_t KVIDGridEditor::fJoelMode
private

Definition at line 75 of file KVIDGridEditor.h.

◆ fKeyShow

TPaveText* KVIDGridEditor::fKeyShow
private

Definition at line 77 of file KVIDGridEditor.h.

◆ fListOfMethods

KVString KVIDGridEditor::fListOfMethods
private

Definition at line 83 of file KVIDGridEditor.h.

◆ fPad

TVirtualPad* KVIDGridEditor::fPad
private

Definition at line 80 of file KVIDGridEditor.h.

◆ fPiedestal

TGraph* KVIDGridEditor::fPiedestal
private

Definition at line 82 of file KVIDGridEditor.h.

◆ fPivot

TGraph* KVIDGridEditor::fPivot
private

Definition at line 81 of file KVIDGridEditor.h.

◆ fPointSize

Double_t KVIDGridEditor::fPointSize
private

Definition at line 133 of file KVIDGridEditor.h.

◆ fPointStyle

Int_t KVIDGridEditor::fPointStyle
private

Definition at line 132 of file KVIDGridEditor.h.

◆ frx

TF2* KVIDGridEditor::frx
private

rotation

Definition at line 108 of file KVIDGridEditor.h.

◆ fry

TF2* KVIDGridEditor::fry
private

rotation

Definition at line 109 of file KVIDGridEditor.h.

◆ fs

TF1* KVIDGridEditor::fs
private

scaling

Definition at line 106 of file KVIDGridEditor.h.

◆ fSpiderFactor

Double_t KVIDGridEditor::fSpiderFactor
private

Definition at line 127 of file KVIDGridEditor.h.

◆ fSpiderOption

TString KVIDGridEditor::fSpiderOption
private

Definition at line 129 of file KVIDGridEditor.h.

◆ fSpiderZp

Int_t KVIDGridEditor::fSpiderZp
private

Definition at line 128 of file KVIDGridEditor.h.

◆ fSVGIndex

Int_t KVIDGridEditor::fSVGIndex
private

Definition at line 76 of file KVIDGridEditor.h.

◆ fSVGMode

Bool_t KVIDGridEditor::fSVGMode
private

Definition at line 73 of file KVIDGridEditor.h.

◆ fsy

TF1* KVIDGridEditor::fsy
private

scaling

Definition at line 107 of file KVIDGridEditor.h.

◆ ft

TF1* KVIDGridEditor::ft
private

translation

Definition at line 105 of file KVIDGridEditor.h.

◆ iact

Int_t KVIDGridEditor::iact
private

Definition at line 103 of file KVIDGridEditor.h.

◆ imod

Int_t KVIDGridEditor::imod
private

utilise pour le placement des boutons

Definition at line 103 of file KVIDGridEditor.h.

◆ iopt

Int_t KVIDGridEditor::iopt
private

Definition at line 103 of file KVIDGridEditor.h.

◆ is_col

Bool_t KVIDGridEditor::is_col
private

Definition at line 121 of file KVIDGridEditor.h.

◆ itrans

Int_t KVIDGridEditor::itrans
private

Definition at line 103 of file KVIDGridEditor.h.

◆ ListOfLines

KVList* KVIDGridEditor::ListOfLines
private

liste des lignes selectionnees

Definition at line 97 of file KVIDGridEditor.h.

◆ lplabel

KVHashList* KVIDGridEditor::lplabel
private

contient la liste des TPaveLabel pour les transformations (rouge)

Definition at line 86 of file KVIDGridEditor.h.

◆ lplabel2

KVHashList* KVIDGridEditor::lplabel2
private

contient la liste des TPaveLabel pour les actions (rouge)

Definition at line 87 of file KVIDGridEditor.h.

◆ lplabel3

KVHashList* KVIDGridEditor::lplabel3
private

contient la liste des TPaveLabel pour les selections de lignes (vert)

Definition at line 88 of file KVIDGridEditor.h.

◆ lplabel4

KVHashList* KVIDGridEditor::lplabel4
private

contient la liste des TPaveLabel pour editer la grille (rouge)

Definition at line 89 of file KVIDGridEditor.h.

◆ lplabel5

KVHashList* KVIDGridEditor::lplabel5
private

contient la liste des TPaveLabel pour moduler les pas (vert)

Definition at line 90 of file KVIDGridEditor.h.

◆ modulator

TPaveLabel* KVIDGridEditor::modulator
private

Definition at line 92 of file KVIDGridEditor.h.

◆ moved

Bool_t KVIDGridEditor::moved
private

utilise pour les differents zooms

Definition at line 125 of file KVIDGridEditor.h.

◆ oldx

Double_t KVIDGridEditor::oldx
private

Definition at line 124 of file KVIDGridEditor.h.

◆ oldy

Double_t KVIDGridEditor::oldy
private

utilises pour les differents zooms

Definition at line 124 of file KVIDGridEditor.h.

◆ ownhisto

Bool_t KVIDGridEditor::ownhisto
private

true si histo par defaut

Definition at line 113 of file KVIDGridEditor.h.

◆ ready

Bool_t KVIDGridEditor::ready
private

Definition at line 119 of file KVIDGridEditor.h.

◆ SelectedColor

Int_t KVIDGridEditor::SelectedColor
private

couleur des lignes selectionnees

Definition at line 99 of file KVIDGridEditor.h.

◆ selectmode

Bool_t KVIDGridEditor::selectmode
private

true si mode vener

Definition at line 117 of file KVIDGridEditor.h.

◆ TheGrid

KVIDGraph* KVIDGridEditor::TheGrid
private

pointeur sur la grille courante

Definition at line 96 of file KVIDGridEditor.h.

◆ TheHisto

TH2* KVIDGridEditor::TheHisto
private

pointeur sur l'histogramme

Definition at line 94 of file KVIDGridEditor.h.

◆ TheHistoChoice

TH2* KVIDGridEditor::TheHistoChoice
private

Definition at line 95 of file KVIDGridEditor.h.

◆ venermode

Bool_t KVIDGridEditor::venermode
private

true si mode select

Definition at line 118 of file KVIDGridEditor.h.

◆ x0

Double_t KVIDGridEditor::x0
private

coordonne x du pivot

Definition at line 101 of file KVIDGridEditor.h.

◆ xmax

Double_t KVIDGridEditor::xmax
private

Definition at line 123 of file KVIDGridEditor.h.

◆ xmin

Double_t KVIDGridEditor::xmin
private

Definition at line 123 of file KVIDGridEditor.h.

◆ y0

Double_t KVIDGridEditor::y0
private

coordonne y du pivot

Definition at line 102 of file KVIDGridEditor.h.

◆ ymax

Double_t KVIDGridEditor::ymax
private

utilises pour les differents zooms

Definition at line 123 of file KVIDGridEditor.h.

◆ ymin

Double_t KVIDGridEditor::ymin
private

Definition at line 123 of file KVIDGridEditor.h.