GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TCalPoint Class Reference

Definition at line 11 of file TCalPoint.h.

Public Member Functions

 TCalPoint ()
 
 TCalPoint (const Double_t &centroid, const Double_t &area, const Double_t &dcentroid=0.0, const Double_t &darea=0.0)
 
 TCalPoint (const TPeak &peak)
 
 TCalPoint (const TCalPoint &copy)
 
 ~TCalPoint () override
 
Double_t Area () const
 
Double_t AreaErr () const
 
Double_t Centroid () const
 
Double_t CentroidErr () const
 
void Clear (Option_t *opt="") override
 
void Copy (TObject &obj) const override
 
void Print (Option_t *opt="") const override
 
void SetArea (const Double_t &area, const Double_t &darea=0.0)
 
void SetCentroid (const Double_t &centroid, const Double_t &dcentroid=0.0)
 
void SetPoint (const Double_t &centroid, const Double_t &area, const Double_t &dcentroid=0.0, const Double_t &darea=0.0)
 
void SetPoint (const TPeak *peak)
 

Private Attributes

Double_t fArea {0.}
 
Double_t fAreaErr {0.}
 
Double_t fCentroid {0.}
 
Double_t fCentroidErr {0.}
 

#include <TCalPoint.h>

+ Inheritance diagram for TCalPoint:
+ Collaboration diagram for TCalPoint:

Constructor & Destructor Documentation

◆ TCalPoint() [1/4]

TCalPoint::TCalPoint ( )

Definition at line 9 of file TCalPoint.cxx.

◆ TCalPoint() [2/4]

TCalPoint::TCalPoint ( const Double_t &  centroid,
const Double_t &  area,
const Double_t &  dcentroid = 0.0,
const Double_t &  darea = 0.0 
)

Definition at line 14 of file TCalPoint.cxx.

References SetArea(), and SetCentroid().

◆ TCalPoint() [3/4]

TCalPoint::TCalPoint ( const TPeak peak)

Definition at line 20 of file TCalPoint.cxx.

References SetPoint().

◆ ~TCalPoint()

TCalPoint::~TCalPoint ( )
overridedefault

◆ TCalPoint() [4/4]

TCalPoint::TCalPoint ( const TCalPoint copy)

Definition at line 27 of file TCalPoint.cxx.

References Copy().

Member Function Documentation

◆ Area()

Double_t TCalPoint::Area ( ) const
inline

Definition at line 33 of file TCalPoint.h.

References fArea.

Referenced by TCalGraph::AddPoint().

◆ AreaErr()

Double_t TCalPoint::AreaErr ( ) const
inline

Definition at line 35 of file TCalPoint.h.

References fAreaErr.

Referenced by TCalGraph::AddPoint().

◆ Centroid()

Double_t TCalPoint::Centroid ( ) const
inline

Definition at line 32 of file TCalPoint.h.

References fCentroid.

Referenced by TCalList::AddPoint(), and TCalGraph::AddPoint().

◆ CentroidErr()

Double_t TCalPoint::CentroidErr ( ) const
inline

Definition at line 34 of file TCalPoint.h.

References fCentroidErr.

Referenced by TCalGraph::AddPoint().

◆ Clear()

void TCalPoint::Clear ( Option_t *  opt = "")
override

Definition at line 72 of file TCalPoint.cxx.

References fArea, fAreaErr, fCentroid, and fCentroidErr.

◆ Copy()

void TCalPoint::Copy ( TObject &  obj) const
override

Definition at line 32 of file TCalPoint.cxx.

References fArea, fAreaErr, fCentroid, and fCentroidErr.

Referenced by TCalPoint().

◆ Print()

void TCalPoint::Print ( Option_t *  opt = "") const
override

Definition at line 66 of file TCalPoint.cxx.

References fArea, fAreaErr, fCentroid, and fCentroidErr.

◆ SetArea()

void TCalPoint::SetArea ( const Double_t &  area,
const Double_t &  darea = 0.0 
)

Definition at line 60 of file TCalPoint.cxx.

References fArea, and fAreaErr.

Referenced by SetPoint(), and TCalPoint().

◆ SetCentroid()

void TCalPoint::SetCentroid ( const Double_t &  centroid,
const Double_t &  dcentroid = 0.0 
)

Definition at line 54 of file TCalPoint.cxx.

References fCentroid, and fCentroidErr.

Referenced by SetPoint(), and TCalPoint().

◆ SetPoint() [1/2]

void TCalPoint::SetPoint ( const Double_t &  centroid,
const Double_t &  area,
const Double_t &  dcentroid = 0.0,
const Double_t &  darea = 0.0 
)

Definition at line 41 of file TCalPoint.cxx.

References SetArea(), and SetCentroid().

Referenced by TCalPoint().

◆ SetPoint() [2/2]

void TCalPoint::SetPoint ( const TPeak peak)

Member Data Documentation

◆ fArea

Double_t TCalPoint::fArea {0.}
private

Definition at line 40 of file TCalPoint.h.

Referenced by Area(), Clear(), Copy(), Print(), and SetArea().

◆ fAreaErr

Double_t TCalPoint::fAreaErr {0.}
private

Definition at line 41 of file TCalPoint.h.

Referenced by AreaErr(), Clear(), Copy(), Print(), and SetArea().

◆ fCentroid

Double_t TCalPoint::fCentroid {0.}
private

Definition at line 38 of file TCalPoint.h.

Referenced by Centroid(), Clear(), Copy(), Print(), and SetCentroid().

◆ fCentroidErr

Double_t TCalPoint::fCentroidErr {0.}
private

Definition at line 39 of file TCalPoint.h.

Referenced by CentroidErr(), Clear(), Copy(), Print(), and SetCentroid().