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

Identification grid editor GUI ,.

http://indra.in2p3.fr/KaliVedaDoc/images/IDGridEditor.png

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 57 of file KVIDGridEditor.h.

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. More...
 
 KVIDGridEditor (const KVIDGridEditor &)
 
virtual ~KVIDGridEditor ()
 Destructor. More...
 
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();. More...
 
- Public Member Functions inherited from KVBase
 KVBase ()
 Default constructor. More...
 
 KVBase (const Char_t *name, const Char_t *title="")
 Ctor for object with given name and type. More...
 
 KVBase (const KVBase &)
 copy ctor More...
 
virtual ~ KVBase ()
 
virtual void Clear (Option_t *opt="")
 Clear object properties : name, type/title, number, label. More...
 
const Char_tGetLabel () const
 
UInt_t GetNumber () const
 
UInt_t GetNumberOfObjects () const
 
virtual TObjectGetObject () const
 
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 More...
 
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 ()
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void FillBuffer (char *&buffer)
 
virtual const char * GetName () const
 
virtual const char * GetTitle () const
 
virtual ULong_t Hash () const
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 
TNamedoperator= (const TNamed &rhs)
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
- 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=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
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)
 
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)
 
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)
 
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=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
 

Protected 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. More...
 
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. More...
 
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 More...
 
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 ()
 
- 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

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

Friends

class KVIDGridEditorCanvas
 friend class KeyHandler; More...
 

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. More...
 
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.) More...
 
static const Char_tGetINCDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetKVBuildDate ()
 Returns KaliVeda build date. More...
 
static const Char_tGetKVBuildDir ()
 Returns top-level directory used for build. More...
 
static const Char_tGetKVBuildTime ()
 Returns KaliVeda build date. More...
 
static const Char_tGetKVBuildType ()
 Returns KaliVeda build type (cmake build: Release, Debug, RelWithDebInfo, ...) More...
 
static const Char_tGetKVBuildUser ()
 Returns username of person who performed build. More...
 
static const Char_tGetKVSourceDir ()
 Returns top-level directory of source tree used for build. More...
 
static const Char_tGetKVVersion ()
 Returns KaliVeda version string. More...
 
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. More...
 
static const Char_tgitCommit ()
 Returns last git commit of sources. More...
 
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. More...
 
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 TObject
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
 

#include <KVIDGridEditor.h>

Inheritance diagram for KVIDGridEditor:
Inheritance graph
[legend]

Member Enumeration Documentation

◆ MatrixType

Enumerator
kSiCsI 
kSiSi 
kChIoSi 
kPSA 

Definition at line 62 of file KVIDGridEditor.h.

Constructor & Destructor Documentation

◆ KVIDGridEditor() [1/2]

KVIDGridEditor::KVIDGridEditor ( )

Default constructor.

Definition at line 32 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 299 of file KVIDGridEditor.cpp.

◆ ~KVIDGridEditor()

KVIDGridEditor::~KVIDGridEditor ( )
virtual

Destructor.

Definition at line 315 of file KVIDGridEditor.cpp.

Member Function Documentation

◆ AddAction()

void KVIDGridEditor::AddAction ( TString  label)
protected

Definition at line 484 of file KVIDGridEditor.cpp.

◆ AddGridOption()

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

Definition at line 506 of file KVIDGridEditor.cpp.

◆ AddMethod()

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

Definition at line 2992 of file KVIDGridEditor.cpp.

◆ AddTransformation()

void KVIDGridEditor::AddTransformation ( TString  label)
protected

Definition at line 462 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.

Definition at line 141 of file KVIDGridEditor.cpp.

◆ ChangeCharges()

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

Definition at line 2964 of file KVIDGridEditor.cpp.

◆ ChangeMasses()

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

Definition at line 2941 of file KVIDGridEditor.cpp.

◆ ChangeStep()

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

Definition at line 1990 of file KVIDGridEditor.cpp.

◆ ChangeZoomRatio()

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

Definition at line 2825 of file KVIDGridEditor.cpp.

◆ ChooseSelectedColor()

void KVIDGridEditor::ChooseSelectedColor ( )
protected

Definition at line 1940 of file KVIDGridEditor.cpp.

