Hi,
Is there a way to create a branch that is an array of C structure? The
online reference on
TBranch(const char *name, void *address, const char *leaflist, Int_t
basketsize, Int_t compress) :TNamed(name,leaflist)
only talked about a C structure branch.
My header file is like this:
typedef struct{
Float_t peakPos;
Float_t peakEnerg;
Float_t sigmaPeak;
Int_t corSimuPeak;
bool used;
} SmdPeak;
typedef struct{
UInt_t runnumber;
Int_t event;
Int_t numbXPeaks;
Int_t numbYPeaks;
Float_t tower[4][3];
Float_t smdX[61];
Float_t smdY[101];
SmdPeak xPeak[4];
SmdPeak xPeak[4];
} FitEvent;
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET