fNprimary = 0 ;
Int_t index ;
for (index = 1 ; index <= 3 ; index++)
- SetPrimary(index, 0) ;
+ SetPrimary(index, -1) ;
}
//____________________________________________________________________________
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
//____________________________________________________________________________
AliPHOSTrackSegment::AliPHOSTrackSegment( const AliPHOSTrackSegment & ts)
{
- ( (AliPHOSTrackSegment &)ts ).Copy(*this) ;
+ ( (AliPHOSTrackSegment &)ts ).Copy(*this) ;
}
//____________________________________________________________________________
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);
}
}
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