}
//____________________________________________________________________________
-void AliPHOSv1::Hits2SDigits(){
- //Collects all hits in the same active volume into digit
+void AliPHOSv1::Hits2SDigits()
+{
+ // Collects all hits in the same active volume into digit
+ // OBSOLETE replace by SDigitizer
Int_t i ;
Int_t j ;
}
//____________________________________________________________________________
-void AliPHOSv1::SDigits2Digits(){
- //Adds noise to the summable digits and removes everething below thresholds
- //Note, that sDigits should be SORTED in accordance with abs ID.
-
+void AliPHOSv1::SDigits2Digits()
+{
+ // Adds noise to the summable digits and removes everething below thresholds
+ // Note, that sDigits should be SORTED in accordance with abs ID.
+ // OBSOLETE Replaced by Digitzer
gAlice->TreeS()->GetEvent(0) ;
//___________________________________________________________________________
void AliPHOSv1::MakeBranch(Option_t* opt, char *file)
{
+ // Called by AliRun
char *cH ;
// Create new branche in the current Root Tree in the digit Tree
if ( name == "GPS2" || name == "MIXT" ) { // ======> CPV is a GPS' PPSD
- if( gMC->CurrentVolID(copy) == gMC->VolId("GCEL") ) // We are inside a gas cell
+ if( gMC->CurrentVolID(copy) == gMC->VolId("PPCE") ) // We are inside a gas cell
{
gMC->TrackPosition(pos) ;
xyze[0] = pos[0] ;
// Yuri Kharlov, 28 September 2000
- if( gMC->CurrentVolID(copy) == gMC->VolId("CPVQ") &&
+ if( gMC->CurrentVolID(copy) == gMC->VolId("PCPQ") &&
entered &&
gMC->TrackCharge() != 0) {