]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
only cosmetics
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Mar 2000 13:26:51 +0000 (13:26 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Mar 2000 13:26:51 +0000 (13:26 +0000)
PHOS/AliPHOSDigit.cxx
PHOS/AliPHOSGeometry.h
PHOS/AliPHOSTrackSegment.cxx
PHOS/AliPHOSv0.cxx
PHOS/AliPHOSv0.h

index 512f48a62a06bf1234a48be859b3322c9156e5f9..89d7c1a9b52b5a209ebfebd369842dee7673bb10 100644 (file)
@@ -38,7 +38,7 @@ ClassImp(AliPHOSDigit)
   fNprimary = 0 ;  
   Int_t index ; 
   for (index = 1 ; index <= 3 ; index++)
-    SetPrimary(index, 0) ; 
+    SetPrimary(index, -1) ; 
 }
 
 //____________________________________________________________________________
index 7c49f8191e6d578c57cacb59ddc5178f99df3ffd..1950901437af9394835ac561bca0e7ffeb3246d4 100644 (file)
@@ -64,7 +64,7 @@ public:
   void   RelPosInAlice(const Int_t AbsId, TVector3 &  pos) ;             // gets the position of element (pad or Xtal) relative to 
                                                                          // Alice
   Bool_t RelToAbsNumbering(const Int_t * RelId, Int_t & AbsId) ;         // converts the absolute PHOS numbering to a relative 
-                                                                         // inlines
+                                                                       
 
   ///////////// PHOS related parameters
 
index 12e1421421bd137617ff2b0ebc8bd120324dc55b..f5bef0a681e36bd7b2c12e5277e8731608f37830 100644 (file)
@@ -52,7 +52,7 @@ AliPHOSTrackSegment::AliPHOSTrackSegment( AliPHOSEmcRecPoint * emc , AliPHOSPpsd
 //____________________________________________________________________________
 AliPHOSTrackSegment::AliPHOSTrackSegment( const AliPHOSTrackSegment & ts) 
 {
- ( (AliPHOSTrackSegment &)ts ).Copy(*this) ; 
 ( (AliPHOSTrackSegment &)ts ).Copy(*this) ; 
 }
 
 //____________________________________________________________________________
index b6666b4e6b37115e301dda00edc5b384f2967957..8b2f16062d1da23cfdadade9cd6d8dd6391527ae 100644 (file)
@@ -1119,11 +1119,14 @@ void AliPHOSv0::MakeBranch(Option_t* opt)
   
   char branchname[10];
   sprintf(branchname,"%s",GetName());
-  char *cd = strstr(opt,"D");
+  char *cdD = strstr(opt,"D");
   
-  if (fDigits && gAlice->TreeD() && cd) {
+  if (fDigits && gAlice->TreeD() && cdD) {
     gAlice->TreeD()->Branch(branchname,&fDigits, fBufferSize);
-    //    printf("* AliPHOS::MakeBranch * Making Branch %s for digits\n",branchname);
+  }
+  char *cdR = strstr(opt,"R");
+  if (fRecParticles && gAlice->TreeR() && cdR) {
+    gAlice->TreeR()->Branch(branchname, &fRecParticles, fBufferSize);
   }
 }
 
index 3f8f292e84677d2aa0cf397ac1a98dc472cfbcf2..a2ca6e95214225a37d3ea1890643a6df029f5f4a 100644 (file)
@@ -53,16 +53,17 @@ public:
   TrackSegmentsList *    TrackSegments(){return fTrackSegments ;}
   
 protected:
-  Float_t fPINElectronicNoise  ;         // Electronic Noise in the PIN
-  RecPointsList * fEmcClusters ;        //!  (!=do not stream)
+
+  Float_t fPINElectronicNoise  ;        // Electronic Noise in the PIN
+  RecPointsList * fEmcClusters ;        // The RecPoints (clusters) list in EMC 
   AliPHOSGeometry * fGeom ;             // geometry definition
   Int_t fNTmpHits ;                     //!  used internally for digitalization
-  RecPointsList * fPpsdClusters ;       //!
+  RecPointsList * fPpsdClusters ;       // The RecPoints (clusters) list in PPSD 
   AliPHOSReconstructioner * fReconstructioner ; // Reconstrutioner of the PHOS event: Clusterization and subtracking procedures
-  TClonesArray * fTmpHits ;             //!  idem
-  AliPHOSTrackSegmentMaker * fTrackSegmentMaker ;
-  TrackSegmentsList * fTrackSegments ;  //! idem
-  RecParticlesList * fRecParticles ;    //! idem
+  TClonesArray * fTmpHits ;             //!  used internally for digitalization 
+  AliPHOSTrackSegmentMaker * fTrackSegmentMaker ; // Reconstructioner of the PHOS track segment: 2 x PPSD + 1 x EMC
+  TrackSegmentsList * fTrackSegments ;  // The TrackSegment list in PHOS
+  RecParticlesList * fRecParticles ;    // The reconstructed particles list in PHOS
 
   ClassDef(AliPHOSv0,1)  // PHOS main class , version subatech