ROOT logo
#if ! defined (__CINT__) || defined (__MAKECINT__)
#include "TSystem.h"
#include "TROOT.h"
#include "TFile.h"
#include "TBranch.h"
#include "TIterator.h"
#include "TTree.h"
#include "TH1.h"
#include "TF1.h"
#include "TCanvas.h"
#include "TError.h"
#include "PWGPP/TRD/info/AliTRDtrendingManager.h"

#endif

void makeTrendingDB(const Char_t *fl)
{
// Make trending of variable list "tl" from trending file list "fl"
// The trending value list should be formated "var1:var2:var3"
// The trending file from the list should be found on a path formated "your path"/runId/TRD.PerformanceTrend.root 
  gSystem->Load("libANALYSIS.so");
  gSystem->Load("libANALYSISalice.so");
  gSystem->Load("libTENDER.so");
  gSystem->Load("libCORRFW.so");
  gSystem->Load("libPWGPP.so");
  gSystem->Load("libPWGmuon.so");

  const Int_t nt(322);
  const Char_t *tvn[nt][2] = {
    {"TRDcheckDET_NTracksEvent", "<N_{track}/Event>"},
    {"TRDcheckDET_NTracksEventRMS", "RMS(N_{track}/Event)"},
    {"TRDcheckDET_NTracksSector", "<N_{track}/Sector>"},
    {"TRDcheckDET_NClustersTrack", "<N_{cls}/Track>"},
    {"TRDcheckDET_NClustersTrackRMS", "RMS(N_{cls}/Track)"},
    {"TRDcheckDET_NClustersTracklet", "<N_{cls}/Tracklet>"},
    {"TRDcheckDET_NClustersTrackletRMS", "RMS(N_{cls}/Tracklet)"},
    {"TRDcheckDET_NTrackletsTrack", "<N_{tracklet}/Track>"},
    {"TRDcheckDET_NTrackletsTrackRMS", "RMS(N_{tracklet}/Track)"},
    {"TRDcheckDET_ChargeTracklet", "<dQdl>"},
    {"TRDcheckDET_ChargeTrackletRMS", "RMS(dQdl)"},
    {"TRDcheckDET_PHplateau", "Plateau(<PH>)"},
    {"TRDcheckDET_PHslope", "Slope(<PH>)"},
    {"TRDcheckDET_PHamplificationPeak", "Peak(<PH>)"},
//=======================================================
    {"TRDefficiency_pt", "TPC-TRD efficiency"},
    {"TRDefficiency_pt0", "Eff.| #it{p_{t}[GeV/c]<0.5}"},
    {"TRDefficiency_pt1", "Eff.| #it{0.5<=p_{t}[GeV/c]<0.8}"},
    {"TRDefficiency_pt2", "Eff.| #it{0.8<=p_{t}[GeV/c]<1.5}"},
    {"TRDefficiency_pt3", "Eff.| #it{1.5<=p_{t}[GeV/c]<5.0}"},
    {"TRDefficiency_pt4", "Eff.| #it{5.0<=p_{t}[GeV/c]}"},
//=======================================================
    {"TRDresolution_ClS0", "Cl :: #sigma(#Deltay) [cm] | Ly0"},
    {"TRDresolution_ClS1", "Cl :: #sigma(#Deltay) [cm] | Ly1"},
    {"TRDresolution_ClS2", "Cl :: #sigma(#Deltay) [cm] | Ly2"},
    {"TRDresolution_ClS3", "Cl :: #sigma(#Deltay) [cm] | Ly3"},
    {"TRDresolution_ClS4", "Cl :: #sigma(#Deltay) [cm] | Ly4"},
    {"TRDresolution_ClS5", "Cl :: #sigma(#Deltay) [cm] | Ly5"},
//=======================================================
    {"TRDresolution_TrkltY0", "Trklt :: <#Deltay> [cm] | Ly0"},
    {"TRDresolution_TrkltY1", "Trklt :: <#Deltay> [cm] | Ly1"},
    {"TRDresolution_TrkltY2", "Trklt :: <#Deltay> [cm] | Ly2"},
    {"TRDresolution_TrkltY3", "Trklt :: <#Deltay> [cm] | Ly3"},
    {"TRDresolution_TrkltY4", "Trklt :: <#Deltay> [cm] | Ly4"},
    {"TRDresolution_TrkltY5", "Trklt :: <#Deltay> [cm] | Ly5"},
    {"TRDresolution_TrkltYS0", "Trklt :: #sigma(#Deltay) [cm] | Ly0"},
    {"TRDresolution_TrkltYS1", "Trklt :: #sigma(#Deltay) [cm] | Ly1"},
    {"TRDresolution_TrkltYS2", "Trklt :: #sigma(#Deltay) [cm] | Ly2"},
    {"TRDresolution_TrkltYS3", "Trklt :: #sigma(#Deltay) [cm] | Ly3"},
    {"TRDresolution_TrkltYS4", "Trklt :: #sigma(#Deltay) [cm] | Ly4"},
    {"TRDresolution_TrkltYS5", "Trklt :: #sigma(#Deltay) [cm] | Ly5"},
//=======================================================
    {"TRDresolution_TrkInYnL0", "TrkIn :: <#Deltay>^{e-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYnl0", "TrkIn :: <#Deltay>^{e-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYni0", "TrkIn :: <#Deltay>^{e-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYnh0", "TrkIn :: <#Deltay>^{e-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYnH0", "TrkIn :: <#Deltay>^{e-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYn0", "TrkIn :: <#Deltay>^{e-} [cm]"},
    {"TRDresolution_TrkInYSnL0", "TrkIn :: RMS(#Deltay)^{e-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSnl0", "TrkIn :: RMS(#Deltay)^{e-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSni0", "TrkIn :: RMS(#Deltay)^{e-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSnh0", "TrkIn :: RMS(#Deltay)^{e-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSnH0", "TrkIn :: RMS(#Deltay)^{e-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSn0", "TrkIn :: RMS(#Deltay)^{e-} [cm]"},
    {"TRDresolution_TrkInPhnL0", "TrkIn :: <#Delta#phi>^{e-}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhnl0", "TrkIn :: <#Delta#phi>^{e-}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhni0", "TrkIn :: <#Delta#phi>^{e-}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhnh0", "TrkIn :: <#Delta#phi>^{e-}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhnH0", "TrkIn :: <#Delta#phi>^{e-}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhn0", "TrkIn :: <#Delta#phi>^{e-} [deg]"},
    {"TRDresolution_TrkInPhSnL0", "TrkIn :: RMS<#Delta#phi>^{e-}| #it{p[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSnl0", "TrkIn :: RMS<#Delta#phi>^{e-}| #it{0.5<=p[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSni0", "TrkIn :: RMS<#Delta#phi>^{e-}| #it{0.8<=p[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSnh0", "TrkIn :: RMS<#Delta#phi>^{e-}| #it{1.5<=p[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSnH0", "TrkIn :: RMS<#Delta#phi>^{e-}| #it{5.0<=p[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSn0", "TrkIn :: RMS<#Delta#phi>^{e-} [deg]"},
    {"TRDresolution_TrkInQnL0", "TrkIn :: MPV(dQdl)^{e-}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQnl0", "TrkIn :: MPV(dQdl)^{e-}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQni0", "TrkIn :: MPV(dQdl)^{e-}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQnh0", "TrkIn :: MPV(dQdl)^{e-}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQnH0", "TrkIn :: MPV(dQdl)^{e-}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQn0", "TrkIn :: MPV(dQdl)^{e-} [a.u.]"},
    {"TRDresolution_TrkInQSnL0", "TrkIn :: <dQdl>^{e-}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQSnl0", "TrkIn :: <dQdl>^{e-}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQSni0", "TrkIn :: <dQdl>^{e-}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQSnh0", "TrkIn :: <dQdl>^{e-}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQSnH0", "TrkIn :: <dQdl>^{e-}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQSn0", "TrkIn :: <dQdl>^{e-} [a.u.]"},
    {"TRDresolution_TrkInYnL1", "TrkIn :: <#Deltay>^{#mu#pi-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYnl1", "TrkIn :: <#Deltay>^{#mu#pi-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYni1", "TrkIn :: <#Deltay>^{#mu#pi-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYnh1", "TrkIn :: <#Deltay>^{#mu#pi-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYnH1", "TrkIn :: <#Deltay>^{#mu#pi-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYn1", "TrkIn :: <#Deltay>^{#mu#pi-} [cm]"},
    {"TRDresolution_TrkInYSnL1", "TrkIn :: RMS(#Deltay)^{#mu#pi-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSnl1", "TrkIn :: RMS(#Deltay)^{#mu#pi-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSni1", "TrkIn :: RMS(#Deltay)^{#mu#pi-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSnh1", "TrkIn :: RMS(#Deltay)^{#mu#pi-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSnH1", "TrkIn :: RMS(#Deltay)^{#mu#pi-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSn1", "TrkIn :: RMS(#Deltay)^{#mu#pi-} [cm]"},
    {"TRDresolution_TrkInPhnL1", "TrkIn :: <#Delta#phi>^{#mu#pi-}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhnl1", "TrkIn :: <#Delta#phi>^{#mu#pi-}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhni1", "TrkIn :: <#Delta#phi>^{#mu#pi-}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhnh1", "TrkIn :: <#Delta#phi>^{#mu#pi-}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhnH1", "TrkIn :: <#Delta#phi>^{#mu#pi-}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhn1", "TrkIn :: <#Delta#phi>^{#mu#pi-} [deg]"},
    {"TRDresolution_TrkInPhSnL1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi-}| #it{p[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSnl1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi-}| #it{0.5<=p[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSni1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi-}| #it{0.8<=p[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSnh1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi-}| #it{1.5<=p[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSnH1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi-}| #it{5.0<=p[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSn1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi-} [deg]"},
    {"TRDresolution_TrkInQnL1", "TrkIn :: MPV(dQdl)^{#mu#pi-}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQnl1", "TrkIn :: MPV(dQdl)^{#mu#pi-}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQni1", "TrkIn :: MPV(dQdl)^{#mu#pi-}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQnh1", "TrkIn :: MPV(dQdl)^{#mu#pi-}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQnH1", "TrkIn :: MPV(dQdl)^{#mu#pi-}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQn1", "TrkIn :: MPV(dQdl)^{#mu#pi-} [a.u.]"},
    {"TRDresolution_TrkInQSnL1", "TrkIn :: <dQdl>^{#mu#pi-}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQSnl1", "TrkIn :: <dQdl>^{#mu#pi-}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQSni1", "TrkIn :: <dQdl>^{#mu#pi-}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQSnh1", "TrkIn :: <dQdl>^{#mu#pi-}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQSnH1", "TrkIn :: <dQdl>^{#mu#pi-}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQSn1", "TrkIn :: <dQdl>^{#mu#pi-} [a.u.]"},
    {"TRDresolution_TrkInYnL2", "TrkIn :: <#Deltay>^{Kp-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYnl2", "TrkIn :: <#Deltay>^{Kp-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYni2", "TrkIn :: <#Deltay>^{Kp-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYnh2", "TrkIn :: <#Deltay>^{Kp-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYnH2", "TrkIn :: <#Deltay>^{Kp-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYn2", "TrkIn :: <#Deltay>^{Kp-} [cm]"},
    {"TRDresolution_TrkInYSnL2", "TrkIn :: RMS(#Deltay)^{Kp-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSnl2", "TrkIn :: RMS(#Deltay)^{Kp-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSni2", "TrkIn :: RMS(#Deltay)^{Kp-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSnh2", "TrkIn :: RMS(#Deltay)^{Kp-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSnH2", "TrkIn :: RMS(#Deltay)^{Kp-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSn2", "TrkIn :: RMS(#Deltay)^{Kp-} [cm]"},
    {"TRDresolution_TrkInPhnL2", "TrkIn :: <#Delta#phi>^{Kp-}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhnl2", "TrkIn :: <#Delta#phi>^{Kp-}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhni2", "TrkIn :: <#Delta#phi>^{Kp-}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhnh2", "TrkIn :: <#Delta#phi>^{Kp-}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhnH2", "TrkIn :: <#Delta#phi>^{Kp-}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhn2", "TrkIn :: <#Delta#phi>^{Kp-} [deg]"},
    {"TRDresolution_TrkInPhSnL2", "TrkIn :: RMS<#Delta#phi>^{Kp-}| #it{p[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSnl2", "TrkIn :: RMS<#Delta#phi>^{Kp-}| #it{0.5<=p[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSni2", "TrkIn :: RMS<#Delta#phi>^{Kp-}| #it{0.8<=p[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSnh2", "TrkIn :: RMS<#Delta#phi>^{Kp-}| #it{1.5<=p[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSnH2", "TrkIn :: RMS<#Delta#phi>^{Kp-}| #it{5.0<=p[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSn2", "TrkIn :: RMS<#Delta#phi>^{Kp-} [deg]"},
    {"TRDresolution_TrkInQnL2", "TrkIn :: MPV(dQdl)^{Kp-}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQnl2", "TrkIn :: MPV(dQdl)^{Kp-}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQni2", "TrkIn :: MPV(dQdl)^{Kp-}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQnh2", "TrkIn :: MPV(dQdl)^{Kp-}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQnH2", "TrkIn :: MPV(dQdl)^{Kp-}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQn2", "TrkIn :: MPV(dQdl)^{Kp-} [a.u.]"},
    {"TRDresolution_TrkInQSnL2", "TrkIn :: <dQdl>^{Kp-}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQSnl2", "TrkIn :: <dQdl>^{Kp-}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQSni2", "TrkIn :: <dQdl>^{Kp-}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQSnh2", "TrkIn :: <dQdl>^{Kp-}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQSnH2", "TrkIn :: <dQdl>^{Kp-}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQSn2", "TrkIn :: <dQdl>^{Kp-} [a.u.]"},
    {"TRDresolution_TrkInYnL", "TrkIn :: <#Deltay>^{-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSnL", "TrkIn :: RMS(#Deltay)^{-}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInPhnL", "TrkIn :: <#Delta#phi>^{-}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSnL", "TrkIn :: RMS<#Delta#phi>^{-}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInYnl", "TrkIn :: <#Deltay>^{-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSnl", "TrkIn :: RMS(#Deltay)^{-}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInPhnl", "TrkIn :: <#Delta#phi>^{-}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSnl", "TrkIn :: RMS<#Delta#phi>^{-}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInYni", "TrkIn :: <#Deltay>^{-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSni", "TrkIn :: RMS(#Deltay)^{-}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInPhni", "TrkIn :: <#Delta#phi>^{-}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSni", "TrkIn :: RMS<#Delta#phi>^{-}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInYnh", "TrkIn :: <#Deltay>^{-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSnh", "TrkIn :: RMS(#Deltay)^{-}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInPhnh", "TrkIn :: <#Delta#phi>^{-}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSnh", "TrkIn :: RMS<#Delta#phi>^{-}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInYnH", "TrkIn :: <#Deltay>^{-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSnH", "TrkIn :: RMS(#Deltay)^{-}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInPhnH", "TrkIn :: <#Delta#phi>^{-}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSnH", "TrkIn :: RMS<#Delta#phi>^{-}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInYn", "TrkIn :: <#Deltay>^{-} [cm]"},
    {"TRDresolution_TrkInYSn", "TrkIn :: RMS(#Deltay)^{-} [cm]"},
    {"TRDresolution_TrkInPhn", "TrkIn :: <#Delta#phi>^{-} [deg]"},
    {"TRDresolution_TrkInPhSn", "TrkIn :: RMS<#Delta#phi>^{-} [deg]"},
    {"TRDresolution_TrkInYpL0", "TrkIn :: <#Deltay>^{e+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYpl0", "TrkIn :: <#Deltay>^{e+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYpi0", "TrkIn :: <#Deltay>^{e+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYph0", "TrkIn :: <#Deltay>^{e+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYpH0", "TrkIn :: <#Deltay>^{e+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYp0", "TrkIn :: <#Deltay>^{e+} [cm]"},
    {"TRDresolution_TrkInYSpL0", "TrkIn :: RMS(#Deltay)^{e+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSpl0", "TrkIn :: RMS(#Deltay)^{e+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSpi0", "TrkIn :: RMS(#Deltay)^{e+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSph0", "TrkIn :: RMS(#Deltay)^{e+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSpH0", "TrkIn :: RMS(#Deltay)^{e+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSp0", "TrkIn :: RMS(#Deltay)^{e+} [cm]"},
    {"TRDresolution_TrkInPhpL0", "TrkIn :: <#Delta#phi>^{e+}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhpl0", "TrkIn :: <#Delta#phi>^{e+}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhpi0", "TrkIn :: <#Delta#phi>^{e+}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhph0", "TrkIn :: <#Delta#phi>^{e+}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhpH0", "TrkIn :: <#Delta#phi>^{e+}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhp0", "TrkIn :: <#Delta#phi>^{e+} [deg]"},
    {"TRDresolution_TrkInPhSpL0", "TrkIn :: RMS<#Delta#phi>^{e+}| #it{p[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSpl0", "TrkIn :: RMS<#Delta#phi>^{e+}| #it{0.5<=p[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSpi0", "TrkIn :: RMS<#Delta#phi>^{e+}| #it{0.8<=p[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSph0", "TrkIn :: RMS<#Delta#phi>^{e+}| #it{1.5<=p[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSpH0", "TrkIn :: RMS<#Delta#phi>^{e+}| #it{5.0<=p[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSp0", "TrkIn :: RMS<#Delta#phi>^{e+} [deg]"},
    {"TRDresolution_TrkInQpL0", "TrkIn :: MPV(dQdl)^{e+}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQpl0", "TrkIn :: MPV(dQdl)^{e+}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQpi0", "TrkIn :: MPV(dQdl)^{e+}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQph0", "TrkIn :: MPV(dQdl)^{e+}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQpH0", "TrkIn :: MPV(dQdl)^{e+}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQp0", "TrkIn :: MPV(dQdl)^{e+} [a.u.]"},
    {"TRDresolution_TrkInQSpL0", "TrkIn :: <dQdl>^{e+}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQSpl0", "TrkIn :: <dQdl>^{e+}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQSpi0", "TrkIn :: <dQdl>^{e+}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQSph0", "TrkIn :: <dQdl>^{e+}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQSpH0", "TrkIn :: <dQdl>^{e+}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQSp0", "TrkIn :: <dQdl>^{e+} [a.u.]"},
    {"TRDresolution_TrkInYpL1", "TrkIn :: <#Deltay>^{#mu#pi+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYpl1", "TrkIn :: <#Deltay>^{#mu#pi+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYpi1", "TrkIn :: <#Deltay>^{#mu#pi+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYph1", "TrkIn :: <#Deltay>^{#mu#pi+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYpH1", "TrkIn :: <#Deltay>^{#mu#pi+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYp1", "TrkIn :: <#Deltay>^{#mu#pi+} [cm]"},
    {"TRDresolution_TrkInYSpL1", "TrkIn :: RMS(#Deltay)^{#mu#pi+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSpl1", "TrkIn :: RMS(#Deltay)^{#mu#pi+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSpi1", "TrkIn :: RMS(#Deltay)^{#mu#pi+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSph1", "TrkIn :: RMS(#Deltay)^{#mu#pi+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSpH1", "TrkIn :: RMS(#Deltay)^{#mu#pi+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSp1", "TrkIn :: RMS(#Deltay)^{#mu#pi+} [cm]"},
    {"TRDresolution_TrkInPhpL1", "TrkIn :: <#Delta#phi>^{#mu#pi+}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhpl1", "TrkIn :: <#Delta#phi>^{#mu#pi+}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhpi1", "TrkIn :: <#Delta#phi>^{#mu#pi+}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhph1", "TrkIn :: <#Delta#phi>^{#mu#pi+}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhpH1", "TrkIn :: <#Delta#phi>^{#mu#pi+}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhp1", "TrkIn :: <#Delta#phi>^{#mu#pi+} [deg]"},
    {"TRDresolution_TrkInPhSpL1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi+}| #it{p[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSpl1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi+}| #it{0.5<=p[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSpi1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi+}| #it{0.8<=p[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSph1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi+}| #it{1.5<=p[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSpH1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi+}| #it{5.0<=p[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSp1", "TrkIn :: RMS<#Delta#phi>^{#mu#pi+} [deg]"},
    {"TRDresolution_TrkInQpL1", "TrkIn :: MPV(dQdl)^{#mu#pi+}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQpl1", "TrkIn :: MPV(dQdl)^{#mu#pi+}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQpi1", "TrkIn :: MPV(dQdl)^{#mu#pi+}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQph1", "TrkIn :: MPV(dQdl)^{#mu#pi+}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQpH1", "TrkIn :: MPV(dQdl)^{#mu#pi+}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQp1", "TrkIn :: MPV(dQdl)^{#mu#pi+} [a.u.]"},
    {"TRDresolution_TrkInQSpL1", "TrkIn :: <dQdl>^{#mu#pi+}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQSpl1", "TrkIn :: <dQdl>^{#mu#pi+}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQSpi1", "TrkIn :: <dQdl>^{#mu#pi+}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQSph1", "TrkIn :: <dQdl>^{#mu#pi+}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQSpH1", "TrkIn :: <dQdl>^{#mu#pi+}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQSp1", "TrkIn :: <dQdl>^{#mu#pi+} [a.u.]"},
    {"TRDresolution_TrkInYpL2", "TrkIn :: <#Deltay>^{Kp+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYpl2", "TrkIn :: <#Deltay>^{Kp+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYpi2", "TrkIn :: <#Deltay>^{Kp+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYph2", "TrkIn :: <#Deltay>^{Kp+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYpH2", "TrkIn :: <#Deltay>^{Kp+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYp2", "TrkIn :: <#Deltay>^{Kp+} [cm]"},
    {"TRDresolution_TrkInYSpL2", "TrkIn :: RMS(#Deltay)^{Kp+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSpl2", "TrkIn :: RMS(#Deltay)^{Kp+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSpi2", "TrkIn :: RMS(#Deltay)^{Kp+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSph2", "TrkIn :: RMS(#Deltay)^{Kp+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSpH2", "TrkIn :: RMS(#Deltay)^{Kp+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSp2", "TrkIn :: RMS(#Deltay)^{Kp+} [cm]"},
    {"TRDresolution_TrkInPhpL2", "TrkIn :: <#Delta#phi>^{Kp+}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhpl2", "TrkIn :: <#Delta#phi>^{Kp+}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhpi2", "TrkIn :: <#Delta#phi>^{Kp+}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhph2", "TrkIn :: <#Delta#phi>^{Kp+}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhpH2", "TrkIn :: <#Delta#phi>^{Kp+}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhp2", "TrkIn :: <#Delta#phi>^{Kp+} [deg]"},
    {"TRDresolution_TrkInPhSpL2", "TrkIn :: RMS<#Delta#phi>^{Kp+}| #it{p[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSpl2", "TrkIn :: RMS<#Delta#phi>^{Kp+}| #it{0.5<=p[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSpi2", "TrkIn :: RMS<#Delta#phi>^{Kp+}| #it{0.8<=p[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSph2", "TrkIn :: RMS<#Delta#phi>^{Kp+}| #it{1.5<=p[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSpH2", "TrkIn :: RMS<#Delta#phi>^{Kp+}| #it{5.0<=p[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSp2", "TrkIn :: RMS<#Delta#phi>^{Kp+} [deg]"},
    {"TRDresolution_TrkInQpL2", "TrkIn :: MPV(dQdl)^{Kp+}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQpl2", "TrkIn :: MPV(dQdl)^{Kp+}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQpi2", "TrkIn :: MPV(dQdl)^{Kp+}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQph2", "TrkIn :: MPV(dQdl)^{Kp+}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQpH2", "TrkIn :: MPV(dQdl)^{Kp+}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQp2", "TrkIn :: MPV(dQdl)^{Kp+} [a.u.]"},
    {"TRDresolution_TrkInQSpL2", "TrkIn :: <dQdl>^{Kp+}| #it{p[GeV/c]<0.5} [a.u.]"},
    {"TRDresolution_TrkInQSpl2", "TrkIn :: <dQdl>^{Kp+}| #it{0.5<=p[GeV/c]<0.8} [a.u.]"},
    {"TRDresolution_TrkInQSpi2", "TrkIn :: <dQdl>^{Kp+}| #it{0.8<=p[GeV/c]<1.5} [a.u.]"},
    {"TRDresolution_TrkInQSph2", "TrkIn :: <dQdl>^{Kp+}| #it{1.5<=p[GeV/c]<5.0} [a.u.]"},
    {"TRDresolution_TrkInQSpH2", "TrkIn :: <dQdl>^{Kp+}| #it{5.0<=p[GeV/c]} [a.u.]"},
    {"TRDresolution_TrkInQSp2", "TrkIn :: <dQdl>^{Kp+} [a.u.]"},
    {"TRDresolution_TrkInYpL", "TrkIn :: <#Deltay>^{+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInYSpL", "TrkIn :: RMS(#Deltay)^{+}| #it{p_{t}[GeV/c]<0.5} [cm]"},
    {"TRDresolution_TrkInPhpL", "TrkIn :: <#Delta#phi>^{+}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInPhSpL", "TrkIn :: RMS<#Delta#phi>^{+}| #it{p_{t}[GeV/c]<0.5} [deg]"},
    {"TRDresolution_TrkInYpl", "TrkIn :: <#Deltay>^{+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInYSpl", "TrkIn :: RMS(#Deltay)^{+}| #it{0.5<=p_{t}[GeV/c]<0.8} [cm]"},
    {"TRDresolution_TrkInPhpl", "TrkIn :: <#Delta#phi>^{+}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInPhSpl", "TrkIn :: RMS<#Delta#phi>^{+}| #it{0.5<=p_{t}[GeV/c]<0.8} [deg]"},
    {"TRDresolution_TrkInYpi", "TrkIn :: <#Deltay>^{+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInYSpi", "TrkIn :: RMS(#Deltay)^{+}| #it{0.8<=p_{t}[GeV/c]<1.5} [cm]"},
    {"TRDresolution_TrkInPhpi", "TrkIn :: <#Delta#phi>^{+}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInPhSpi", "TrkIn :: RMS<#Delta#phi>^{+}| #it{0.8<=p_{t}[GeV/c]<1.5} [deg]"},
    {"TRDresolution_TrkInYph", "TrkIn :: <#Deltay>^{+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInYSph", "TrkIn :: RMS(#Deltay)^{+}| #it{1.5<=p_{t}[GeV/c]<5.0} [cm]"},
    {"TRDresolution_TrkInPhph", "TrkIn :: <#Delta#phi>^{+}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInPhSph", "TrkIn :: RMS<#Delta#phi>^{+}| #it{1.5<=p_{t}[GeV/c]<5.0} [deg]"},
    {"TRDresolution_TrkInYpH", "TrkIn :: <#Deltay>^{+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInYSpH", "TrkIn :: RMS(#Deltay)^{+}| #it{5.0<=p_{t}[GeV/c]} [cm]"},
    {"TRDresolution_TrkInPhpH", "TrkIn :: <#Delta#phi>^{+}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInPhSpH", "TrkIn :: RMS<#Delta#phi>^{+}| #it{5.0<=p_{t}[GeV/c]} [deg]"},
    {"TRDresolution_TrkInYp", "TrkIn :: <#Deltay>^{+} [cm]"},
    {"TRDresolution_TrkInYSp", "TrkIn :: RMS(#Deltay)^{+} [cm]"},
    {"TRDresolution_TrkInPhp", "TrkIn :: <#Delta#phi>^{+} [deg]"},
    {"TRDresolution_TrkInPhSp", "TrkIn :: RMS<#Delta#phi>^{+} [deg]"},
    {"TRDresolution_TrkInY0", "TrkIn :: <#Deltay>^{e} [cm]"},
    {"TRDresolution_TrkInPh0", "TrkIn :: <#Delta#phi>^{e} [deg]"},
    {"TRDresolution_TrkInQ0", "TrkIn :: MPV(dQdl)^{e} [a.u.]"},
    {"TRDresolution_TrkInQS0", "TrkIn :: <dQdl>^{e} [a.u.]"},
    {"TRDresolution_TrkInY1", "TrkIn :: <#Deltay>^{#mu#pi} [cm]"},
    {"TRDresolution_TrkInPh1", "TrkIn :: <#Delta#phi>^{#mu#pi} [deg]"},
    {"TRDresolution_TrkInQ1", "TrkIn :: MPV(dQdl)^{#mu#pi} [a.u.]"},
    {"TRDresolution_TrkInQS1", "TrkIn :: <dQdl>^{#mu#pi} [a.u.]"},
    {"TRDresolution_TrkInY2", "TrkIn :: <#Deltay>^{Kp} [cm]"},
    {"TRDresolution_TrkInPh2", "TrkIn :: <#Delta#phi>^{Kp} [deg]"},
    {"TRDresolution_TrkInQ2", "TrkIn :: MPV(dQdl)^{Kp} [a.u.]"},
    {"TRDresolution_TrkInQS2", "TrkIn :: <dQdl>^{Kp} [a.u.]"},
    {"TRDresolution_TrkInRCZ", "TrkIn :: <#Deltaz> [cm]"},
    {"TRDresolution_TrkInRCZS", "TrkIn :: #sigma(#Deltaz) [cm]"},
    {"TRDresolution_TrkInPtn0", "TrkIn :: <p_{t}>^{e-} [GeV/c]"},
    {"TRDresolution_TrkInPtp0", "TrkIn :: <p_{t}>^{e+} [GeV/c]"},
    {"TRDresolution_TrkInPtn1", "TrkIn :: <p_{t}>^{#mu#pi-} [GeV/c]"},
    {"TRDresolution_TrkInPtp1", "TrkIn :: <p_{t}>^{#mu#pi+} [GeV/c]"},
    {"TRDresolution_TrkInPtn2", "TrkIn :: <p_{t}>^{Kp-} [GeV/c]"},
    {"TRDresolution_TrkInPtp2", "TrkIn :: <p_{t}>^{Kp+} [GeV/c]"}
  };
  const char *resName[] = {"Markus Fasel", "Alexandru Bercuci"},
             *resMail[] = {"M.Fasel@gsi.de", "A.Bercuci@gsi.de"};
  const char *notName[] = {"Julian Book", "Hans Beck", "Ionut Arsene", "Raphaelle Bailache", "Christoph Blume"},
             *notMail[] = {"jbook@ikf.uni-frankfurt.de", "hbeck@ikf.uni-frankfurt.de", "I.C.Arsene@gsi.de", "R.Bailhache@gsi.de", "blume@ikf.uni-frankfurt.de"};
  Int_t nDet(0), nEff(0), nRes(0);
  for(Int_t jnt(0); jnt<nt; jnt++){
    //printf("%3d %s %s\n", jnt, tvn[jnt][0], tvn[jnt][1]);
    if(strstr(tvn[jnt][0], "TRDcheckDET")) nDet++;
    else if(strstr(tvn[jnt][0], "TRDefficiency")) nEff++;
    else if(strstr(tvn[jnt][0], "TRDresolution")) nRes++;
    else {
      Error("makeTrendingDB", "Entry \"%s\" not registered as trending task.", tvn[jnt][0]);
      return;
    }
  }
  Info("makeTrendingDB", "Trends :: %3d = %3d[DET] %3d[EFF] %3d[RES]", nt, nDet, nEff, nRes);

  TFile *fDB = TFile::Open("TRD.TrendDB.root", "RECREATE");
  TTree *tDB = new TTree("trend", "Reference Trend Values");
  Double_t val[nt+1000]; Int_t jt(0);
  TBranch *b(NULL);
  for(Int_t it(0); it<nt; it++){  // ALL
    b = tDB->Branch(tvn[it][0], &val[jt++], Form("%s/D", tvn[it][0]));
    b->SetTitle(tvn[it][1]);
  }
  for(Int_t it(nDet); it<nDet+nEff; it++){ // extra EFF (MC)
    TString stn("TRDefficiency_MC"); stn+=&tvn[it][0][14];
    b = tDB->Branch(stn.Data(), &val[jt++], Form("%s/D", stn.Data()));
    b->SetTitle(Form("[MC] %s", tvn[it][1]));
  }
  for(Int_t it(nDet+nEff); it<nDet+nEff+nRes; it++){ // extra RES (MC)
    TString stn("TRDresolution_MC"); stn+=&tvn[it][0][14];
    b= tDB->Branch(stn.Data(), &val[jt++], Form("%s/D", stn.Data()));
    b->SetTitle(Form("[MC] %s", tvn[it][1]));
  }
  for(Int_t it(nDet+nEff); it<nDet+nEff+nRes; it++){ // extra RES (V0)
    TString stn("TRDresolution_V0"); stn+=&tvn[it][0][14];
    b = tDB->Branch(stn.Data(), &val[jt++], Form("%s/D", stn.Data()));
    b->SetTitle(Form("[V0] %s", tvn[it][1]));
  }
  gROOT->cd();
  Info("makeTrendingDB", "Trends :: Combined [%3d]", tDB->GetNbranches());
  TIterator *ib = tDB->GetListOfBranches()->MakeIterator();
  
  AliTRDtrendValue *tv(NULL);
  FILE *fp = fopen(fl, "rt");
  TString sfp;
  while(sfp.Gets(fp)){
    if(!TFile::Open(sfp.Data())) continue;
    Int_t nmiss(0), nbads(0), it(-1); ib->Reset();
    while((b=(TBranch*)ib->Next())){
      val[++it] = -999;
      if(!(tv = (AliTRDtrendValue*)gFile->Get(b->GetName()))) {
        //Warning("makeTrendingDB()", "Missing %s from %s", b->GetName(), sfp.Data());
        nmiss++;
        continue;
      }
      if((strstr(b->GetName(), "TRDcheckDET") ||
          strstr(b->GetName(), "QS") ||
          strstr(b->GetName(), "YS")) && TMath::Abs(tv->GetVal()) < 1.e-5){
        //Info("makeTrendingDB()", "Found bad value for %s[%f] in %s", b->GetName(), tv->GetVal(), sfp.Data());
        nbads++;
        continue;
      }
      val[it] = tv->GetVal();
    }
    Warning("makeTrendingDB()", "%s :: Missing[%d] Bads[%d]", sfp.Data(), nmiss, nbads);
    gFile->Close();
    tDB->Fill();
  }

//   TFile *fDB = TFile::Open("TRD.TrendDB.root");
//   TTree *tDB = (TTree*)gFile->Get("trend");
//   Double_t val[nt];
//   for(Int_t it(0); it<nt; it++) tDB->SetBranchAddress(tvn[it][0], &val[it]);
//   gROOT->cd();

  TString res[] = {Form("%s/%s", resName[0], resMail[0]), Form("%s/%s", resName[1], resMail[1])};
  TString notifiable;
  for(Int_t inot(0); inot<5; inot++){
    notifiable+=notName[inot];
    notifiable+="/";
    notifiable+=notMail[inot];
    if(inot<4) notifiable+=",";
  }
  TF1 f("f", "gaus", -100, 100); TH1 *h(NULL);
  AliTRDtrendingManager *tm = AliTRDtrendingManager::Instance();
  TCanvas *c = new TCanvas("c", "Trend Distrib.", 10, 10, 500, 500);
  Int_t ntr=tDB->GetEntries();
  Int_t it(-1); ib->Reset();
  while((b=(TBranch*)ib->Next())){
    tDB->Draw(b->GetName(), "", "goff"); it++;
    Double_t *v = tDB->GetV1(), xmin(100.), xmax(-100);
    Int_t ntr0(0);
    for(Int_t ir=0; ir<ntr; ir++){
      if(v[ir]<-100) continue;
      ntr0++;
      if(v[ir]<xmin) xmin = v[ir];
      if(v[ir]>xmax) xmax = v[ir];
    }
    Double_t m(0.), s(0.);
    if(ntr0<10){
      Warning("makeTrendingDB", "%s :: Couldn't create reference value out of %d entries.", b->GetName(), ntr0);
    } else {
      if((h =(TH1F*)gROOT->FindObject("hp"))){delete h; h = NULL;}
      h = new TH1F("hp", Form("%s;%s;entries", b->GetTitle(), b->GetName()), 25, 0.5*(3*xmin-xmax), 0.5*(3*xmax - xmin));
      tDB->Draw(Form("%s>>hp", b->GetName()), Form("%s>-100", b->GetName()));
      if(h->Integral() < 1) continue;
      f.SetParameter(0, h->Integral());
      f.SetParameter(1, h->GetMean());
      f.SetParameter(2, h->GetRMS());
      h->Fit(&f, "WQ");
      c->Modified(); c->Update(); c->SaveAs(Form("Fit_%s.gif", b->GetName()));

      // write trending value to manager
      Info("makeTrendingDB", "%s :: %f+-%f [%f - %f]", b->GetName(), f.GetParameter(1), f.GetParameter(2), xmin, xmax);
  /*    if(strstr(tvn[it][0], "TrkInYS")) {
        m=0.4; s=0.06;
      } else if(strstr(tvn[it][0], "TrkInY")) {
        m=0.; s=0.1;*/
  /*    } else if(strstr(tvn[it][0], "TrkInPh")) {
        m=0.; s=0.35;*/
  /*    } else if(strstr(tvn[it][0], "TrkInQ") || strstr(tvn[it][0], "TrkInQS")) {
        m=-2.; s=0.2;*/
  //    } else {
        m=f.GetParameter(1); s=h->GetRMS()/*f.GetParameter(2)*/;
  //    }
    }
    tm->AddValue(b->GetName(), m, s, b->GetTitle(), res[it>13], notifiable);
  }
  tm->Terminate();

  fDB->cd();
  tDB->Write();
  fDB->Close();
}
 makeTrendingDB.C:1
 makeTrendingDB.C:2
 makeTrendingDB.C:3
 makeTrendingDB.C:4
 makeTrendingDB.C:5
 makeTrendingDB.C:6
 makeTrendingDB.C:7
 makeTrendingDB.C:8
 makeTrendingDB.C:9
 makeTrendingDB.C:10
 makeTrendingDB.C:11
 makeTrendingDB.C:12
 makeTrendingDB.C:13
 makeTrendingDB.C:14
 makeTrendingDB.C:15
 makeTrendingDB.C:16
 makeTrendingDB.C:17
 makeTrendingDB.C:18
 makeTrendingDB.C:19
 makeTrendingDB.C:20
 makeTrendingDB.C:21
 makeTrendingDB.C:22
 makeTrendingDB.C:23
 makeTrendingDB.C:24
 makeTrendingDB.C:25
 makeTrendingDB.C:26
 makeTrendingDB.C:27
 makeTrendingDB.C:28
 makeTrendingDB.C:29
 makeTrendingDB.C:30
 makeTrendingDB.C:31
 makeTrendingDB.C:32
 makeTrendingDB.C:33
 makeTrendingDB.C:34
 makeTrendingDB.C:35
 makeTrendingDB.C:36
 makeTrendingDB.C:37
 makeTrendingDB.C:38
 makeTrendingDB.C:39
 makeTrendingDB.C:40
 makeTrendingDB.C:41
 makeTrendingDB.C:42
 makeTrendingDB.C:43
 makeTrendingDB.C:44
 makeTrendingDB.C:45
 makeTrendingDB.C:46
 makeTrendingDB.C:47
 makeTrendingDB.C:48
 makeTrendingDB.C:49
 makeTrendingDB.C:50
 makeTrendingDB.C:51
 makeTrendingDB.C:52
 makeTrendingDB.C:53
 makeTrendingDB.C:54
 makeTrendingDB.C:55
 makeTrendingDB.C:56
 makeTrendingDB.C:57
 makeTrendingDB.C:58
 makeTrendingDB.C:59
 makeTrendingDB.C:60
 makeTrendingDB.C:61
 makeTrendingDB.C:62
 makeTrendingDB.C:63
 makeTrendingDB.C:64
 makeTrendingDB.C:65
 makeTrendingDB.C:66
 makeTrendingDB.C:67
 makeTrendingDB.C:68
 makeTrendingDB.C:69
 makeTrendingDB.C:70
 makeTrendingDB.C:71
 makeTrendingDB.C:72
 makeTrendingDB.C:73
 makeTrendingDB.C:74
 makeTrendingDB.C:75
 makeTrendingDB.C:76
 makeTrendingDB.C:77
 makeTrendingDB.C:78
 makeTrendingDB.C:79
 makeTrendingDB.C:80
 makeTrendingDB.C:81
 makeTrendingDB.C:82
 makeTrendingDB.C:83
 makeTrendingDB.C:84
 makeTrendingDB.C:85
 makeTrendingDB.C:86
 makeTrendingDB.C:87
 makeTrendingDB.C:88
 makeTrendingDB.C:89
 makeTrendingDB.C:90
 makeTrendingDB.C:91
 makeTrendingDB.C:92
 makeTrendingDB.C:93
 makeTrendingDB.C:94
 makeTrendingDB.C:95
 makeTrendingDB.C:96
 makeTrendingDB.C:97
 makeTrendingDB.C:98
 makeTrendingDB.C:99
 makeTrendingDB.C:100
 makeTrendingDB.C:101
 makeTrendingDB.C:102
 makeTrendingDB.C:103
 makeTrendingDB.C:104
 makeTrendingDB.C:105
 makeTrendingDB.C:106
 makeTrendingDB.C:107
 makeTrendingDB.C:108
 makeTrendingDB.C:109
 makeTrendingDB.C:110
 makeTrendingDB.C:111
 makeTrendingDB.C:112
 makeTrendingDB.C:113
 makeTrendingDB.C:114
 makeTrendingDB.C:115
 makeTrendingDB.C:116
 makeTrendingDB.C:117
 makeTrendingDB.C:118
 makeTrendingDB.C:119
 makeTrendingDB.C:120
 makeTrendingDB.C:121
 makeTrendingDB.C:122
 makeTrendingDB.C:123
 makeTrendingDB.C:124
 makeTrendingDB.C:125
 makeTrendingDB.C:126
 makeTrendingDB.C:127
 makeTrendingDB.C:128
 makeTrendingDB.C:129
 makeTrendingDB.C:130
 makeTrendingDB.C:131
 makeTrendingDB.C:132
 makeTrendingDB.C:133
 makeTrendingDB.C:134
 makeTrendingDB.C:135
 makeTrendingDB.C:136
 makeTrendingDB.C:137
 makeTrendingDB.C:138
 makeTrendingDB.C:139
 makeTrendingDB.C:140
 makeTrendingDB.C:141
 makeTrendingDB.C:142
 makeTrendingDB.C:143
 makeTrendingDB.C:144
 makeTrendingDB.C:145
 makeTrendingDB.C:146
 makeTrendingDB.C:147
 makeTrendingDB.C:148
 makeTrendingDB.C:149
 makeTrendingDB.C:150
 makeTrendingDB.C:151
 makeTrendingDB.C:152
 makeTrendingDB.C:153
 makeTrendingDB.C:154
 makeTrendingDB.C:155
 makeTrendingDB.C:156
 makeTrendingDB.C:157
 makeTrendingDB.C:158
 makeTrendingDB.C:159
 makeTrendingDB.C:160
 makeTrendingDB.C:161
 makeTrendingDB.C:162
 makeTrendingDB.C:163
 makeTrendingDB.C:164
 makeTrendingDB.C:165
 makeTrendingDB.C:166
 makeTrendingDB.C:167
 makeTrendingDB.C:168
 makeTrendingDB.C:169
 makeTrendingDB.C:170
 makeTrendingDB.C:171
 makeTrendingDB.C:172
 makeTrendingDB.C:173
 makeTrendingDB.C:174
 makeTrendingDB.C:175
 makeTrendingDB.C:176
 makeTrendingDB.C:177
 makeTrendingDB.C:178
 makeTrendingDB.C:179
 makeTrendingDB.C:180
 makeTrendingDB.C:181
 makeTrendingDB.C:182
 makeTrendingDB.C:183
 makeTrendingDB.C:184
 makeTrendingDB.C:185
 makeTrendingDB.C:186
 makeTrendingDB.C:187
 makeTrendingDB.C:188
 makeTrendingDB.C:189
 makeTrendingDB.C:190
 makeTrendingDB.C:191
 makeTrendingDB.C:192
 makeTrendingDB.C:193
 makeTrendingDB.C:194
 makeTrendingDB.C:195
 makeTrendingDB.C:196
 makeTrendingDB.C:197
 makeTrendingDB.C:198
 makeTrendingDB.C:199
 makeTrendingDB.C:200
 makeTrendingDB.C:201
 makeTrendingDB.C:202
 makeTrendingDB.C:203
 makeTrendingDB.C:204
 makeTrendingDB.C:205
 makeTrendingDB.C:206
 makeTrendingDB.C:207
 makeTrendingDB.C:208
 makeTrendingDB.C:209
 makeTrendingDB.C:210
 makeTrendingDB.C:211
 makeTrendingDB.C:212
 makeTrendingDB.C:213
 makeTrendingDB.C:214
 makeTrendingDB.C:215
 makeTrendingDB.C:216
 makeTrendingDB.C:217
 makeTrendingDB.C:218
 makeTrendingDB.C:219
 makeTrendingDB.C:220
 makeTrendingDB.C:221
 makeTrendingDB.C:222
 makeTrendingDB.C:223
 makeTrendingDB.C:224
 makeTrendingDB.C:225
 makeTrendingDB.C:226
 makeTrendingDB.C:227
 makeTrendingDB.C:228
 makeTrendingDB.C:229
 makeTrendingDB.C:230
 makeTrendingDB.C:231
 makeTrendingDB.C:232
 makeTrendingDB.C:233
 makeTrendingDB.C:234
 makeTrendingDB.C:235
 makeTrendingDB.C:236
 makeTrendingDB.C:237
 makeTrendingDB.C:238
 makeTrendingDB.C:239
 makeTrendingDB.C:240
 makeTrendingDB.C:241
 makeTrendingDB.C:242
 makeTrendingDB.C:243
 makeTrendingDB.C:244
 makeTrendingDB.C:245
 makeTrendingDB.C:246
 makeTrendingDB.C:247
 makeTrendingDB.C:248
 makeTrendingDB.C:249
 makeTrendingDB.C:250
 makeTrendingDB.C:251
 makeTrendingDB.C:252
 makeTrendingDB.C:253
 makeTrendingDB.C:254
 makeTrendingDB.C:255
 makeTrendingDB.C:256
 makeTrendingDB.C:257
 makeTrendingDB.C:258
 makeTrendingDB.C:259
 makeTrendingDB.C:260
 makeTrendingDB.C:261
 makeTrendingDB.C:262
 makeTrendingDB.C:263
 makeTrendingDB.C:264
 makeTrendingDB.C:265
 makeTrendingDB.C:266
 makeTrendingDB.C:267
 makeTrendingDB.C:268
 makeTrendingDB.C:269
 makeTrendingDB.C:270
 makeTrendingDB.C:271
 makeTrendingDB.C:272
 makeTrendingDB.C:273
 makeTrendingDB.C:274
 makeTrendingDB.C:275
 makeTrendingDB.C:276
 makeTrendingDB.C:277
 makeTrendingDB.C:278
 makeTrendingDB.C:279
 makeTrendingDB.C:280
 makeTrendingDB.C:281
 makeTrendingDB.C:282
 makeTrendingDB.C:283
 makeTrendingDB.C:284
 makeTrendingDB.C:285
 makeTrendingDB.C:286
 makeTrendingDB.C:287
 makeTrendingDB.C:288
 makeTrendingDB.C:289
 makeTrendingDB.C:290
 makeTrendingDB.C:291
 makeTrendingDB.C:292
 makeTrendingDB.C:293
 makeTrendingDB.C:294
 makeTrendingDB.C:295
 makeTrendingDB.C:296
 makeTrendingDB.C:297
 makeTrendingDB.C:298
 makeTrendingDB.C:299
 makeTrendingDB.C:300
 makeTrendingDB.C:301
 makeTrendingDB.C:302
 makeTrendingDB.C:303
 makeTrendingDB.C:304
 makeTrendingDB.C:305
 makeTrendingDB.C:306
 makeTrendingDB.C:307
 makeTrendingDB.C:308
 makeTrendingDB.C:309
 makeTrendingDB.C:310
 makeTrendingDB.C:311
 makeTrendingDB.C:312
 makeTrendingDB.C:313
 makeTrendingDB.C:314
 makeTrendingDB.C:315
 makeTrendingDB.C:316
 makeTrendingDB.C:317
 makeTrendingDB.C:318
 makeTrendingDB.C:319
 makeTrendingDB.C:320
 makeTrendingDB.C:321
 makeTrendingDB.C:322
 makeTrendingDB.C:323
 makeTrendingDB.C:324
 makeTrendingDB.C:325
 makeTrendingDB.C:326
 makeTrendingDB.C:327
 makeTrendingDB.C:328
 makeTrendingDB.C:329
 makeTrendingDB.C:330
 makeTrendingDB.C:331
 makeTrendingDB.C:332
 makeTrendingDB.C:333
 makeTrendingDB.C:334
 makeTrendingDB.C:335
 makeTrendingDB.C:336
 makeTrendingDB.C:337
 makeTrendingDB.C:338
 makeTrendingDB.C:339
 makeTrendingDB.C:340
 makeTrendingDB.C:341
 makeTrendingDB.C:342
 makeTrendingDB.C:343
 makeTrendingDB.C:344
 makeTrendingDB.C:345
 makeTrendingDB.C:346
 makeTrendingDB.C:347
 makeTrendingDB.C:348
 makeTrendingDB.C:349
 makeTrendingDB.C:350
 makeTrendingDB.C:351
 makeTrendingDB.C:352
 makeTrendingDB.C:353
 makeTrendingDB.C:354
 makeTrendingDB.C:355
 makeTrendingDB.C:356
 makeTrendingDB.C:357
 makeTrendingDB.C:358
 makeTrendingDB.C:359
 makeTrendingDB.C:360
 makeTrendingDB.C:361
 makeTrendingDB.C:362
 makeTrendingDB.C:363
 makeTrendingDB.C:364
 makeTrendingDB.C:365
 makeTrendingDB.C:366
 makeTrendingDB.C:367
 makeTrendingDB.C:368
 makeTrendingDB.C:369
 makeTrendingDB.C:370
 makeTrendingDB.C:371
 makeTrendingDB.C:372
 makeTrendingDB.C:373
 makeTrendingDB.C:374
 makeTrendingDB.C:375
 makeTrendingDB.C:376
 makeTrendingDB.C:377
 makeTrendingDB.C:378
 makeTrendingDB.C:379
 makeTrendingDB.C:380
 makeTrendingDB.C:381
 makeTrendingDB.C:382
 makeTrendingDB.C:383
 makeTrendingDB.C:384
 makeTrendingDB.C:385
 makeTrendingDB.C:386
 makeTrendingDB.C:387
 makeTrendingDB.C:388
 makeTrendingDB.C:389
 makeTrendingDB.C:390
 makeTrendingDB.C:391
 makeTrendingDB.C:392
 makeTrendingDB.C:393
 makeTrendingDB.C:394
 makeTrendingDB.C:395
 makeTrendingDB.C:396
 makeTrendingDB.C:397
 makeTrendingDB.C:398
 makeTrendingDB.C:399
 makeTrendingDB.C:400
 makeTrendingDB.C:401
 makeTrendingDB.C:402
 makeTrendingDB.C:403
 makeTrendingDB.C:404
 makeTrendingDB.C:405
 makeTrendingDB.C:406
 makeTrendingDB.C:407
 makeTrendingDB.C:408
 makeTrendingDB.C:409
 makeTrendingDB.C:410
 makeTrendingDB.C:411
 makeTrendingDB.C:412
 makeTrendingDB.C:413
 makeTrendingDB.C:414
 makeTrendingDB.C:415
 makeTrendingDB.C:416
 makeTrendingDB.C:417
 makeTrendingDB.C:418
 makeTrendingDB.C:419
 makeTrendingDB.C:420
 makeTrendingDB.C:421
 makeTrendingDB.C:422
 makeTrendingDB.C:423
 makeTrendingDB.C:424
 makeTrendingDB.C:425
 makeTrendingDB.C:426
 makeTrendingDB.C:427
 makeTrendingDB.C:428
 makeTrendingDB.C:429
 makeTrendingDB.C:430
 makeTrendingDB.C:431
 makeTrendingDB.C:432
 makeTrendingDB.C:433
 makeTrendingDB.C:434
 makeTrendingDB.C:435
 makeTrendingDB.C:436
 makeTrendingDB.C:437
 makeTrendingDB.C:438
 makeTrendingDB.C:439
 makeTrendingDB.C:440
 makeTrendingDB.C:441
 makeTrendingDB.C:442
 makeTrendingDB.C:443
 makeTrendingDB.C:444
 makeTrendingDB.C:445
 makeTrendingDB.C:446
 makeTrendingDB.C:447
 makeTrendingDB.C:448
 makeTrendingDB.C:449
 makeTrendingDB.C:450
 makeTrendingDB.C:451
 makeTrendingDB.C:452
 makeTrendingDB.C:453
 makeTrendingDB.C:454
 makeTrendingDB.C:455
 makeTrendingDB.C:456
 makeTrendingDB.C:457
 makeTrendingDB.C:458
 makeTrendingDB.C:459
 makeTrendingDB.C:460
 makeTrendingDB.C:461
 makeTrendingDB.C:462
 makeTrendingDB.C:463
 makeTrendingDB.C:464
 makeTrendingDB.C:465
 makeTrendingDB.C:466
 makeTrendingDB.C:467
 makeTrendingDB.C:468
 makeTrendingDB.C:469
 makeTrendingDB.C:470
 makeTrendingDB.C:471
 makeTrendingDB.C:472
 makeTrendingDB.C:473
 makeTrendingDB.C:474
 makeTrendingDB.C:475
 makeTrendingDB.C:476
 makeTrendingDB.C:477
 makeTrendingDB.C:478
 makeTrendingDB.C:479
 makeTrendingDB.C:480
 makeTrendingDB.C:481
 makeTrendingDB.C:482
 makeTrendingDB.C:483
 makeTrendingDB.C:484
 makeTrendingDB.C:485
 makeTrendingDB.C:486
 makeTrendingDB.C:487
 makeTrendingDB.C:488
 makeTrendingDB.C:489
 makeTrendingDB.C:490
 makeTrendingDB.C:491
 makeTrendingDB.C:492
 makeTrendingDB.C:493