◆ Clear()

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

Definition at line 218 of file KVIDGridEditor.cpp.

◆ Close()

void KVIDGridEditor::Close ( )

Definition at line 202 of file KVIDGridEditor.cpp.

◆ ConstructModulator()

void KVIDGridEditor::ConstructModulator ( )
protected

Definition at line 420 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 355 of file KVIDGridEditor.cpp.

◆ DeleteObject()

void KVIDGridEditor::DeleteObject ( KVIDentifier obj)
protected

Definition at line 1968 of file KVIDGridEditor.cpp.

◆ DispatchOrder()

void KVIDGridEditor::DispatchOrder ( TPaveLabel label)
protected

Definition at line 1320 of file KVIDGridEditor.cpp.

◆ DrawAtt()

void KVIDGridEditor::DrawAtt ( Bool_t  piv)
protected

Definition at line 823 of file KVIDGridEditor.cpp.

◆ DynamicZoom()

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

Zoom in or out of histogram with mouse wheel.

Definition at line 2141 of file KVIDGridEditor.cpp.

◆ FindInCanvases()

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

Definition at line 802 of file KVIDGridEditor.cpp.

◆ FindZALines()

void KVIDGridEditor::FindZALines ( )

Definition at line 2921 of file KVIDGridEditor.cpp.

◆ FitGrid()

void KVIDGridEditor::FitGrid ( )
protected

Definition at line 1804 of file KVIDGridEditor.cpp.

◆ ForceUpdate()

void KVIDGridEditor::ForceUpdate ( )

Definition at line 2428 of file KVIDGridEditor.cpp.

◆ GetEditorCanvas()

TCanvas* KVIDGridEditor::GetEditorCanvas ( )
inline

Definition at line 246 of file KVIDGridEditor.h.

◆ GetGrid()

KVIDGraph* KVIDGridEditor::GetGrid ( )
inline

Definition at line 237 of file KVIDGridEditor.h.

◆ GetHisto()

TH2* KVIDGridEditor::GetHisto ( )
inline

Definition at line 241 of file KVIDGridEditor.h.

◆ GetPdx()

Double_t KVIDGridEditor::GetPdx ( )
protected

Definition at line 1627 of file KVIDGridEditor.cpp.

◆ GetPdy()

Double_t KVIDGridEditor::GetPdy ( )
protected

Definition at line 1637 of file KVIDGridEditor.cpp.

◆ GetPointSize()

double KVIDGridEditor::GetPointSize ( )
inline

Definition at line 228 of file KVIDGridEditor.h.

◆ GetPointStyle()

int KVIDGridEditor::GetPointStyle ( )
inline

Definition at line 223 of file KVIDGridEditor.h.

◆ GetSpiderFactor()

Double_t KVIDGridEditor::GetSpiderFactor ( )
inline

Definition at line 274 of file KVIDGridEditor.h.

◆ GetSpiderZp()

Int_t KVIDGridEditor::GetSpiderZp ( )
inline

Definition at line 270 of file KVIDGridEditor.h.

◆ GetX0()

Double_t KVIDGridEditor::GetX0 ( )
protected

Definition at line 1608 of file KVIDGridEditor.cpp.

◆ GetY0()

Double_t KVIDGridEditor::GetY0 ( )
protected

Definition at line 1617 of file KVIDGridEditor.cpp.

◆ HandleKey()

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

Handle keys.

Definition at line 2452 of file KVIDGridEditor.cpp.

◆ init()

void KVIDGridEditor::init ( void  )
protected

Definition at line 372 of file KVIDGridEditor.cpp.

◆ IsClosed()

Bool_t KVIDGridEditor::IsClosed ( )

Definition at line 193 of file KVIDGridEditor.cpp.

◆ ListOfHistogramInMemory()

TString KVIDGridEditor::ListOfHistogramInMemory ( )
protected

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 559 of file KVIDGridEditor.cpp.

◆ MakeScaleX()

void KVIDGridEditor::MakeScaleX ( Double_t  scaleFactor)

Definition at line 2222 of file KVIDGridEditor.cpp.

◆ MakeScaleY()

void KVIDGridEditor::MakeScaleY ( Double_t  scaleFactor)

