![]() |
AliPhysics
a8afd6c (a8afd6c)
|
Public Types | |
enum | { kLogx = 0x01, kLogy = 0x02, kLogz = 0x04, kScale = 0x08, kNoStats = 0x10 } |
enum | { kBitScale = (1<<17), kBitNoStats = (1<<16) } |
Public Member Functions | |
FastMonitor () | |
FastMonitor (TSelector *s, const TString &name) | |
FastMonitor (const FastMonitor &m) | |
virtual | ~FastMonitor () |
FastMonitor & | operator= (const FastMonitor &m) |
void | Connect (Int_t freq=-1) |
void | Disconnect () |
void | Register (TObject *descr, Bool_t proof=true) |
void | Register (const char *name, const char *title="", UInt_t flags=0, Bool_t proof=true) |
void | SetName (const char *name) |
const char * | GetName () const |
void | Feedback (TList *objs) |
void | Handle () |
Bool_t | HandleTimer (TTimer *) |
Static Public Member Functions | |
static Long_t | ProofExec (const char *cmd=0) |
Protected Member Functions | |
Bool_t | SetupCanvas () |
void | SetupDraw (Int_t i, const char *name, const char *option, UInt_t flags=0) |
void | DrawObject (TObject *o, Option_t *opt, Bool_t scale, Bool_t nostats, Bool_t same=false) |
TVirtualPad * | FindPad (const TString &name) |
TObject * | FindPadObject (const Char_t *padName, TCollection *l) |
Protected Attributes | |
TString | fName |
TList | fPaths |
TCanvas * | fCanvas |
TSelector * | fSelector |
Int_t | fNPads |
TTimer * | fTimer |
Definition at line 29 of file FastMonitor.C.
anonymous enum |
Flags to pass
Enumerator | |
---|---|
kLogx | |
kLogy | |
kLogz | |
kScale | |
kNoStats |
Definition at line 34 of file FastMonitor.C.
anonymous enum |
Internal bits set on pads
Enumerator | |
---|---|
kBitScale | |
kBitNoStats |
Definition at line 44 of file FastMonitor.C.
|
inline |
Definition at line 64 of file FastMonitor.C.
|
inline |
|
inline |
Copy constructor
Definition at line 97 of file FastMonitor.C.
|
inlinevirtual |
Desctructor
Definition at line 113 of file FastMonitor.C.
|
inline |
Connect to the source
Definition at line 136 of file FastMonitor.C.
Referenced by FastSim::Begin(), and FastAnalysis::SetupMonitor().
|
inline |
Disconnect from the source
Definition at line 169 of file FastMonitor.C.
Referenced by ~FastMonitor().
|
inlineprotected |
Draw an object.
o | Object to draw |
opt | Options |
scale | Scalar |
nostats | Do not show stats |
same | Draw on current canvas |
Definition at line 361 of file FastMonitor.C.
Referenced by Feedback().
|
inline |
Called when we get notified of
objs | List of monitored objects |
Definition at line 227 of file FastMonitor.C.
Referenced by HandleTimer().
|
inlineprotected |
Find pad corresponding to an object
name | Name of object |
Definition at line 425 of file FastMonitor.C.
|
inlineprotected |
Find an object in the list l which corresponds to a registered pad.
padName | Pad's name |
l | Input collection |
Definition at line 445 of file FastMonitor.C.
Referenced by Feedback().
|
inline |
|
inline |
Function to handle connect signals
Definition at line 265 of file FastMonitor.C.
|
inline |
Function to handle timer events
Definition at line 272 of file FastMonitor.C.
Referenced by Handle().
|
inline |
Assignment operator
m | Object to assign from |
Definition at line 121 of file FastMonitor.C.
|
inlinestatic |
Execute a PROOF command. Short hand convinience
cmd | Command, or empty string. |
Definition at line 56 of file FastMonitor.C.
Referenced by Connect(), Disconnect(), and Register().
Register an object. Note the object passed here is a descripter, that gives the name (descr->GetName()) and options (descr->GetTitle()) and the pad options (descr->GetUniqueID()) - not the actual object to draw.
descr | |
proof | IF true, register for Proof(Lite) |
Definition at line 186 of file FastMonitor.C.
Referenced by FastMonitor(), FastSimMonitor::FastSimMonitor(), operator=(), and FastAnalysis::SetupMonitor().
|
inline |
Prepare a draw
name | Name (path) of object |
title | Drawing options |
flags | Flags |
proof | Register for proof |
Definition at line 198 of file FastMonitor.C.
|
inline |
|
inlineprotected |
Setup canvas, and registered object
Definition at line 283 of file FastMonitor.C.
Referenced by Feedback().
|
inlineprotected |
Register a draw of a an object
i | Pad number |
name | Name of object |
option | Drawing option |
flags | Flags |
Definition at line 326 of file FastMonitor.C.
Referenced by SetupCanvas().
|
protected |
Our canvas
Definition at line 479 of file FastMonitor.C.
Referenced by Feedback(), FindPad(), operator=(), SetupCanvas(), and SetupDraw().
|
protected |
Our name
Definition at line 475 of file FastMonitor.C.
Referenced by GetName(), SetName(), and SetupCanvas().
|
protected |
Number of pads registered
Definition at line 483 of file FastMonitor.C.
Referenced by Feedback(), and SetupCanvas().
|
protected |
List of things to monitor
Definition at line 477 of file FastMonitor.C.
Referenced by FastMonitor(), operator=(), Register(), and SetupCanvas().
|
protected |
Possibly link to selector
Definition at line 481 of file FastMonitor.C.
Referenced by HandleTimer(), and operator=().
|
protected |
Possible timer
Definition at line 485 of file FastMonitor.C.
Referenced by Connect(), and Disconnect().