KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KVSpiderIdentificator Class Reference

Semi-automatic identification grid generator.

See http://indra.in2p3.fr/kaliveda/images/JourneeAnalyse0112_1.pdf (in French)

Definition at line 27 of file KVSpiderIdentificator.h.

Public Types

enum  MatrixType { kSiCsI , kSiSi , kChIoSi , kOther }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 

Public Member Functions

 KVSpiderIdentificator ()
 
 KVSpiderIdentificator (TH2F *h_, Double_t Xm=-1, Double_t Ym=-1, Double_t pdx=-1, Double_t pdy=-1, Int_t type=kSiCsI)
 
virtual ~KVSpiderIdentificator ()
 
void CalculateTheta ()
 
void Clear (Option_t *option="")
 
void Close ()
 
TH2FCreateHistogram (double th_, double alpha_=-1.)
 
TListCreateHistograms (double thmin_, double thmax_, int nth_, bool cos_=true, double alpha_=-1.)
 
void Draw (Option_t *opt_="")
 
KVSpiderLineGetLine (int z_)
 
bool GetLines (int npoints_=1, double alpha_=1.)
 
TListGetListOfLines ()
 
TH1FGetProjection (TH2F *h_, KVDroite *d_, int rebin_=10)
 
double GetTheta0 ()
 
double GetX0 ()
 
double GetXm ()
 
double GetY0 ()
 
double GetYm ()
 
void Increment (Float_t x)
 
void Init (TH2F *h_=0, Double_t Xm=-1, Double_t Ym=-1, Double_t X0=-1, Double_t Y0=-1)
 
bool ProcessIdentification ()
 
void SaveAsPdf (Option_t *opt_="", const Char_t *path_=".")
 
bool SearchPeack (TH1F *h1_, double theta_, int create_, double sigma_=2., double peakmin_=1., int rebin_=10, int smooth_=5, TString opt_="goff")
 
void SetAlpha (double aa_)
 
void SetHistogram (TH2F *h_=0, Double_t Xm=-1, Double_t Ym=-1)
 
void SetMode (bool sicsi_=true)
 
void SetNangles (Int_t up, Int_t down)
 
void SetParameters (double bining_=1.)
 
void SetX0 (double x0_)
 
void SetXm (double xm_)
 
void SetY0 (double y0_)
 
void SetYm (double ym_)
 
void UseFit (bool fit)
 
- 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 Copy (TObject &named) 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 Print (Option_t *option="") const
 
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 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

bool CheckPath (const Char_t *path_)
 
void SetDefault ()
 
bool TestHistogram (TH1 *h_=0)
 
- 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

TRandom _alea
 
double _alpha
 
bool _auto
 
double _bfactor
 
bool _debug
 
TList _dlist
 
KVDroite_dtemp
 
double _ftheta
 
TH1F_hfound
 
TList _hlist
 
TH2F_htemp
 
TH2F_htot
 
TH1F_hvalid
 
TGraph_invalid
 
bool _is_initialized
 
TList _llist
 
int _nAngleDown
 
int _nAngleUp
 
double _otheta
 
TList _plist
 
bool _sicsi
 
KVSpiderLine_spline
 
TSpectrum _ss
 
bool _useFit
 
double _x0
 
double _xm
 
double _xmax
 
double _y0
 
double _ym
 
double _ymax
 
Int_t fType
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- 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 <KVSpiderIdentificator.h>

Inheritance diagram for KVSpiderIdentificator:
Inheritance graph
[legend]

Member Enumeration Documentation

◆ MatrixType

Enumerator
kSiCsI 
kSiSi 
kChIoSi 
kOther 

Definition at line 73 of file KVSpiderIdentificator.h.

Constructor & Destructor Documentation

◆ KVSpiderIdentificator() [1/2]

KVSpiderIdentificator::KVSpiderIdentificator ( )

Definition at line 17 of file KVSpiderIdentificator.cpp.

◆ KVSpiderIdentificator() [2/2]

KVSpiderIdentificator::KVSpiderIdentificator ( TH2F h_,
Double_t  Xm = -1,
Double_t  Ym = -1,
Double_t  pdx = -1,
Double_t  pdy = -1,
Int_t  type = kSiCsI 
)

Definition at line 27 of file KVSpiderIdentificator.cpp.

◆ ~KVSpiderIdentificator()

KVSpiderIdentificator::~KVSpiderIdentificator ( )
virtual

Definition at line 40 of file KVSpiderIdentificator.cpp.

Member Function Documentation

◆ CalculateTheta()

void KVSpiderIdentificator::CalculateTheta ( )

Definition at line 173 of file KVSpiderIdentificator.cpp.

◆ CheckPath()

bool KVSpiderIdentificator::CheckPath ( const Char_t path_)
protected

Definition at line 184 of file KVSpiderIdentificator.cpp.

◆ Clear()

void KVSpiderIdentificator::Clear ( Option_t option = "")
virtual

Reimplemented from TNamed.

Definition at line 80 of file KVSpiderIdentificator.cpp.

◆ Close()