Definition at line 2246 of file KVIDGridEditor.cpp.

◆ MakeTransformation()

void KVIDGridEditor::MakeTransformation ( )

Definition at line 1044 of file KVIDGridEditor.cpp.

◆ MoveHor()

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

Definition at line 2803 of file KVIDGridEditor.cpp.

◆ MoveVert()

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

Definition at line 2847 of file KVIDGridEditor.cpp.

◆ NewCut()

void KVIDGridEditor::NewCut ( )
protected

Definition at line 1489 of file KVIDGridEditor.cpp.

◆ NewInfo()

void KVIDGridEditor::NewInfo ( )
protected

Definition at line 1549 of file KVIDGridEditor.cpp.

◆ NewLine()

void KVIDGridEditor::NewLine ( )
protected

Definition at line 1450 of file KVIDGridEditor.cpp.

◆ OpenRootFile()

void KVIDGridEditor::OpenRootFile ( )
protected

Definition at line 1915 of file KVIDGridEditor.cpp.

◆ PreselectHistogram()

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

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

Definition at line 657 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 3006 of file KVIDGridEditor.cpp.

◆ RecurseFileStructureFindHistos()

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

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

Definition at line 530 of file KVIDGridEditor.cpp.

◆ ResetColor() [1/2]

void KVIDGridEditor::ResetColor ( KVIDentifier Ident)
protected

Definition at line 2393 of file KVIDGridEditor.cpp.

◆ ResetColor() [2/2]

void KVIDGridEditor::ResetColor ( KVList IdentList)
protected

Definition at line 2415 of file KVIDGridEditor.cpp.

◆ ResetScalingRecap()

void KVIDGridEditor::ResetScalingRecap ( )
inline

Definition at line 288 of file KVIDGridEditor.h.

◆ RotateZ()

void KVIDGridEditor::RotateZ ( Int_t  Sign)
protected

Definition at line 2194 of file KVIDGridEditor.cpp.

◆ SaveCurrentGrid()

void KVIDGridEditor::SaveCurrentGrid ( )

Definition at line 1884 of file KVIDGridEditor.cpp.

◆ ScaleCurvature()

void KVIDGridEditor::ScaleCurvature ( Int_t  Sign)
protected

Definition at line 2350 of file KVIDGridEditor.cpp.

◆ ScaleX()

void KVIDGridEditor::ScaleX ( Int_t  Sign)
protected

Definition at line 2270 of file KVIDGridEditor.cpp.

◆ ScaleXY()

void KVIDGridEditor::ScaleXY ( Int_t  Sign)
protected

Definition at line 2318 of file KVIDGridEditor.cpp.

◆ ScaleY()

void KVIDGridEditor::ScaleY ( Int_t  Sign)
protected

Definition at line 2294 of file KVIDGridEditor.cpp.

◆ SelectLabel()

void KVIDGridEditor::SelectLabel ( )

Definition at line 946 of file KVIDGridEditor.cpp.

◆ SelectLines()

void KVIDGridEditor::SelectLines ( const Char_t label)
protected

Definition at line 1408 of file KVIDGridEditor.cpp.

◆ SelectLinesByZ()

void KVIDGridEditor::SelectLinesByZ ( const Char_t ListOfZ)

Definition at line 1856 of file KVIDGridEditor.cpp.

◆ SelectTrans()

void KVIDGridEditor::SelectTrans ( TPaveLabel label)
protected

Definition at line 2879 of file KVIDGridEditor.cpp.

◆ SetDebug()

void KVIDGridEditor::SetDebug ( Bool_t  debug)
inline

Definition at line 259 of file KVIDGridEditor.h.

◆ SetDefault()

void KVIDGridEditor::SetDefault ( )
protected

Definition at line 153 of file KVIDGridEditor.cpp.

◆ SetEditable()

void KVIDGridEditor::SetEditable ( TPaveLabel label)
protected

Definition at line 1390 of file KVIDGridEditor.cpp.

◆ SetGrid() [1/2]

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

Definition at line 848 of file KVIDGridEditor.cpp.

◆ SetGrid() [2/2]

void KVIDGridEditor::SetGrid ( TString  GridName)

