From: prino Date: Tue, 27 Dec 2011 15:29:39 +0000 (+0000) Subject: Coding conventions X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=641c00adf452b22072988850aa8368256f5e7497 Coding conventions --- diff --git a/ITS/AliITSQASPDChecker.cxx b/ITS/AliITSQASPDChecker.cxx index 7058ea2c9a7..4f86f8c8bc2 100644 --- a/ITS/AliITSQASPDChecker.cxx +++ b/ITS/AliITSQASPDChecker.cxx @@ -43,6 +43,7 @@ AliITSQASPDChecker::AliITSQASPDChecker() : fHighSPDValue(NULL), fImage(NULL) { + // default contructor } //__________________________________________________________________ AliITSQASPDChecker& AliITSQASPDChecker::operator = (const AliITSQASPDChecker& qac ) @@ -54,10 +55,11 @@ AliITSQASPDChecker& AliITSQASPDChecker::operator = (const AliITSQASPDChecker& qa } //__________________________________________________________________ AliITSQASPDChecker::~AliITSQASPDChecker() { -if(fStepBitSPD) delete[] fStepBitSPD ; -if(fLowSPDValue)delete[]fLowSPDValue; -if(fHighSPDValue) delete[]fHighSPDValue; -if(fImage) delete[]fImage; + // destructor + if(fStepBitSPD) delete[] fStepBitSPD ; + if(fLowSPDValue)delete[]fLowSPDValue; + if(fHighSPDValue) delete[]fHighSPDValue; + if(fImage) delete[]fImage; } //__________________________________________________________________ @@ -282,10 +284,12 @@ void AliITSQASPDChecker::SetSPDLimits(const Float_t *lowvalue, const Float_t * //__________________________________________________________________ Bool_t AliITSQASPDChecker::MakeSPDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) { + //create the image for raws and recpoints. In the other case, the default methodof CheckerBase class will be used + Bool_t val=kFALSE; fImage=(TCanvas**)AliQAChecker::Instance()->GetDetQAChecker(0)->GetImage(); - //create the image for raws and recpoints. In the other case, the default methodof CheckerBase class will be used + switch(task) { case AliQAv1::kRAWS:{