//
}
+//_____________________________________________________________________________
+AliTRDCalDCSGTU::~AliTRDCalDCSGTU()
+{
+ //
+ // AliTRDCalDCSGTU destructor
+ //
+
+ if (fSegmentsArr) {
+ fSegmentsArr->Delete();
+ delete fSegmentsArr;
+ fSegmentsArr = 0x0;
+ }
+
+ if (fTgu) {
+ delete fTgu;
+ fTgu = 0x0;
+ }
+
+}
+
//_____________________________________________________________________________
AliTRDCalDCSGTU& AliTRDCalDCSGTU::operator=(const AliTRDCalDCSGTU& sh)
{
AliTRDCalDCSGTU(const char *name, const char *title);
AliTRDCalDCSGTU(const AliTRDCalDCSGTU &);
AliTRDCalDCSGTU& operator=(const AliTRDCalDCSGTU& sh);
- virtual ~AliTRDCalDCSGTU() { };
+ virtual ~AliTRDCalDCSGTU();
Int_t GetRunNumber() const { return fRunNumber; }
Int_t GetSORFlag() const { return fSORFlag; }
//
// AliTRDCalDCSGTU constructor
//
+
+}
+
+//_____________________________________________________________________________
+AliTRDCalDCSGTUTgu::~AliTRDCalDCSGTUTgu()
+{
+ //
+ // AliTRDCalDCSGTU destructor
+ //
+
+ if (fBoardInfo) {
+ delete fBoardInfo;
+ fBoardInfo = 0x0;
+ }
+
+ if (fCtpOpcArr) {
+ fCtpOpcArr->Delete();
+ delete fCtpOpcArr;
+ fCtpOpcArr = 0x0;
+ }
+
}
//_____________________________________________________________________________
AliTRDCalDCSGTUTgu(const char *name, const char *title);
AliTRDCalDCSGTUTgu(const AliTRDCalDCSGTUTgu&);
AliTRDCalDCSGTUTgu &operator=(const AliTRDCalDCSGTUTgu &sh);
- virtual ~AliTRDCalDCSGTUTgu() { };
+ virtual ~AliTRDCalDCSGTUTgu();
Int_t GetFromRunNumber() const { return fFromRunNum; }
Int_t GetFromSORFlag() const { return fFromSORFlag; }
TString fBusyMask; // value of the attribute named value within the busymask tag
TString fContribMask; // value of the attribute named value within the contribmask tag
- AliTRDCalDCSGTUBoardInfo *fBoardInfo; // BoarrdInfo Object holding the information about the tgu
+ AliTRDCalDCSGTUBoardInfo *fBoardInfo; // BoardInfo Object holding the information about the tgu
TObjArray *fCtpOpcArr; // an array of AliTRDCalDCSGTUCtpOpc objects holding their configuration data