X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSv2.cxx;h=14141056bf3070532a318aedd0c1eeab08176079;hb=02ef9013f65d163d5436db4d9034df8acc40b72e;hp=482510b66dfdd4f4f369d1619111cfa9d26cf3aa;hpb=ed4205d8a7d8512ba52ff2b3f9b71a28f4d941ef;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSv2.cxx b/PHOS/AliPHOSv2.cxx index 482510b66df..14141056bf3 100644 --- a/PHOS/AliPHOSv2.cxx +++ b/PHOS/AliPHOSv2.cxx @@ -12,8 +12,16 @@ * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ - /* $Id$ */ + +/* History of cvs commits: + * + * $Log$ + * Revision 1.24 2005/05/28 14:19:05 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // Version of AliPHOSv1 which keeps all hits in TreeH // AddHit, StepManager,and FinishEvent are redefined @@ -22,30 +30,19 @@ //*-- Modified Nov. 22 2000 by Dmitri Peressounko // All hits are stored. // Note, that primaries will not be assigned to digits: -// becouse of tiny energy deposition at each step. +// because of tiny energy deposition at each step. // // --- ROOT system --- - -#include "TBRIK.h" -#include "TNode.h" -#include "TRandom.h" +#include "TClonesArray.h" // --- Standard library --- -#include -#include -#include -#include // --- AliRoot header files --- #include "AliPHOSv2.h" #include "AliPHOSHit.h" -#include "AliPHOSDigit.h" -#include "AliPHOSReconstructioner.h" -#include "AliRun.h" -#include "AliConst.h" ClassImp(AliPHOSv2) @@ -62,21 +59,20 @@ AliPHOSv1(name,title) { // ctor } - -//____________________________________________________________________________ +//__________________________________________________________________________ AliPHOSv2::~AliPHOSv2() { // dtor } //____________________________________________________________________________ -void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t tracknumber, Int_t Id, Float_t * hits, Int_t pid) +void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t Id, Float_t * hits) { // Add a hit to the hit list. AliPHOSHit *newHit ; - newHit = new AliPHOSHit(shunt, primary, tracknumber, Id, hits, pid) ; + newHit = new AliPHOSHit(shunt, primary, Id, hits) ; new((*fHits)[fNhits]) AliPHOSHit(*newHit) ; fNhits++ ;