1 \documentclass[11pt,a4paper]{article}
\r
2 \usepackage[latin1]{inputenc}
\r
3 \usepackage[english]{babel}
\r
5 \usepackage{amsfonts}
\r
7 \usepackage{hyperref}
\r
8 \usepackage[a4paper, left=1.5cm, right=1cm, top=2cm]{geometry}
\r
9 %\author{Marian Ivano, Nicole Martin, Patrick Reichelt and Jens Wiechula}
\r
10 %\title{Naming conventions for trending variables and QA WEB directory}
\r
12 \title{Naming conventions for trending variables and QA WEB directory}
\r
13 \author{Marian Ivano, Nicole Martin, Patrick Riechelt and Jens Wiechula}
\r
16 This file explains the definition of the naming convention for trending variables and the QA WEB directory. You can also find a presentation explaining the naming conventions for the trending variables here:
\r
17 \url{https://indico.cern.ch/getFile.py/access?contribId=4&resId=0&materialId=slides&confId=171449} .
\r
18 As well as a presentation explaining the naming conventions for the QA WEB directory here:
\r
19 \url{https://indico.cern.ch/getFile.py/access?contribId=3&resId=0&materialId=slides&confId=235865}.
\r
21 \section{Trending variables}
\r
23 \subsection{General}
\r
27 \item Seperate `properties' by a `\_' : \\ \setlength{\parskip}{1pt}
\r
29 Variable name as main identifyer \hspace*{3cm} Statisctics and fit propertie \\
\r
30 \hspace*{0.3cm} $ \downarrow $ \hspace*{10cm} $ \downarrow $
\r
32 \small{Type\_ SideA/C\_ ChargePlus/Minus\_ StatisicType(StatMean/StatRMS/StatChi2/FitSlope/FitMean/FitSigma)\_ Err} \\
\r
33 \hspace*{1.5cm} $ \uparrow $\hspace*{2cm} $ \uparrow $ \hspace*{13.1cm} $ \uparrow $ \\
\r
34 \hspace*{1cm} Further type specifications \hspace*{10cm} Error of an-\hspace*{15.5cm} other variable
\r
36 \item Further description: \\
\r
37 Type: Variable name as main identifyer \\
\r
38 SideA/C and ChargePlus/Minus: Further type specifications $ \rightarrow $ Side and particle type \\
\r
39 StatisicType: Statisctics and fit properties \\
\r
40 Err: Indicates that this is an error of another variable with the same name \\
\r
42 \item IROC vs OROC: Differentiate variables which are different for IRCO's and OROC's by: \_ IROC\_ or \_OROC \_
\r
46 \subsection{Special variables}
\r
48 To avoid confusions between similar short cuts for variables please respect the following capital and small letters!!!
\r
52 \item velocity vs voltage
\r
54 v = velocity (small) \\
\r
55 V = voltage (capital)
\r
57 \item time vs temperature
\r
60 T = temperature (capital)
\r
62 \item momentum vs pressure
\r
64 p = momentum (small) \\
\r
65 P = pressure (capital)
\r
70 \subsection{Statistic vs Gau\ss{} fit variables}
\r
72 Please use the prefix 'Stat' or 'Fit' to diffenrentiate between statistic and Gau\ss{} fit variables: \\ \setlength{\parskip}{1pt}
\r
74 StatMean --- FitMean \\
\r
75 \hspace*{0.5cm} StatRMS --- FitSigma
\r
77 \subsection{Examples}
\r
79 The following examples should illustrate the naming convention and help you to implement it.
\r
81 \subsubsection{QA tree}
\r
82 \begin{tabular}{l l}
\r
88 meanTPCnclF & TPCnclF\_ StatMean \\
\r
90 slopeATPCnclF & TPCnclF\_ SideA\_ FitSlope\\
\r
92 SlopeATPCnclFErr & TPCnclF\_ SideA\_ FitSlope\_ Err\\
\r
94 SlopedZAErrPos & dZ\_ SideA\_ ChargePlus\_ FitSlope\_ Err\\
\r
98 \subsubsection{OCDB tree}
\r
99 \begin{tabular}{ l l}
\r
105 VIROC & V\_ IROC\\
\r
107 medianVIROC & V\_ IROC\_ StatMedian \\
\r
109 rocGainIROC & rocGain\_ IROC \\
\r
111 rocGAinERRIROC & rocGain\_ IROC\_ Err\\
\r
116 % Old ------------------ New
\r
118 % meanTPCnclF ------------------ TPCnclF_StatMean
\r
119 % slopeATPCnclF ------------------ TPCnclF_SideA_FitSlope
\r
120 % SlopeATPCnclFErr ------------------ TPCnclF_SideA_FitSlope_Err
\r
121 % SlopedZAErrPos ------------------ dZ_SideA_ChargePlus_FitSlope_Err
\r
125 % Old ------------------ New
\r
127 % VIROC ------------------ V_IROC
\r
128 % medianVIROC ------------------ V_IROC_StatMedian
\r
129 % rocGainIROC ------------------ rocGain_IROC
\r
130 % rocGAinERRIROC ------------------ rocGain_IROC_Err
\r
132 \section{QA WEB directory}
\r
134 The generic path, where everything goes, has to follow this convention: \\
\r
137 \framebox{PATH=\${prefix}/\${datatype}/\${year}/\${period}/\${recopass}/\${suffix}} \\
\r
141 \item with prefix according to the website of the respective institute and detector
\r
144 \subitem Official: prefix $=$ http://www-alice.gsi.de/TPC/PWG1train \\
\r
145 \subitem Development: prefix $=$ http://web-docs.gsi.de/{\raise.17ex\hbox{$\scriptstyle\mathtt{\sim}$}}username/TPC/PWG1train \\
\r
147 \item datatype: datatype $=$ data or datatype $=$ sim (nothing like data\_year anymore!) \\
\r
148 \item suffix: StandardQA or ExpertQA or CalibrationQA or ExpertCalibrationQA \\
\r
152 \underline{Also to be used by all detectors which will merge trending trees with the TPC}
\r
154 \item rootfiles with the trees should have a static name, e.g. trending.root, TRDtree.root, ...
\r