]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/muon_trackRefs.C
protection for weighted profile 3D
[u/mrichter/AliRoot.git] / EVE / alice-macros / muon_trackRefs.C
index 104248feeac82220f723dd8741a1ff9e3e15a2e4..335cd9602f591d57f4af45dd23dc965da108ab71 100644 (file)
@@ -6,30 +6,23 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
-// Macro to visualise trackRef in MUON spectrometer 
-// (both tracker and trigger).
-//
-// Use muon_trackRefs(Bool_t showSimClusters) in order to run it
-//
-// Needs that alieve_init() is already called
+/// \ingroup evemacros
+/// \file muon_trackRefs.C
+/// \brief Macro to visualise trackRef in MUON spectrometer 
+/// (both tracker and trigger).
+///
+/// Use muon_trackRefs(Bool_t showSimClusters) in order to run it
+///
+/// Needs that alieve_init() is already called
+///
+/// \author P. Pillot, L. Aphecetche; Subatech
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
-
-#include "AliMUONClusterStoreV2.h"
-#include "AliMUONRawClusterV2.h"
-#include "AliMUONVCluster.h"
-#include "AliMUONConstants.h"
-#include "AliMUONRecoParam.h"
-#include "AliMUONCDB.h"
-
-#include "AliRunLoader.h"
-#include "AliStack.h"
-#include "AliTrackReference.h"
-
-#include "EveBase/AliEveMagField.h"
-#include "EveBase/AliEveTrack.h"
-#include "EveBase/AliEveEventManager.h"
-
+#include <TClonesArray.h>
+#include <TTree.h>
+#include <TParticle.h>
+#include <TMath.h>
+#include <TROOT.h>
 #include <TEveManager.h>
 #include <TEveUtil.h>
 #include <TEveTrack.h>
 #include <TEveVSDStructs.h>
 #include <TEveTrackPropagator.h>
 
-#include <TClonesArray.h>
-#include <TTree.h>
-#include <TParticle.h>
-#include <TMath.h>
-#include <TROOT.h>
-
+#include <AliMUONClusterStoreV2.h>
+#include <AliMUONRawClusterV2.h>
+#include <AliMUONVCluster.h>
+#include <AliMUONConstants.h>
+#include <AliMUONRecoParam.h>
+#include <AliMUONCDB.h>
+#include <AliStack.h>
+#include <AliTrackReference.h>
+#include <AliRunLoader.h>
+#include <AliEveMagField.h>
+#include <AliEveTrack.h>
+#include <AliEveEventManager.h>
 #endif
 
 //______________________________________________________________________________
@@ -197,7 +196,7 @@ void add_muon_trackRefs(AliStack* stack, TTree* treeTR, TEveTrackList* reco, TEv
     {
       track->SortPathMarksByTime();
       // stop track propagation at last path mark
-      track->RefPathMarks().back().fType = TEvePathMark::kDecay;
+      track->RefPathMarks().back().fType = TEvePathMarkT<double>::EType_e(TEvePathMark::kDecay);
       
       // add the track and trackRefs to proper lists
       if (isReconstructible(chHit)) {