Definition at line 878 of file KVIDGridEditor.cpp.

◆ SetHisto()

void KVIDGridEditor::SetHisto ( TH2 hh)

Definition at line 692 of file KVIDGridEditor.cpp.

◆ SetLogx()

void KVIDGridEditor::SetLogx ( )
protected

Definition at line 2029 of file KVIDGridEditor.cpp.

◆ SetLogy()

void KVIDGridEditor::SetLogy ( )
protected

Definition at line 2019 of file KVIDGridEditor.cpp.

◆ SetLogz()

void KVIDGridEditor::SetLogz ( )
protected

Definition at line 2009 of file KVIDGridEditor.cpp.

◆ SetPiedestal()

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

piedestal used during SpiderIdentification

Definition at line 929 of file KVIDGridEditor.cpp.

◆ SetPivot()

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

Definition at line 911 of file KVIDGridEditor.cpp.

◆ SetPointSize()

void KVIDGridEditor::SetPointSize ( double  psize)

Definition at line 2908 of file KVIDGridEditor.cpp.

◆ SetPointStyle()

void KVIDGridEditor::SetPointStyle ( int  pstyle)

Definition at line 2895 of file KVIDGridEditor.cpp.

◆ SetSelectedColor()

void KVIDGridEditor::SetSelectedColor ( Int_t  color)
inline

Definition at line 254 of file KVIDGridEditor.h.

◆ SetSpiderOption()

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

Definition at line 279 of file KVIDGridEditor.h.

◆ SetSVGMode()

void KVIDGridEditor::SetSVGMode ( )
inline

Definition at line 263 of file KVIDGridEditor.h.

◆ SpiderIdentification()

void KVIDGridEditor::SpiderIdentification ( )

Definition at line 1647 of file KVIDGridEditor.cpp.

◆ StartViewer()

void KVIDGridEditor::StartViewer ( )

Close();.

Definition at line 115 of file KVIDGridEditor.cpp.

◆ SuggestMoreAction()

void KVIDGridEditor::SuggestMoreAction ( )
protected

Definition at line 1823 of file KVIDGridEditor.cpp.

◆ TestGrid()

void KVIDGridEditor::TestGrid ( )
protected

Definition at line 1790 of file KVIDGridEditor.cpp.

◆ TranslateX()

void KVIDGridEditor::TranslateX ( Int_t  Sign)
protected

Definition at line 2098 of file KVIDGridEditor.cpp.

◆ TranslateY()

void KVIDGridEditor::TranslateY ( Int_t  Sign)
protected

Definition at line 2119 of file KVIDGridEditor.cpp.

◆ Undo()

void KVIDGridEditor::Undo ( )
protected

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 2054 of file KVIDGridEditor.cpp.

◆ Unzoom()

void KVIDGridEditor::Unzoom ( )
protected

Definition at line 2039 of file KVIDGridEditor.cpp.

◆ UpdateViewer()

void KVIDGridEditor::UpdateViewer ( )
protected

Definition at line 275 of file KVIDGridEditor.cpp.

◆ WhoIsSelected()

const char * KVIDGridEditor::WhoIsSelected ( )
protected

Definition at line 2084 of file KVIDGridEditor.cpp.

◆ ZoomOnMouse()

void KVIDGridEditor::ZoomOnMouse ( )
protected

Definition at line 2869 of file KVIDGridEditor.cpp.

◆ ZoomSelected()

void KVIDGridEditor::ZoomSelected ( )
protected

Definition at line 1291 of file KVIDGridEditor.cpp.

Friends And Related Function Documentation

◆ KVIDGridEditorCanvas

friend class KVIDGridEditorCanvas
friend

friend class KeyHandler;

Definition at line 59 of file KVIDGridEditor.h.

Member Data Documentation

◆ aoemode

Bool_t KVIDGridEditor::aoemode
protected

true si mode age of empire

Definition at line 115 of file KVIDGridEditor.h.

◆ dlmode

Bool_t KVIDGridEditor::dlmode
protected

true si mode delete

Definition at line 113 of file KVIDGridEditor.h.

◆ drawmode

Bool_t KVIDGridEditor::drawmode
protected

