]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/vzero_digits.C
fixes for new CaloCells contents
[u/mrichter/AliRoot.git] / EVE / alice-macros / vzero_digits.C
index 69829d29247cf7b7988e344a5a5573494194bf1f..4c4c2e39bb2e21a631e6ea72525eda3a00a8aee3 100644 (file)
@@ -6,17 +6,37 @@
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
  * full copyright notice.                                                 *
  **************************************************************************/
-//   fV0CHeight1         =    2.5; // height of cell 1
-//   fV0CHeight2         =    4.4; // height of cell 2
-//   fV0CHeight3         =    7.4; // height of cell 3
-//   fV0CHeight4         =   12.5; // height of cell 4
-//   fV0CRMin            =    4.6; // inner radius of box
-
-//   fV0AR0     =  4.2;  // Radius of hole
-//   fV0AR1     =  7.6;  // Maximun radius of 1st cell
-//   fV0AR2     = 13.8; // Maximun radius of 2nd cell
-//   fV0AR3     = 22.7; // Maximun radius of 3rd cell
-//   fV0AR4     = 41.3; // Maximun radius of 4th cell
+
+
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TClonesArray.h>
+#include <TGeoManager.h>
+#include <TMath.h>
+#include <TStyle.h>
+#include <TTree.h>
+#include <TEveManager.h>
+#include <TEveElement.h>
+#include <TEvePointSet.h>
+#include <TEveQuadSet.h>
+#include <TEveTrans.h>
+
+#include <AliRunLoader.h>
+#include <AliVZEROdigit.h>
+#include <AliEveEventManager.h>
+#endif
+
+
+//   fV0CHeight1  =  2.5; // height of cell 1
+//   fV0CHeight2  =  4.4; // height of cell 2
+//   fV0CHeight3  =  7.4; // height of cell 3
+//   fV0CHeight4  = 12.5; // height of cell 4
+//   fV0CRMin     =  4.6; // inner radius of box
+//
+//   fV0AR0       =  4.2; // Radius of hole
+//   fV0AR1       =  7.6; // Maximun radius of 1st cell
+//   fV0AR2       = 13.8; // Maximun radius of 2nd cell
+//   fV0AR3       = 22.7; // Maximun radius of 3rd cell
+//   fV0AR4       = 41.3; // Maximun radius of 4th cell
 
 void vzero_digits()
 {
@@ -86,8 +106,8 @@ void vzero_digits()
     }
   }
 
-  modL->RefHMTrans().SetPos(0, 0, 324);
-  modR->RefHMTrans().SetPos(0, 0, -84);
+  modL->RefMainTrans().SetPos(0, 0, 324);
+  modR->RefMainTrans().SetPos(0, 0, -84);
 
   gEve->AddElement(modL);
   gEve->AddElement(modR);