From Pawel Debski: further changes for VizDB.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Nov 2009 20:49:41 +0000 (20:49 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Nov 2009 20:49:41 +0000 (20:49 +0000)
15 files changed:
EVE/alice-macros/acorde_hits.C
EVE/alice-macros/emcal_hits.C
EVE/alice-macros/hmpid_clusters.C
EVE/alice-macros/its_clusters.C
EVE/alice-macros/its_hits.C
EVE/alice-macros/phos_clusters.C
EVE/alice-macros/pmd_hits.C
EVE/alice-macros/t0_hits.C
EVE/alice-macros/tof_clusters.C
EVE/alice-macros/tof_hits.C
EVE/alice-macros/tpc_clusters.C
EVE/alice-macros/tpc_hits.C
EVE/alice-macros/trd_clusters.C
EVE/alice-macros/trd_hits.C
EVE/macros/visscan_init.C

index fa4c6853fecf627b60947788cadfb9d55dd1ca43..4dc1874228f648e0e9cdf6c98dff1b7d79630854 100644 (file)
@@ -17,7 +17,7 @@ acorde_hits(const char  *varexp    = "ACORDE.fX:ACORDE.fY:ACORDE.fZ",
 
   TTree* ht = rl->GetTreeH("ACORDE", false);
 
-  TEvePointSet* points = new TEvePointSet(Form("SIM Hits ACORDE '%s'", selection));
+  TEvePointSet* points = new TEvePointSet(Form("ACORDE Hits '%s'", selection));
 
   TEvePointSelector ps(ht, points, varexp, selection);
   ps.Select();
@@ -29,6 +29,14 @@ acorde_hits(const char  *varexp    = "ACORDE.fX:ACORDE.fY:ACORDE.fZ",
     return 0;
   }
 
+  // PD - added tags
+  
+  points->SetName(Form("ACORDE Hits"));
+  const TString viz_tag("SIM Hits ACORDE");
+  points->ApplyVizTag(viz_tag, "Hits");
+
+  // PD
+
   points->SetTitle(Form("N=%d", points->Size()));
   points->SetMarkerSize(.5);
   points->SetMarkerColor(2);
index 5c8899ed529ddf13e4c5f281ce0e3bea051d1dc2..3894e696b95c9eaa307f81362dbb1fcd556f9da9 100644 (file)
@@ -17,7 +17,7 @@ emcal_hits(const char *varexp    = "fX:fY:fZ",
 
   TTree* ht = rl->GetTreeH("EMCAL", false);
 
-  TEvePointSet* points = new TEvePointSet(Form("SIM Hits EMCAL '%s'", selection));
+  TEvePointSet* points = new TEvePointSet(Form("EMCAL Hits '%s'", selection));
 
   TEvePointSelector ps(ht, points, varexp, selection);
   ps.Select();
@@ -28,6 +28,14 @@ emcal_hits(const char *varexp    = "fX:fY:fZ",
     return 0;
   }
 
+  // PD - added tags
+  
+  points->SetName(Form("EMCAL Hits"));
+  const TString viz_tag("SIM Hits EMCAL");
+  points->ApplyVizTag(viz_tag, "Hits");
+
+  // PD
+
   points->SetTitle(Form("N=%d", points->Size()));
   points->SetMarkerSize(.5);
   points->SetMarkerColor(2);
index cd2f2d770f365f2be86f6a6d721c8855f64b39dd..d930390dd0998e9bae19b92f38cbe4ce2e70631c 100644 (file)
@@ -85,14 +85,16 @@ TEvePointSet* hmpid_clusters(TEveElement* cont=0)
   clusters->SetMarkerSize(0.2);
   clusters->SetMarkerColor(4);
 
-  char form[1000];
-  sprintf(form,"HMPID Clusters");
-  clusters->SetName(form);
+  clusters->SetName("HMPID Clusters");
+
+  clusters->SetTitle(Form("N=%d", clusters->Size()));
+
+  const TString viz_tag("REC Clusters ITS");
+
+  clusters->ApplyVizTag(viz_tag, "Clusters");
 
-  char tip[1000];
-  sprintf(tip,"N=%d", clusters->Size());
-  clusters->SetTitle(tip);
   gEve->AddElement(clusters, cont);
+
   gEve->Redraw3D();
 
   return clusters;
index 55555189893c3e7d5b085988a9364294547c4e7d..8808ee6f01ddce867904f801ec34a506a54b8d03 100644 (file)
@@ -79,11 +79,12 @@ TEvePointSet* its_clusters(TEveElement* cont=0, Float_t maxR=50)
     return 0;
   }
 
-  clusters->SetName(Form("REC Clusters ITS"));
+  clusters->SetName("ITS Clusters");
 
   clusters->SetTitle(Form("N=%d", clusters->Size()));
 
   const TString viz_tag("REC Clusters ITS");
+
   clusters->ApplyVizTag(viz_tag, "Clusters");
 
   gEve->AddElement(clusters, cont);
index f643276e104865ec3c90351e8abfeb32a18d0cc9..58eee138de283436cfc98228406c82d7b399662b 100644 (file)
@@ -17,7 +17,7 @@ its_hits(const char *varexp    = "fX:fY:fZ",
 
   TTree* ht = rl->GetTreeH("ITS", false);
 
-  TEvePointSet* points = new TEvePointSet(Form("SIM Hits ITS '%s'", selection));
+  TEvePointSet* points = new TEvePointSet(Form("ITS Hits '%s'", selection));
 
   TEvePointSelector ps(ht, points, varexp, selection);
   // ps.SetSubIdExp("fTrack:fStatus");
@@ -29,12 +29,18 @@ its_hits(const char *varexp    = "fX:fY:fZ",
     return 0;
   }
 
-  points->SetTitle(Form("N=%d", points->Size()));
-
-  points->SetName("ITS Hits"));
+  // PD - added tags
+  
+  points->SetName(Form("ITS Hits"));
   const TString viz_tag("SIM Hits ITS");
   points->ApplyVizTag(viz_tag, "Hits");
 
+  // PD
+
+  points->SetTitle(Form("N=%d", points->Size()));
+  points->SetMarkerSize(.5);
+  points->SetMarkerColor(2);
+
   gEve->AddElement(points, cont);
   gEve->Redraw3D();
 
index 47bcf38f737e64d33a844f24a3be802ed8c3f252..d7d6c0e27fa4a2cf58f98ae460fb9113eda46c0c 100644 (file)
@@ -52,10 +52,16 @@ TEvePointSet* phos_clusters(TEveElement* cont=0)
   clusters->SetMarkerSize(0.5);
   clusters->SetMarkerColor(4);
 
-  clusters->SetName(Form("REC Clusters PHOS"));
+  clusters->SetName("PHOS Clusters");
 
   clusters->SetTitle(Form("N=%d", clusters->Size()));
+
+  const TString viz_tag("REC Clusters PHOS");
+
+  clusters->ApplyVizTag(viz_tag, "Clusters");
+
   gEve->AddElement(clusters);
+
   gEve->Redraw3D();
 
   return clusters;
index b08113b3c9df1fb073793bf7cf2e3fafea91d45d..e8345e9d29fbd77e73622195cec7714ca24217ce 100644 (file)
@@ -16,11 +16,19 @@ pmd_hits(const char *varexp    = "fX:fY:fZ",
 
   TTree* ht = rl->GetTreeH("PMD", false);
 
-  TEvePointSet* points = new TEvePointSet(Form("SIM Hits PMD '%s'", selection));
+  TEvePointSet* points = new TEvePointSet(Form("PMD Hits '%s'", selection));
 
   TEvePointSelector ps(ht, points, varexp, selection);
   ps.Select();
 
+  // PD - added tags
+  
+  points->SetName(Form("PMD Hits"));
+  const TString viz_tag("SIM Hits PMD");
+  points->ApplyVizTag(viz_tag, "Hits");
+
+  // PD
+
   points->SetTitle(Form("N=%d", points->Size()));
   points->SetMarkerSize(.5);
   points->SetMarkerColor(2);
index 5e03ae6fb0fc0ca458e2813c28c854d17cc87661..e6ca2def0a0b044485b38b769f7ddd7930427791 100644 (file)
@@ -31,7 +31,7 @@ t0_hits(const char *varexp    = "T0.fX:T0.fY:T0.fZ",
     // printf("Found %d hits in track %d.\n", nHits, it);
 
   }
-  TEvePointSet* points = new TEvePointSet(Form("SIM Hits T0 '%s'", selection));
+  TEvePointSet* points = new TEvePointSet(Form("T0 Hits '%s'", selection));
   points->SetSourceCS(TEvePointSelectorConsumer::kTVT_XYZ);
 
   TEvePointSelector ps(ht, points, varexp, selection);
@@ -43,7 +43,7 @@ t0_hits(const char *varexp    = "T0.fX:T0.fY:T0.fZ",
 
   // PD - added tags
   
-  points->SetName(Form("SIM Hits T0"));
+  points->SetName(Form("T0 Hits"));
   const TString viz_tag("SIM Hits T0");
   points->ApplyVizTag(viz_tag, "Hits");
 
index 2618bfee86c15afb5f0826fca4bebb7e659d5b7f..1b1c8076b7ad55565e67a9da75f19e163e6b985a 100644 (file)
@@ -76,7 +76,6 @@ TEvePointSet* tof_clusters(TEveElement* cont=0, Float_t maxR=390)
   clusters->ApplyVizTag(viz_tag, "Clusters");
 
   gEve->AddElement(clusters, cont);
-
   gEve->Redraw3D();
 
   return clusters;
@@ -140,7 +139,6 @@ TEvePointSet* tof_clusters_sec(Int_t selectedSector,
   }
 
   clusters->SetName(Form("REC Clusters TOF"));
-
   clusters->SetTitle(Form("N=%d", clusters->Size()));
 
   const TString viz_tag("REC Clusters TOF");
index c48cf5e66dda38ee0238b3b1f9004735b05fedec..df431f3d50a631b972a678c62144efad8598dcc9 100644 (file)
@@ -17,7 +17,7 @@ tof_hits(const char *varexp    = "fX:fY:fZ",
 
   TTree* ht = rl->GetTreeH("TOF", false);
   
-  TEvePointSet* points = new TEvePointSet(Form("SIM Hits TOF '%s'", selection));
+  TEvePointSet* points = new TEvePointSet(Form("TOF Hits '%s'", selection));
 
   TEvePointSelector ps(ht, points, varexp, selection);
   ps.Select();
@@ -28,6 +28,14 @@ tof_hits(const char *varexp    = "fX:fY:fZ",
     return 0;
   }
 
+ // PD - added tags
+  
+  points->SetName(Form("TOF Hits"));
+  const TString viz_tag("SIM Hits TOF");
+  points->ApplyVizTag(viz_tag, "Hits");
+
+  // PD
+
   points->SetTitle(Form("N=%d", points->Size()));
   points->SetMarkerSize(.5);
   points->SetMarkerColor(2);
index 13a70df0e370f5467629b820974491cbbe3738e8..f48573756f678738255af392303d852c1e60fc0a 100644 (file)
@@ -81,11 +81,12 @@ TEvePointSet* tpc_clusters(TEveElement* cont=0, Float_t maxR=270)
     return 0;
   }
 
-  clusters->SetName(Form("REC Clusters TPC"));
+  clusters->SetName("TPC Clusters");
 
   clusters->SetTitle(Form("N=%d", clusters->Size()));
 
   const TString viz_tag("REC Clusters TPC");
+
   clusters->ApplyVizTag(viz_tag, "Clusters");
 
   gEve->AddElement(clusters, cont);
index d652723e30c155e1ed19b754327a2df6a2652008..59a72572dbff476c25ac8b8e18334a6cced6adc4 100644 (file)
@@ -34,7 +34,7 @@ tpc_hits(const char  *varexp    = "TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ
 
   // PD - added tags
   
-  points->SetName(Form("SIM Hits TPC"));
+  points->SetName(Form("TPC Hits"));
   const TString viz_tag("SIM Hits TPC");
   points->ApplyVizTag(viz_tag, "Hits");
 
index 249d2cb75caf4e8033fde18a7c2629970449e8f7..dda663ad2caa00ccec2f7789c62696898d5a99a5 100644 (file)
@@ -65,11 +65,12 @@ TEvePointSet* trd_clusters(TEveElement *cont = 0)
     return 0;
   }
 
-  clusters->SetName(Form("REC Clusters TRD"));
+  clusters->SetName("TRD Clusters");
 
   clusters->SetTitle(Form("N=%d", clusters->Size()));
 
   const TString viz_tag("REC Clusters TRD");
+
   clusters->ApplyVizTag(viz_tag, "Clusters");
 
   gEve->AddElement(clusters, cont);
index a9054c16e2f27f34142df070dec7c1ab737d295f..bfcfb375a2cdd357dd9eed166f88012bc59b7e7c 100644 (file)
@@ -28,6 +28,14 @@ trd_hits(const char *varexp    = "fX:fY:fZ",
     return 0;
   }
 
+ // PD - added tags
+  
+  points->SetName(Form("TRD Hits"));
+  const TString viz_tag("SIM Hits TRD");
+  points->ApplyVizTag(viz_tag, "Hits");
+
+  // PD
+
   points->SetTitle(Form("N=%d", points->Size()));
   points->SetMarkerSize(.5);
   points->SetMarkerColor(7);
index b90cf28f9b260b6b46c90b5b0dba728a58203388..33c8d4d0f12e7052b3076d134aac51f069bc9548 100644 (file)
@@ -100,12 +100,12 @@ void visscan_init(const TString& cdburi = "",
   exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX",         "primary_vertex.C+", "primary_vertex",             "",                kTRUE));
   exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Ellipse", "primary_vertex.C+", "primary_vertex_ellipse",     "",                kTRUE));
   exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Box",     "primary_vertex.C+", "primary_vertex_box",         "kFALSE, 3, 3, 3", kFALSE));
-  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX",         "primary_vertex.C+", "primary_vertex_spd",         "",                kTRUE));
-  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Ellipse", "primary_vertex.C+", "primary_vertex_ellipse_spd", "",                kTRUE));
-  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Box",     "primary_vertex.C+", "primary_vertex_box_spd",     "kFALSE, 3, 3, 3", kFALSE));
-  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX",         "primary_vertex.C+", "primary_vertex_tpc",         "",                kFALSE));
-  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Ellipse", "primary_vertex.C+", "primary_vertex_ellipse_tpc", "",                kFALSE));
-  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Box",     "primary_vertex.C+", "primary_vertex_box_tpc",     "kFALSE, 3, 3, 3", kFALSE));
+  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX SPD",         "primary_vertex.C+", "primary_vertex_spd",         "",                kTRUE));
+  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Ellipse SPD", "primary_vertex.C+", "primary_vertex_ellipse_spd", "",                kTRUE));
+  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Box SPD",     "primary_vertex.C+", "primary_vertex_box_spd",     "kFALSE, 3, 3, 3", kFALSE));
+  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX TPC",         "primary_vertex.C+", "primary_vertex_tpc",         "",                kFALSE));
+  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Ellipse TPC", "primary_vertex.C+", "primary_vertex_ellipse_tpc", "",                kFALSE));
+  exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC PVTX Box TPC",     "primary_vertex.C+", "primary_vertex_box_tpc",     "kFALSE, 3, 3, 3", kFALSE));
 
   exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC V0",   "esd_V0_points.C",       "esd_V0_points_onfly"));
   exec->AddMacro(new AliEveMacro(AliEveMacro::kESD, "REC V0",   "esd_V0_points.C",       "esd_V0_points_offline"));