ant
A2 ant: class-based analysis framework
ant::TH2TAPS Class Reference

#include <TH2TAPS.h>

+ Inheritance diagram for ant::TH2TAPS:
+ Collaboration diagram for ant::TH2TAPS:

Public Member Functions

 TH2TAPS (const std::string &name="", const std::string &title="")
 
virtual ~TH2TAPS ()
 
virtual void FillElements (const TH2TAPS &h)
 
virtual void SetElements (const TH2TAPS &h)
 
- Public Member Functions inherited from ant::TH2Crystals
 TH2Crystals (const std::string &name="", const std::string &title="")
 Base Constructior. Sets name and title, and links the object into the current ROOT directory (fix for a Bug in TH2Poly) More...
 
virtual ~TH2Crystals ()
 
virtual Double_t GetElement (const UInt_t element) const
 
virtual void SetElement (const UInt_t element, Double_t value)
 
virtual void FillBinNumbers ()
 Fill the number of the TH2Poly bin. Useful for debugging only, I guess. More...
 
virtual void FillElementNumbers ()
 Fill the element numbers. More...
 
virtual void SetElements (const std::vector< Double_t > &pattern)
 Set values of all elements to the ones stored in a std::vector (values ordered by element number) More...
 
virtual void SetElements (const TH1 &h)
 Set values of all elements to the ones stored in a TH1 (values ordered by element number) More...
 
virtual void FillElement (const UInt_t element, const Double_t w)
 
virtual void FillElements (const std::vector< Double_t > &pattern)
 
virtual void FillElements (const TH1 &h)
 
virtual Int_t GetNumberOfElements () const
 Get the number of elements Usually this is the number of bins in the TH2Poly, but not always. More...
 
virtual void ResetElements (const Double_t value=0.0)
 Reset Elements (clear everything) More...
 
virtual void CreateMarker (UInt_t element)
 CreateMarker creates marker at given element. More...
 
virtual void CreateMarker (const TVector2 &p, const int marker_style_black, const int marker_style_white)
 CreateMarker black and white markers at position p with two (different) styles. More...
 
virtual void ClearMarkers ()
 ClearMarkers removes all markers created by CreateMarker. More...
 

Protected Member Functions

void DrawShape (TH2DrawTool &c, bool isBaF2=false)
 
virtual void Build ()
 
- Protected Member Functions inherited from ant::TH2Crystals
virtual void FillElements (const TH2Crystals &h)
 Add the content of another TH2Crystal object, if number of bins match. More...
 
virtual void SetElements (const TH2Crystals &h)
 Replace all values with the content of another TH2Crystal object, if number of bins match. More...
 
void SetMarkerOnBin (Int_t bin)
 
void calcCOG (TGraph *g, double &x, double &y) const
 calcCOG calculates center of gravity More...
 

Additional Inherited Members

- Protected Attributes inherited from ant::TH2Crystals
bool draw_glue_pads = false
 

Constructor & Destructor Documentation

◆ TH2TAPS()

TH2TAPS::TH2TAPS ( const std::string &  name = "",
const std::string &  title = "" 
)

◆ ~TH2TAPS()

virtual ant::TH2TAPS::~TH2TAPS ( )
inlinevirtual

Member Function Documentation

◆ Build()

void TH2TAPS::Build ( )
protectedvirtual

◆ DrawShape()

void TH2TAPS::DrawShape ( TH2DrawTool c,
bool  isBaF2 = false 
)
protected

◆ FillElements()

void TH2TAPS::FillElements ( const TH2TAPS h)
virtual

◆ SetElements()

void TH2TAPS::SetElements ( const TH2TAPS h)
virtual

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