|
| | TH2CB (const std::string &name="", const std::string &title="", bool glue_pads=false) |
| |
| virtual | ~TH2CB () |
| |
| virtual void | SetElements (const TH2CB &h) |
| |
| virtual void | FillElements (const TH2CB &h) |
| |
| virtual void | FillCrystalNumbers () |
| | Fill in the crystal numbers. More...
|
| |
| void | FillMMCNumbers () |
| | Fill the Major-Minor-Crystal numbers in. ex: 1/1/1 -> 111 and 14/2/8 -> 1428. More...
|
| |
| void | FillElementNumbers () override |
| | Fill in the element numbers. Crystal numers are mapped to element numbers. More...
|
| |
| void | FillCrystals672 (const std::vector< Double_t > &pattern) |
| | Fill a hit pattern (unmapped), only containing existing crystals. More...
|
| |
| void | FillCrystals720 (const std::vector< Double_t > &pattern) |
| | Fil a hit pattern (unmapped), containing crystals in holes. More...
|
| |
| Double_t | GetCrystal672 (const UInt_t i) const |
| | Get value of a crystal (unmapped), only counting exising crystals (no holes) More...
|
| |
| Double_t | GetCrystal720 (const UInt_t i) const |
| | Get value of a crystal (unmapped), counting also crystals in holes. More...
|
| |
| void | SetCrystal672 (const UInt_t i, Double_t value) |
| | Set the value of a crystal (unmapped), counting only existing crystals (no holes) More...
|
| |
| void | SetCrystal720 (const UInt_t i, Double_t value) |
| | Get value of a crystal (unmapped), counting also crystals in holes. More...
|
| |
| virtual Double_t | GetElement (const UInt_t element) const override |
| | Get value of an element (mapped) More...
|
| |
| virtual void | SetElement (const UInt_t element, Double_t value) override |
| | Set the value of an element (mapped) More...
|
| |
| virtual void | SetElements (const std::vector< Double_t > &pattern) override |
| | Fill a hit pattern (mapped), ordered by element numers. More...
|
| |
| virtual void | SetElements (const TH1 &h) override |
| | Set values of all elements to the ones stored in a TH1 (values ordered by element number) More...
|
| |
| virtual void | FillElements (const TH1 &h) override |
| |
| Int_t | GetNumberOfElements () const override |
| | Get the number of elements Crystal Ball also counts crystal positions that are in the hole regions, so there are element indices that do not have a crystal. More...
|
| |
| virtual void | CreateMarker (UInt_t element) override |
| | CreateMarker creates marker at given element. More...
|
| |
| | 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 void | FillBinNumbers () |
| | Fill the number of the TH2Poly bin. Useful for debugging only, I guess. More...
|
| |
| virtual void | FillElement (const UInt_t element, const Double_t w) |
| |
| virtual void | FillElements (const std::vector< Double_t > &pattern) |
| |
| virtual void | ResetElements (const Double_t value=0.0) |
| | Reset Elements (clear everything) 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...
|
| |
|
| static Int_t | GetBinOfMMC (const UChar_t major, const UChar_t minor, const UChar_t crystal) |
| |
| static Int_t | GetVBinOfMMC (const UChar_t major, const UChar_t minor, const UChar_t crystal) |
| |
| static Int_t | GetBinOfVBin (const Int_t vbin) |
| |
| static bool | IsInHole (const UChar_t a, const UChar_t b, const UChar_t c) |
| |
| static bool | IsInHole (const Int_t vbin) |
| |
| static UInt_t | GetCrystalOfElement (const UInt_t element) |
| | Get the crystal number for an element number. More...
|
| |
| static UInt_t | GetElementOfCrystal (const UInt_t crystal) |
| | Get the element number for a crystal number. More...
|
| |
The TH2CB class.
A TH2Poly of the Crystal Ball mesh.
bin number (bin): Index of a bin in the TH2Poly. [1..n], used to access the individual bins with SetBinContent(bin, value), etc. A bin exists for every physical crystal. There are 672 crystals.
virtual bin number (vbin): A virtual bin number including non-existant crystals in the hole regions, [1..720].
Major-Minior-Crystal Number (MMC): The Crystal Ball is divided into major triganles (20) which again are subdivided into minor triangles (4). Each mintor triangle consists of 9 crystals. The MMC number addesses crystals by their Major-Minor-Crystal indices.
Element Number (element): The crystals are not cabled in the ordering of the crystals. Acqu uses elements.