// YS Subatech Mai 2002
// YK Subatech 6 Aug 2002
-// Reconstruction chain:
+// PHOS Reconstruction chain:
// Hits -> SDigits -> Digits -> RecPoints -> TrackSegments -> RecParticles
//Root
+#if !defined(__CINT__) || defined(__MAKECINT__)
#include "TString.h"
//AliRoot
#include "EMCAL/AliEMCALSDigitizer.h"
#include "EMCAL/AliEMCALDigitizer.h"
#include "EMCAL/AliEMCALClusterizerv1.h"
+#endif
-void Hits2SDigits( Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSHits2SDigits( Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write SDigits in the same file as Hits --------------- (OK)
sdp->ExecuteTask("deb") ;
delete sdp ;
-
- // AliEMCALSDigitizer * sde = new AliEMCALSDigitizer(fileName) ;
-// if (split)
-// sde->SetSplitFile() ;
-// sde->ExecuteTask("deb") ;
-
-// delete sde ;
-
}
//________________________________________________________________________
-void SDigits2Digits( Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSSDigits2Digits( Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write SDigits in the same file as SDigits --------------- (OK)
dp->ExecuteTask("deb") ;
delete dp ;
-
- //EMCAL
-// AliEMCALDigitizer * de = 0 ;
-
-// if (split) {
-// de = new AliEMCALDigitizer("EMCAL.SDigits.root") ;
-// de->SetSplitFile() ;
-// } else
-// de = new AliEMCALDigitizer(fileName) ;
-
-// de->ExecuteTask("deb") ;
-
-// delete de ;
}
//________________________________________________________________________
-void Digits2RecPoints( Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSDigits2RecPoints( Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write RecPoints in the same file as Digits --------------- OK
delete gAlice ;
gAlice = 0 ;
-// PHOS
AliPHOSClusterizer * cp = 0 ;
if (split) {
cp->ExecuteTask("deb") ;
delete cp ;
-
-// //EMCAL
-// AliEMCALClusterizerv1 * ce = 0 ;
-
-// if (split) {
-// ce = new AliEMCALClusterizerv1("EMCAL.Digits.root") ;
-// ce->SetSplitFile() ;
-// } else
-// ce = new AliEMCALClusterizerv1(fileName) ;
-
-// ce->ExecuteTask("deb") ;
-
-// delete ce ;
}
//________________________________________________________________________
-void RecPoints2TrackSegments( Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSRecPoints2TrackSegments( Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write TrackSegments in the same file as RecPoints --------------- (OK)
}
//________________________________________________________________________
-void TrackSegments2RecParticles( Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSTrackSegments2RecParticles( Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write RecParticles in the same file as TrackSegments --------------- (OK)
}
//________________________________________________________________________
-void Digits2RecParticles( Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSDigits2RecParticles( Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write RecPoints, TrackSegments and RecParticles in the same file as Digits --------------- (OK)
}
//________________________________________________________________________
-void Hits2Digits (Bool_t split=kFALSE, TString fileName = "galice.root") {
+void PHOSHits2Digits (Bool_t split=kFALSE, TString fileName = "galice.root") {
// usage :
// 1. write (S)Digits in the same file as Hits --------------- (OK)
//root [0] .L Reconstruct.C++
delete sdp ;
delete dp ;
}
-
-// //EMCAL
-// AliEMCALSDigitizer * sde = new AliEMCALSDigitizer(fileName) ;
-// if (split)
-// sde->SetSplitFile() ;
-// sde->ExecuteTask("deb") ;
-
-// delete sde ;
-
-// AliEMCALDigitizer * de = 0 ;
-// if (split) {
-// de = new AliEMCALDigitizer("EMCAL.SDigits.root") ;
-// de->SetSplitFile() ;
-// } else
-// de = new AliEMCALDigitizer(fileName) ;
-
-// de->ExecuteTask("deb") ;
-
-// delete de ;
-
}