Thanks Rene,
I have checked system.rootrc twice and I have no .rootrc file (if so it
should be in $ROOTSYS/etc/ as the other one). So object statistic should be
activated, as demostrated by viewing correctly the number of some classes on
heap. On the contrary I can't look at this class, even if derived from
TObject:
class TC_Drawer : public TObject
{
public:
TC_Drawer();
virtual ~TC_Drawer();
void Decode (unsigned long* frag);
void Clear(Option_t* option="");
ClassDef(TC_Drawer, 1)
private :
unsigned long CheckParity(unsigned long *frame, int length);
unsigned long CheckStartBit(unsigned long *frame, int length, unsigned long
startbit);
unsigned long CheckCRC(unsigned long* frame, int framelen, int delta);
int SignalInFrame(unsigned int* frame, int frame_length, double delta_cut,
double rms_cut, int* frame_max, int* frame_min,
double* frame_mean, double* frame_rms);
int MaxSample (unsigned int *frame,
int frame_length,
int signal_start, int signal_length,
int *tmax, int *tmax_frame,
int *sample_frame);
int MaxAdder(unsigned int *frame,
int frame_length, int filter_length,
int signal_start, int signal_length,
int *tmax, int *tmax_frame,
int *adder_frame);
double Peak(unsigned int* frame,int frame_length,
int peak_pos, double ped,double *position);
double Pedestal(unsigned int* frame, int frame_legth, int ped_start,
int ped_legth);
double FlatFilter(unsigned int* frame, int filter_start,
int filter_legth, double ped, double* position);
double Time(unsigned int* frame, int signal_start, int signal_length,
double ped);
unsigned int id;
TClonesArray* fChannel; //
};
And this class is istantiated in a simple manner:
fDrawer[h] = new TC_Drawer();
with fDrawer vector of TC_Drawer* (but this shouldn't be important).
I hope I gave some more useful information.
Thanks any way,
Paolo Adragna
On Tuesday 20 May 2003 18:16, you wrote:
> Hi Paolo,
>
> If you have correctly updated your system.rootrc file
> to activate the object statistics, you should see a report of all
> your active classes. Check your system.rootrc. In case you have
> a local .rootrc file, make sure the option is not disabled in .rootrc.
>
> Note that gObjectTable->Print() can only show the number of objects
> per class. If your classes allocate dynamically arrays of basic types,
> you will not see them in the report.
>
> Rene Brun
-------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET