SND@LHC Software
|
#include <ecalDrawer.h>
Public Member Functions | |
ecalDrawer () | |
ecalDrawer (const char *name, const Int_t iVerbose=1) | |
virtual | ~ecalDrawer () |
void | SetNamePrefix (const char *prefix) |
void | SetCellSize (Int_t size) |
Int_t | InitPython (TClonesArray *mctracks, TClonesArray *ecalPoints, ecalStructure *structure, TClonesArray *clusters) |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *option) |
virtual void | Finish () |
Private Member Functions | |
void | PutPixel (Int_t x, Int_t y, Float_t r, Float_t g, Float_t b) |
void | PutPixel (Int_t x, Int_t y, const char *color) |
void | DrawMark (Double_t x, Double_t y, const char *color, Int_t type) |
void | DrawCell (ecalCell *cell, Float_t r, Float_t g, Float_t b) |
void | DrawCell (ecalCell *cell, const char *color) |
void | DrawLine (Double_t x, Double_t y, const char *color, Int_t track) |
void | DrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char *color) |
void | DrawEnergy (ecalPoint *p, const char *color) |
void | DrawPDG (ecalPoint *p, const char *color) |
void | DrawEnergy (Float_t x, Float_t y, Float_t p, const char *color) |
Double_t | GetP (ecalPoint *p) |
void | DrawChi2 (Float_t x, Float_t y, Float_t chi2, const char *color) |
void | DrawMC () |
void | DrawCells () |
void | DrawImage () |
ecalDrawer (const ecalDrawer &) | |
ecalDrawer & | operator= (const ecalDrawer &) |
Private Attributes | |
TString | fNamePrefix |
TASImage * | fC |
Int_t | fCellSize |
Int_t | fCX |
Int_t | fCY |
Double_t | fMaxEnergyDep |
ecalStructure * | fStr |
ecalInf * | fInf |
TString | fEdging |
TText * | fTxt |
std::list< ecalDrawerItem * > | fCells |
TClonesArray * | fMCTracks |
TClonesArray * | fPoints |
TClonesArray * | fClusters |
TString | fInName |
Int_t | fEventN |
Double_t | fX |
Double_t | fY |
Double_t | fZ |
Double_t | fMCX |
Double_t | fMCY |
Double_t | fMCZ |
Int_t | fMCMotherTrN |
Double_t | fE |
Double_t | fMCE |
Double_t | fPX |
Double_t | fPY |
Double_t | fPZ |
Double_t | fMCPX |
Double_t | fMCPY |
Double_t | fMCPZ |
Double_t | fChi2 |
Int_t | fPdgCode |
Double_t | fR |
Definition at line 28 of file ecalDrawer.h.
ecalDrawer::ecalDrawer | ( | ) |
Default constructor. Requirement of ROOT system
Definition at line 622 of file ecalDrawer.cxx.
ecalDrawer::ecalDrawer | ( | const char * | name, |
const Int_t | iVerbose = 1 |
||
) |
Standard constructor
Definition at line 582 of file ecalDrawer.cxx.
|
virtual |
|
private |
|
private |
Definition at line 77 of file ecalDrawer.cxx.
|
private |
draw cell with filled color. fEdging used as egding of cell
Definition at line 67 of file ecalDrawer.cxx.
|
private |
Normalization
At the moment B — reconstructed energy G — energy deposited in cell R — energy deposited by photons and their e+/e- daughters
Drawing
Definition at line 358 of file ecalDrawer.cxx.
|
private |
Draw chi2 for photons
Definition at line 248 of file ecalDrawer.cxx.
|
private |
Draw energy for given point
Definition at line 267 of file ecalDrawer.cxx.
|
private |
Definition at line 306 of file ecalDrawer.cxx.
|
private |
some beauty
Definition at line 120 of file ecalDrawer.cxx.
|
private |
Definition at line 190 of file ecalDrawer.cxx.
|
private |
Definition at line 171 of file ecalDrawer.cxx.
|
private |
type==0 for star, type==1 for square
Definition at line 92 of file ecalDrawer.cxx.
|
private |
gammas
Neutrons and antineutrons
others
Definition at line 320 of file ecalDrawer.cxx.
|
private |
Definition at line 292 of file ecalDrawer.cxx.
|
virtual |
Definition at line 38 of file ecalDrawer.cxx.
|
virtual |
Definition at line 566 of file ecalDrawer.cxx.
|
private |
Definition at line 238 of file ecalDrawer.cxx.
|
virtual |
Init
Definition at line 485 of file ecalDrawer.cxx.
Int_t ecalDrawer::InitPython | ( | TClonesArray * | mctracks, |
TClonesArray * | ecalPoints, | ||
ecalStructure * | structure, | ||
TClonesArray * | clusters | ||
) |
Definition at line 537 of file ecalDrawer.cxx.
|
private |
|
private |
|
private |
Definition at line 44 of file ecalDrawer.cxx.
|
inline |
Definition at line 43 of file ecalDrawer.h.
|
inline |
Set prefix to name of images File will be named like: prefix0000.png
Definition at line 42 of file ecalDrawer.h.
|
private |
An image and its size
Definition at line 53 of file ecalDrawer.h.
|
private |
Definition at line 89 of file ecalDrawer.h.
|
private |
Definition at line 54 of file ecalDrawer.h.
|
private |
Definition at line 115 of file ecalDrawer.h.
|
private |
Definition at line 94 of file ecalDrawer.h.
|
private |
Definition at line 55 of file ecalDrawer.h.
|
private |
Definition at line 56 of file ecalDrawer.h.
|
private |
Definition at line 107 of file ecalDrawer.h.
|
private |
Definition at line 63 of file ecalDrawer.h.
|
private |
Event number
Definition at line 97 of file ecalDrawer.h.
|
private |
Definition at line 62 of file ecalDrawer.h.
|
private |
Definition at line 95 of file ecalDrawer.h.
|
private |
Normalization
Definition at line 59 of file ecalDrawer.h.
|
private |
Definition at line 108 of file ecalDrawer.h.
|
private |
Definition at line 105 of file ecalDrawer.h.
|
private |
Definition at line 112 of file ecalDrawer.h.
|
private |
Definition at line 113 of file ecalDrawer.h.
|
private |
Definition at line 114 of file ecalDrawer.h.
|
private |
Definition at line 92 of file ecalDrawer.h.
|
private |
Definition at line 102 of file ecalDrawer.h.
|
private |
Definition at line 103 of file ecalDrawer.h.
|
private |
Definition at line 104 of file ecalDrawer.h.
|
private |
Definition at line 51 of file ecalDrawer.h.
|
private |
Pdg code. Gamma and neutron(antineutron) only
Definition at line 117 of file ecalDrawer.h.
|
private |
Definition at line 93 of file ecalDrawer.h.
|
private |
Definition at line 109 of file ecalDrawer.h.
|
private |
Definition at line 110 of file ecalDrawer.h.
|
private |
Definition at line 111 of file ecalDrawer.h.
|
private |
Distance between this and closest other hit in the calorimeter
Definition at line 119 of file ecalDrawer.h.
|
private |
Structure and info for drawing
Definition at line 61 of file ecalDrawer.h.
|
private |
Definition at line 83 of file ecalDrawer.h.
|
private |
Definition at line 99 of file ecalDrawer.h.
|
private |
Definition at line 100 of file ecalDrawer.h.
|
private |
Definition at line 101 of file ecalDrawer.h.