]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCComparison.C
PWGPP-102, ATO-135 - dNdx adjustement for the MC simulation
[u/mrichter/AliRoot.git] / TPC / AliTPCComparison.C
index 6b99bb520c34d7cb9907cc00dc4e3aab634cb815..808179c6f902c6089d010769da3a98ada7cf57fa 100644 (file)
@@ -1,13 +1,11 @@
-/****************************************************************************
- *           Very important, delicate and rather obscure macro.             *
- *                                                                          *
- *               Creates list of "trackable" tracks,                        *
- *             calculates efficiency, resolutions etc.                      *
- *     There is a possibility to run this macro over several events.         *
- *                                                                          *
- *           Origin: I.Belikov, CERN, Jouri.Belikov@cern.ch                 *
- * with several nice improvements by: M.Ivanov, GSI, m.ivanov@gsi.de        *
- ****************************************************************************/
+/// \file AliTPCComparison.C
+/// \brief Very important, delicate and rather obscure macro
+///
+/// Creates list of "trackable" tracks, calculates efficiency, resolutions etc.
+///
+/// There is a possibility to run this macro over several events.
+///
+/// \author I.Belikov, CERN, Jouri.Belikov@cern.ch, M.Ivanov, GSI, m.ivanov@gsi.de
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
   #include <TMath.h>
@@ -158,7 +156,8 @@ Int_t AliTPCComparison
    event->ReadFromTree(esdTree);
 
 
-   //******* Loop over events *********
+  // ******* Loop over events *********
+
    Int_t e=0;
    while (esdTree->GetEvent(e)) {
       cout<<endl<<endl<<"********* Processing event number: "<<e<<"*******\n";
@@ -409,7 +408,7 @@ Int_t GoodTracksTPC(const Char_t *dir) {
 
 
    AliCDBManager *man=AliCDBManager::Instance();
-   man->SetDefaultStorage("local://$ALICE_ROOT");
+   man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
    man->SetRun(0);
    AliTPCParamSR *digp=
    (AliTPCParamSR*)(AliTPCcalibDB::Instance()->GetParameters());