STAR Computing | |
Naming convention for Histograms in your Maker | |
Offline computing - ROOT in STAR | Maintained by K. Turner |
Please note that no matter which order you book your histograms in, they come out in the Browser in alphabetical order. This can be quite confusing if you have histograms from different Makers &/or different methods or tables in the same place. At the end of the chain, all histograms from everywhere will be written out to one place, so it becomes more confusing to find the particular ones you want.
Therefore, I suggest that we use following nomenclature for histogram NAMES in your Makers. The NAMES are what are used now instead of hist. ID (as in PAW). It is the first argument when defining your histogram.
I suggest
  NAME = "Maker_table_myname"
For example in the St_QA_Maker, I now have:
 
in St_QA_Maker.cxx
   
method Init:
     
m_glb_trk_gd = new TH1F("QA_evsum_glb_trk_gd","number of good
tracks ",ntrk, mintrk, maxtrk);
i.e. in the method Init, I have the first argument (Name) as
  QA_evsum_glb_trk_gd = Maker name (QA) _ table (event_summary = evsum)
_ name of this histogram