--- /dev/null
+// ----------------------------------------------------//
+// //
+// This macro does Digits to Reconstructed Points //
+// //
+// ----------------------------------------------------//
+
+#include "Riostream.h"
+#include "TROOT.h"
+#include "TFile.h"
+#include "TNetFile.h"
+#include "TRandom.h"
+#include "TTree.h"
+#include "TBranch.h"
+#include "TClonesArray.h"
+#include "TStopwatch.h"
+#include <stdlib.h>
+
+void AliPMDDigits2Recpoints(Int_t nevt=1)
+{
+ TStopwatch timer;
+ timer.Start();
+
+ // Input file name
+ Char_t *alifile = "galice.root";
+
+ // Create the PMD Cluster Finder
+ AliPMDClusterFinder *clus = new AliPMDClusterFinder();
+
+ // Open the AliRoot file
+ clus->OpengAliceFile(alifile,"DR");
+
+ Int_t ievt;
+
+ for (ievt = 0; ievt < nevt; ievt++)
+ {
+ clus->Digits2RecPoints(ievt);
+ }
+ clus->UnLoad("R");
+ timer.Stop();
+ timer.Print();
+}
+
--- /dev/null
+// ----------------------------------------------------//
+// //
+// This macro does Hits to Digits //
+// //
+// ----------------------------------------------------//
+
+#include <stdlib.h>
+#include "Riostream.h"
+#include "TROOT.h"
+#include "TFile.h"
+#include "TNetFile.h"
+#include "TRandom.h"
+#include "TTree.h"
+#include "TBranch.h"
+#include "TClonesArray.h"
+#include "TStopwatch.h"
+
+void AliPMDHits2Digits(Int_t nevt=1)
+{
+ // Input file name
+ Char_t *alifile = "galice.root";
+
+ // Create the PMD digitzer
+ AliPMDDigitizer *digitizer = new AliPMDDigitizer();
+
+ // Open the AliRoot file
+ digitizer->OpengAliceFile(alifile,"HS");
+
+ // Create the digits
+ for (Int_t ievt=0; ievt<nevt; ievt++)
+ {
+ digitizer->Hits2Digits(ievt);
+ }
+ digitizer->UnLoad("S");
+}
+
--- /dev/null
+// ----------------------------------------------------//
+// //
+// This macro does Hits to SDigits //
+// //
+// ----------------------------------------------------//
+
+#include <stdlib.h>
+#include "Riostream.h"
+#include "TROOT.h"
+#include "TFile.h"
+#include "TNetFile.h"
+#include "TRandom.h"
+#include "TTree.h"
+#include "TBranch.h"
+#include "TClonesArray.h"
+#include "TStopwatch.h"
+
+void AliPMDHits2SDigits(Int_t nevt=1)
+{
+ TStopwatch timer;
+ timer.Start();
+ Float_t zpos = 365.0;
+
+ // Input (and output) file name
+ Char_t *alifile = "galice.root";
+
+ // Create the PMD digitzer
+ AliPMDDigitizer *digitizer = new AliPMDDigitizer();
+
+ // Open the AliRoot file
+ digitizer->OpengAliceFile(alifile,"HS");
+
+ digitizer->SetZPosition(zpos);
+
+ // Create the sdigits
+
+ for (Int_t ievt=0; ievt<nevt; ievt++)
+ {
+ digitizer->Hits2SDigits(ievt);
+ }
+
+ digitizer->UnLoad("S");
+ timer.Stop();
+ timer.Print();
+
+}
+
--- /dev/null
+#include <stdlib.h>
+
+#include "Riostream.h"
+#include "TROOT.h"
+#include "TFile.h"
+#include "TNetFile.h"
+#include "TRandom.h"
+#include "TTree.h"
+#include "TBranch.h"
+#include "TClonesArray.h"
+#include "TStopwatch.h"
+
+
+void AliPMDSDigits2Digits(Int_t nevt=1)
+{
+ // Input (and output) file name
+ Char_t *alifile = "galice.root";
+
+ // Create the PMD digitzer
+ AliPMDDigitizer *digitizer = new AliPMDDigitizer();
+
+ // Open the AliRoot file
+ digitizer->OpengAliceFile(alifile,"SD");
+
+ Int_t ievt;
+
+ for (ievt = 0; ievt < nevt; ievt++)
+ {
+ digitizer->SDigits2Digits(ievt);
+ }
+ digitizer->UnLoad("S");
+
+}
+