true si mode draw (line, cut)

Definition at line 114 of file KVIDGridEditor.h.

◆ fAutoZoomMode

Bool_t KVIDGridEditor::fAutoZoomMode
protected

Definition at line 129 of file KVIDGridEditor.h.

◆ fAx

Double_t KVIDGridEditor::fAx
protected

Definition at line 110 of file KVIDGridEditor.h.

◆ fAy

Double_t KVIDGridEditor::fAy
protected

Definition at line 110 of file KVIDGridEditor.h.

◆ fBlackMode

Bool_t KVIDGridEditor::fBlackMode
protected

Definition at line 73 of file KVIDGridEditor.h.

◆ fBx

Double_t KVIDGridEditor::fBx
protected

Definition at line 110 of file KVIDGridEditor.h.

◆ fBy

Double_t KVIDGridEditor::fBy
protected

scaling recap for current grid

Definition at line 110 of file KVIDGridEditor.h.

◆ fCanvas

KVIDGridEditorCanvas* KVIDGridEditor::fCanvas
protected

Definition at line 78 of file KVIDGridEditor.h.

◆ fDebug

Bool_t KVIDGridEditor::fDebug
protected

Definition at line 71 of file KVIDGridEditor.h.

◆ fDefaultMethod

KVString KVIDGridEditor::fDefaultMethod
protected

Definition at line 83 of file KVIDGridEditor.h.

◆ fJoelMode

Bool_t KVIDGridEditor::fJoelMode
protected

Definition at line 74 of file KVIDGridEditor.h.

◆ fKeyShow

TPaveText* KVIDGridEditor::fKeyShow
protected

Definition at line 76 of file KVIDGridEditor.h.

◆ fListOfMethods

KVString KVIDGridEditor::fListOfMethods
protected

Definition at line 82 of file KVIDGridEditor.h.

◆ fPad

TVirtualPad* KVIDGridEditor::fPad
protected

Definition at line 79 of file KVIDGridEditor.h.

◆ fPiedestal

TGraph* KVIDGridEditor::fPiedestal
protected

Definition at line 81 of file KVIDGridEditor.h.

◆ fPivot

TGraph* KVIDGridEditor::fPivot
protected

Definition at line 80 of file KVIDGridEditor.h.

◆ fPointSize

Double_t KVIDGridEditor::fPointSize
protected

Definition at line 132 of file KVIDGridEditor.h.

◆ fPointStyle

Int_t KVIDGridEditor::fPointStyle
protected

Definition at line 131 of file KVIDGridEditor.h.

◆ frx

TF2* KVIDGridEditor::frx
protected

rotation

Definition at line 107 of file KVIDGridEditor.h.

◆ fry

TF2* KVIDGridEditor::fry
protected

rotation

Definition at line 108 of file KVIDGridEditor.h.

◆ fs

TF1* KVIDGridEditor::fs
protected

scaling

Definition at line 105 of file KVIDGridEditor.h.

◆ fSpiderFactor

Double_t KVIDGridEditor::fSpiderFactor
protected

Definition at line 126 of file KVIDGridEditor.h.

◆ fSpiderOption

TString KVIDGridEditor::fSpiderOption
protected

Definition at line 128 of file KVIDGridEditor.h.

◆ fSpiderZp

Int_t KVIDGridEditor::fSpiderZp
protected

Definition at line 127 of file KVIDGridEditor.h.

◆ fSVGIndex

Int_t KVIDGridEditor::fSVGIndex
protected

Definition at line 75 of file KVIDGridEditor.h.

◆ fSVGMode

Bool_t KVIDGridEditor::fSVGMode
protected

Definition at line 72 of file KVIDGridEditor.h.

◆ fsy

TF1* KVIDGridEditor::fsy
protected

scaling

Definition at line 106 of file KVIDGridEditor.h.

◆ ft

TF1* KVIDGridEditor::ft
protected

translation

Definition at line 104 of file KVIDGridEditor.h.

◆ iact

Int_t KVIDGridEditor::iact
protected

Definition at line 102 of file KVIDGridEditor.h.

◆ imod

Int_t KVIDGridEditor::imod
protected

utilise pour le placement des boutons