void KVSpiderIdentificator::Close ( )

Definition at line 68 of file KVSpiderIdentificator.cpp.

◆ CreateHistogram()

TH2F * KVSpiderIdentificator::CreateHistogram ( double  th_,
double  alpha_ = -1. 
)

Definition at line 277 of file KVSpiderIdentificator.cpp.

◆ CreateHistograms()

TList * KVSpiderIdentificator::CreateHistograms ( double  thmin_,
double  thmax_,
int  nth_,
bool  cos_ = true,
double  alpha_ = -1. 
)

Definition at line 289 of file KVSpiderIdentificator.cpp.

◆ Draw()

void KVSpiderIdentificator::Draw ( Option_t opt_ = "")
virtual

Reimplemented from TObject.

Definition at line 741 of file KVSpiderIdentificator.cpp.

◆ GetLine()

KVSpiderLine * KVSpiderIdentificator::GetLine ( int  z_)

Definition at line 829 of file KVSpiderIdentificator.cpp.

◆ GetLines()

bool KVSpiderIdentificator::GetLines ( int  npoints_ = 1,
double  alpha_ = 1. 
)

Definition at line 705 of file KVSpiderIdentificator.cpp.

◆ GetListOfLines()

TList * KVSpiderIdentificator::GetListOfLines ( )

Definition at line 819 of file KVSpiderIdentificator.cpp.

◆ GetProjection()

TH1F * KVSpiderIdentificator::GetProjection ( TH2F h_,
KVDroite d_,
int  rebin_ = 10 
)

Definition at line 196 of file KVSpiderIdentificator.cpp.

◆ GetTheta0()

double KVSpiderIdentificator::GetTheta0 ( )
inline

Definition at line 151 of file KVSpiderIdentificator.h.

◆ GetX0()

double KVSpiderIdentificator::GetX0 ( )
inline

Definition at line 135 of file KVSpiderIdentificator.h.

◆ GetXm()

double KVSpiderIdentificator::GetXm ( )
inline

Definition at line 143 of file KVSpiderIdentificator.h.

◆ GetY0()

double KVSpiderIdentificator::GetY0 ( )
inline

Definition at line 139 of file KVSpiderIdentificator.h.

◆ GetYm()

double KVSpiderIdentificator::GetYm ( )
inline

Definition at line 147 of file KVSpiderIdentificator.h.

◆ Increment()

void KVSpiderIdentificator::Increment ( Float_t  x)
inline

Used by SpiderIdentification and KVSpIdGUI to send signals to TGHProgressBar about the progress of the identification

Definition at line 162 of file KVSpiderIdentificator.h.

◆ Init()

void KVSpiderIdentificator::Init ( TH2F h_ = 0,
Double_t  Xm = -1,
Double_t  Ym = -1,
Double_t  X0 = -1,
Double_t  Y0 = -1 
)

Definition at line 106 of file KVSpiderIdentificator.cpp.

◆ ProcessIdentification()

bool KVSpiderIdentificator::ProcessIdentification ( )

Definition at line 595 of file KVSpiderIdentificator.cpp.

◆ SaveAsPdf()

void KVSpiderIdentificator::SaveAsPdf ( Option_t opt_ = "",
const Char_t path_ = "." 
)

Definition at line 800 of file KVSpiderIdentificator.cpp.

◆ SearchPeack()

bool KVSpiderIdentificator::SearchPeack ( TH1F h1_,
double  theta_,
int  create_,
double  sigma_ = 2.,
double  peakmin_ = 1.,
int  rebin_ = 10,
int  smooth_ = 5,
TString  opt_ = "goff" 
)

Definition at line 386 of file KVSpiderIdentificator.cpp.

◆ SetAlpha()

void KVSpiderIdentificator::SetAlpha ( double  aa_)
inline

Definition at line 126 of file KVSpiderIdentificator.h.

◆ SetDefault()

void KVSpiderIdentificator::SetDefault ( )
protected

Definition at line 50 of file KVSpiderIdentificator.cpp.

◆ SetHistogram()

void KVSpiderIdentificator::SetHistogram ( TH2F h_ = 0,
Double_t  Xm = -1,
Double_t  Ym = -1 
)

Definition at line 248 of file KVSpiderIdentificator.cpp.

◆ SetMode()

void KVSpiderIdentificator::SetMode ( bool  sicsi_ = true)
inline

Definition at line 88 of file KVSpiderIdentificator.h.

◆ SetNangles()

void KVSpiderIdentificator::SetNangles ( Int_t  up,
Int_t  down 
)
inline

Definition at line 156 of file KVSpiderIdentificator.h.

◆ SetParameters()

void KVSpiderIdentificator::SetParameters ( double  bining_ = 1.)

Definition at line 96 of file KVSpiderIdentificator.cpp.

◆ SetX0()

void KVSpiderIdentificator::SetX0 ( double  x0_)
inline

Definition at line 110 of file KVSpiderIdentificator.h.

◆ SetXm()

void KVSpiderIdentificator::SetXm ( double  xm_)
inline

Definition at line 118 of file KVSpiderIdentificator.h.

