X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFCalPlateA.cxx;h=cf1d339c34b2feffe3e28c4244daf33c6730c8ad;hb=500d54ab9cff3a6d06e05435e3d3b87256553e14;hp=7a911ab3c4e2ff33e92d8d53d96a3da42f20d022;hpb=7aeeaf386766e22f97e34cd5ec1d0f2e2c8b839f;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFCalPlateA.cxx b/TOF/AliTOFCalPlateA.cxx index 7a911ab3c4e..cf1d339c34b 100644 --- a/TOF/AliTOFCalPlateA.cxx +++ b/TOF/AliTOFCalPlateA.cxx @@ -15,6 +15,12 @@ /* $Log$ +Revision 1.6 2006/04/20 22:30:49 hristov +Coding conventions (Annalisa) + +Revision 1.5 2006/04/16 22:29:05 hristov +Coding conventions (Annalisa) + Revision 1.4 2006/04/05 08:35:38 hristov Coding conventions (S.Arcelli, C.Zampolli) @@ -36,54 +42,63 @@ author: Chiara Zampolli, zampolli@bo.infn.it // // /////////////////////////////////////////////////////////////////////////////// -#include "TObject.h" -#include "TROOT.h" #include "TBrowser.h" -#include "TClass.h" + #include "AliLog.h" -#include "AliTOFGeometryV5.h" -#include "AliTOFCalStrip.h" + #include "AliTOFCalPlateA.h" +#include "AliTOFCalStrip.h" #include "AliTOFChannel.h" +#include "AliTOFGeometryV5.h" ClassImp(AliTOFCalPlateA) //________________________________________________________________ -AliTOFCalPlateA::AliTOFCalPlateA(){ +AliTOFCalPlateA::AliTOFCalPlateA(): + fNStripA(0), + fNpadZ(0), + fNpadX(0), + fGeom(0x0), + fCh(0x0) +{ //main ctor - fCh = 0; - fGeom= 0x0; - fNStripA = 0; - fNpadZ = 0; - fNpadX = 0; } //________________________________________________________________ -AliTOFCalPlateA::AliTOFCalPlateA(AliTOFChannel *ch) : fCh(ch) +AliTOFCalPlateA::AliTOFCalPlateA(AliTOFChannel *ch) : + fNStripA(0), + fNpadZ(0), + fNpadX(0), + fGeom(0x0), + fCh(ch) { //ctor with channel - fGeom= 0x0; - fNStripA = 0; - fNpadZ = 0; - fNpadX = 0; } //________________________________________________________________ -AliTOFCalPlateA::AliTOFCalPlateA(AliTOFGeometry *geom){ +AliTOFCalPlateA::AliTOFCalPlateA(AliTOFGeometry *geom): + fNStripA(0), + fNpadZ(0), + fNpadX(0), + fGeom(geom), + fCh(0x0) +{ //ctor with geom - fCh = 0; - fGeom = geom; fNStripA = fGeom->NStripA(); fNpadZ = fGeom->NpadZ(); fNpadX = fGeom->NpadX(); } //________________________________________________________________ -AliTOFCalPlateA::AliTOFCalPlateA(AliTOFGeometry *geom, AliTOFChannel *ch): fCh(ch) +AliTOFCalPlateA::AliTOFCalPlateA(AliTOFGeometry *geom, AliTOFChannel *ch): + fNStripA(0), + fNpadZ(0), + fNpadX(0), + fGeom(geom), + fCh(ch) { //ctor with geom and channel - fGeom = geom; fNStripA = fGeom->NStripA(); fNpadZ = fGeom->NpadZ(); fNpadX = fGeom->NpadX(); @@ -99,7 +114,12 @@ AliTOFCalPlateA::~AliTOFCalPlateA() //________________________________________________________________ AliTOFCalPlateA::AliTOFCalPlateA(const AliTOFCalPlateA& pl): - TObject(pl) + TObject(pl), + fNStripA(0), + fNpadZ(0), + fNpadX(0), + fGeom(0x0), + fCh(0x0) { //copy ctor fCh = pl.fCh;