/*
$Log$
+Revision 1.6 1999/09/29 09:24:07 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
//
// Create a tree of castor hits
fHits = new TClonesArray("AliCASTORhit", 405);
+ gAlice->AddHitList(fHits);
fIshunt = 0;
/*
$Log$
+Revision 1.6 1999/09/29 09:24:14 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
//
// Initialise Hit array
fHits = new TClonesArray("AliFMDhit", 405);
+ gAlice->AddHitList(fHits);
fIshunt = 0;
}
/*
$Log$
+Revision 1.9 1999/11/14 14:33:25 fca
+Correct problems with distructors and pointers, thanks to I.Hrivnacova
+
Revision 1.8 1999/09/29 09:24:19 fca
Introduction of the Copyright and cvs Log
//
fHits = new TClonesArray("AliITShit", 1560);
+ gAlice->AddHitList(fHits);
fDigits = new TClonesArray("AliITSdigit",1000);
fITSpoints = new TObjArray();
fITSmodules = 0; //new AliITSmodules();
/*
$Log$
+Revision 1.14 1999/11/03 13:17:07 fca
+Have ProdProcess return const char*
+
Revision 1.13 1999/10/26 06:04:48 fca
Introduce TLorentzVector in AliMC::GetSecondary. Thanks to I.Hrivnacova
//End_Html
fHits = new TClonesArray("AliMUONhit",1000);
+ gAlice->AddHitList(fHits);
fClusters = new TClonesArray("AliMUONcluster",10000);
fNclusters = 0;
fIshunt = 0;
* provided "as is" without express or implied warranty. *
**************************************************************************/
+/*
+$Log$
+*/
+
//_________________________________________________________________________
// Manager class for PHOS version SUBATECH
//*-- Author : Y. Schutz SUBATECH
// is used for the digitization part.
fHits = new TClonesArray("AliPHOSHit",100) ;
+ gAlice->AddHitList(fHits);
fDigits = new TClonesArray("AliPHOSDigit",100) ;
fTmpHits= new TClonesArray("AliPHOSHit",100) ;
/*
$Log$
+Revision 1.5 1999/09/29 09:24:27 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
//
// Allocate the array of hits
fHits = new TClonesArray("AliPMDhit", 405);
+ gAlice->AddHitList(fHits);
fIshunt = 1;
/*
$Log$
+Revision 1.14 1999/11/03 13:17:07 fca
+Have ProdProcess return const char*
+
Revision 1.13 1999/10/26 06:04:49 fca
Introduce TLorentzVector in AliMC::GetSecondary. Thanks to I.Hrivnacova
//End_Html
fHits = new TClonesArray("AliRICHhit",1000 );
+ gAlice->AddHitList(fHits);
fClusters = new TClonesArray("AliRICHcluster",10000);
fCerenkovs = new TClonesArray("AliRICHCerenkov",20000);
fNclusters = 0;
/*
$Log$
+Revision 1.4 1999/11/12 15:04:00 fca
+Modifications from A.Maevskaya
+
Revision 1.3 1999/09/29 09:24:29 fca
Introduction of the Copyright and cvs Log
//
// Initialise Hit array
fHits = new TClonesArray("AliSTARThit", 405);
+ gAlice->AddHitList(fHits);
fIshunt = 0;
fIdSens1 = 0;
/*
$Log$
+Revision 1.23 1999/12/03 11:14:31 fca
+Fixing previous wrong checking
+
Revision 1.21 1999/11/25 10:40:08 fca
Fixing daughters information also in primary tracks
fInitDone = kFALSE;
fLego = 0;
fPDGDB = 0; //Particle factory object!
+ fHitLists = 0;
}
//_____________________________________________________________________________
//
// Make particles
fPDGDB = TDatabasePDG::Instance(); //Particle factory object!
+ //
+ // Create HitLists list
+ fHitLists = new TList();
}
//_____________________________________________________________________________
fParticles->Delete();
delete fParticles;
}
+ delete fHitLists;
}
//_____________________________________________________________________________
}
}
+#ifdef old
// Now loop on all detectors and reset the hits
TIter next(fModules);
AliModule *detector;
OneHit->SetTrack(map[OneHit->GetTrack()]);
}
}
+#else
+
+ // Now loop on all registered hit lists
+ TIter next(fHitLists);
+ TCollection *hitList;
+ while((hitList = (TCollection*)next())) {
+ TIter nexthit(hitList);
+ AliHit *hit;
+ while((hit = (AliHit*)nexthit())) {
+ hit->SetTrack(map[hit->GetTrack()]);
+ }
+ }
+#endif
fHgwmk=nkeep-1;
particles.SetLast(fHgwmk);
Bool_t fInitDone; //true when initialisation done
AliLego *fLego; //pointer to aliLego object if it exists
TDatabasePDG *fPDGDB; //Particle factory object!
+ TList *fHitLists; //Lists of hits to be remapped by PurifyKine
public:
// Creators - distructors
virtual void AddHit(Int_t id, Int_t track, Int_t *vol, Float_t *hits) const;
virtual void AddDigit(Int_t id, Int_t *tracks, Int_t *digits) const;
+ virtual void AddHitList(TCollection *hitList) {fHitLists->Add(hitList);}
virtual void Browse(TBrowser *b);
virtual void Build();
virtual void BuildSimpleGeometry();
/*
$Log$
+Revision 1.11 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.10 1999/11/01 20:41:57 fca
Added protections against using the wrong version of FRAME
// AliTOF standard constructor
//
fHits = new TClonesArray("AliTOFhit", 405);
+ gAlice->AddHitList(fHits);
//
fIshunt = 0;
//
/*
$Log$
+Revision 1.16 1999/11/05 09:29:23 fca
+Accept only signals > 0
+
Revision 1.15 1999/10/08 06:26:53 fca
Removed ClustersIndex - not used anymore
//
// Initialise arrays of hits and digits
fHits = new TClonesArray("AliTPChit", 176);
+ gAlice->AddHitList(fHits);
// fDigits = new TClonesArray("AliTPCdigit",10000);
//MI change
fDigParam= new AliTPCD;
/*
$Log$
+Revision 1.15 1999/11/02 17:04:25 fca
+Small syntax change for HP compiler
+
Revision 1.14 1999/11/02 16:57:02 fca
Avoid non ansi warnings on HP compilers
// Allocate the hit array
fHits = new TClonesArray("AliTRDhit" , 405);
+ gAlice->AddHitList(fHits);
// Allocate the digits array
fDigits = new TClonesArray("AliTRDdigit" ,10000);
/*
$Log$
+Revision 1.6 1999/09/29 09:24:35 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
//
// Allocate the array of hits
fHits = new TClonesArray("AliZDChit", 405);
+ gAlice->AddHitList(fHits);
fIshunt = 1;
}