Definition at line 102 of file KVIDGridEditor.h.

◆ iopt

Int_t KVIDGridEditor::iopt
protected

Definition at line 102 of file KVIDGridEditor.h.

◆ is_col

Bool_t KVIDGridEditor::is_col
protected

Definition at line 120 of file KVIDGridEditor.h.

◆ itrans

Int_t KVIDGridEditor::itrans
protected

Definition at line 102 of file KVIDGridEditor.h.

◆ ListOfLines

KVList* KVIDGridEditor::ListOfLines
protected

liste des lignes selectionnees

Definition at line 96 of file KVIDGridEditor.h.

◆ lplabel

KVHashList* KVIDGridEditor::lplabel
protected

contient la liste des TPaveLabel pour les transformations (rouge)

Definition at line 85 of file KVIDGridEditor.h.

◆ lplabel2

KVHashList* KVIDGridEditor::lplabel2
protected

contient la liste des TPaveLabel pour les actions (rouge)

Definition at line 86 of file KVIDGridEditor.h.

◆ lplabel3

KVHashList* KVIDGridEditor::lplabel3
protected

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

Definition at line 87 of file KVIDGridEditor.h.

◆ lplabel4

KVHashList* KVIDGridEditor::lplabel4
protected

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

Definition at line 88 of file KVIDGridEditor.h.

◆ lplabel5

KVHashList* KVIDGridEditor::lplabel5
protected

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

Definition at line 89 of file KVIDGridEditor.h.

◆ modulator

TPaveLabel* KVIDGridEditor::modulator
protected

Definition at line 91 of file KVIDGridEditor.h.

◆ moved

Bool_t KVIDGridEditor::moved
protected

utilise pour les differents zooms

Definition at line 124 of file KVIDGridEditor.h.

◆ oldx

Double_t KVIDGridEditor::oldx
protected

Definition at line 123 of file KVIDGridEditor.h.

◆ oldy

Double_t KVIDGridEditor::oldy
protected

utilises pour les differents zooms

Definition at line 123 of file KVIDGridEditor.h.

◆ ownhisto

Bool_t KVIDGridEditor::ownhisto
protected

true si histo par defaut

Definition at line 112 of file KVIDGridEditor.h.

◆ ready

Bool_t KVIDGridEditor::ready
protected

Definition at line 118 of file KVIDGridEditor.h.

◆ SelectedColor

Int_t KVIDGridEditor::SelectedColor
protected

couleur des lignes selectionnees

Definition at line 98 of file KVIDGridEditor.h.

◆ selectmode

Bool_t KVIDGridEditor::selectmode
protected

true si mode vener

Definition at line 116 of file KVIDGridEditor.h.

◆ TheGrid

KVIDGraph* KVIDGridEditor::TheGrid
protected

pointeur sur la grille courante

Definition at line 95 of file KVIDGridEditor.h.

◆ TheHisto

TH2* KVIDGridEditor::TheHisto
protected

pointeur sur l'histogramme

Definition at line 93 of file KVIDGridEditor.h.

◆ TheHistoChoice

TH2* KVIDGridEditor::TheHistoChoice
protected

Definition at line 94 of file KVIDGridEditor.h.

◆ venermode

Bool_t KVIDGridEditor::venermode
protected

true si mode select

Definition at line 117 of file KVIDGridEditor.h.

◆ x0

Double_t KVIDGridEditor::x0
protected

coordonne x du pivot

Definition at line 100 of file KVIDGridEditor.h.

◆ xmax

Double_t KVIDGridEditor::xmax
protected

Definition at line 122 of file KVIDGridEditor.h.

◆ xmin

Double_t KVIDGridEditor::xmin
protected

Definition at line 122 of file KVIDGridEditor.h.

◆ y0

Double_t KVIDGridEditor::y0
protected

coordonne y du pivot

Definition at line 101 of file KVIDGridEditor.h.

◆ ymax

Double_t KVIDGridEditor::ymax
protected

utilises pour les differents zooms

Definition at line 122 of file KVIDGridEditor.h.

◆ ymin

Double_t KVIDGridEditor::ymin
protected

Definition at line 122 of file KVIDGridEditor.h.


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