◆ SetY0()

void KVSpiderIdentificator::SetY0 ( double  y0_)
inline

Definition at line 114 of file KVSpiderIdentificator.h.

◆ SetYm()

void KVSpiderIdentificator::SetYm ( double  ym_)
inline

Definition at line 122 of file KVSpiderIdentificator.h.

◆ TestHistogram()

bool KVSpiderIdentificator::TestHistogram ( TH1 h_ = 0)
protected

Definition at line 259 of file KVSpiderIdentificator.cpp.

◆ UseFit()

void KVSpiderIdentificator::UseFit ( bool  fit)
inline

Definition at line 130 of file KVSpiderIdentificator.h.

Member Data Documentation

◆ _alea

TRandom KVSpiderIdentificator::_alea
protected

Definition at line 56 of file KVSpiderIdentificator.h.

◆ _alpha

double KVSpiderIdentificator::_alpha
protected

Definition at line 46 of file KVSpiderIdentificator.h.

◆ _auto

bool KVSpiderIdentificator::_auto
protected

Definition at line 33 of file KVSpiderIdentificator.h.

◆ _bfactor

double KVSpiderIdentificator::_bfactor
protected

Definition at line 37 of file KVSpiderIdentificator.h.

◆ _debug

bool KVSpiderIdentificator::_debug
protected

Definition at line 32 of file KVSpiderIdentificator.h.

◆ _dlist

TList KVSpiderIdentificator::_dlist
protected

Definition at line 52 of file KVSpiderIdentificator.h.

◆ _dtemp

KVDroite* KVSpiderIdentificator::_dtemp
protected

Definition at line 61 of file KVSpiderIdentificator.h.

◆ _ftheta

double KVSpiderIdentificator::_ftheta
protected

Definition at line 38 of file KVSpiderIdentificator.h.

◆ _hfound

TH1F* KVSpiderIdentificator::_hfound
protected

Definition at line 66 of file KVSpiderIdentificator.h.

◆ _hlist

TList KVSpiderIdentificator::_hlist
protected

Definition at line 53 of file KVSpiderIdentificator.h.

◆ _htemp

TH2F* KVSpiderIdentificator::_htemp
protected

Definition at line 68 of file KVSpiderIdentificator.h.

◆ _htot

TH2F* KVSpiderIdentificator::_htot
protected

Definition at line 65 of file KVSpiderIdentificator.h.

◆ _hvalid

TH1F* KVSpiderIdentificator::_hvalid
protected

Definition at line 67 of file KVSpiderIdentificator.h.

◆ _invalid

TGraph* KVSpiderIdentificator::_invalid
protected

Definition at line 60 of file KVSpiderIdentificator.h.

◆ _is_initialized

bool KVSpiderIdentificator::_is_initialized
protected

Definition at line 31 of file KVSpiderIdentificator.h.

◆ _llist

TList KVSpiderIdentificator::_llist
protected

Definition at line 51 of file KVSpiderIdentificator.h.

◆ _nAngleDown

int KVSpiderIdentificator::_nAngleDown
protected

Definition at line 49 of file KVSpiderIdentificator.h.

◆ _nAngleUp

int KVSpiderIdentificator::_nAngleUp
protected

Definition at line 48 of file KVSpiderIdentificator.h.

◆ _otheta

double KVSpiderIdentificator::_otheta
protected

Definition at line 39 of file KVSpiderIdentificator.h.

◆ _plist

TList KVSpiderIdentificator::_plist
protected

Definition at line 54 of file KVSpiderIdentificator.h.

◆ _sicsi

bool KVSpiderIdentificator::_sicsi
protected

Definition at line 34 of file KVSpiderIdentificator.h.

◆ _spline

KVSpiderLine* KVSpiderIdentificator::_spline
protected

Definition at line 59 of file KVSpiderIdentificator.h.

◆ _ss

TSpectrum KVSpiderIdentificator::_ss
protected

Definition at line 57 of file KVSpiderIdentificator.h.

◆ _useFit

bool KVSpiderIdentificator::_useFit
protected

Definition at line 35 of file KVSpiderIdentificator.h.

◆ _x0

double KVSpiderIdentificator::_x0
protected

Definition at line 40 of file KVSpiderIdentificator.h.

◆ _xm

double KVSpiderIdentificator::_xm
protected

Definition at line 42 of file KVSpiderIdentificator.h.

◆ _xmax

double KVSpiderIdentificator::_xmax
protected

Definition at line 44 of file KVSpiderIdentificator.h.

◆ _y0

double KVSpiderIdentificator::_y0
protected

Definition at line 41 of file KVSpiderIdentificator.h.

◆ _ym

double KVSpiderIdentificator::_ym
protected

Definition at line 43 of file KVSpiderIdentificator.h.

◆ _ymax

double KVSpiderIdentificator::_ymax
protected

Definition at line 45 of file KVSpiderIdentificator.h.

◆ fType

Int_t KVSpiderIdentificator::fType
protected

Definition at line 63 of file KVSpiderIdentificator.h.


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