]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/html/src/AliDBPPR.cxx.html
Remove obsolete html documentation
[u/mrichter/AliRoot.git] / PHOS / html / src / AliDBPPR.cxx.html
diff --git a/PHOS/html/src/AliDBPPR.cxx.html b/PHOS/html/src/AliDBPPR.cxx.html
deleted file mode 100644 (file)
index 628ac79..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-// IETF/DTD HTML 2.0// EN">
-<html>
-<!--                                             -->
-<!-- Author: ROOT team (rootdev@hpsalo.cern.ch)  -->
-<!--                                             -->
-<!--   Date: Mon Mar 26 12:09:08 2001            -->
-<!--                                             -->
-<head>
-<title>AliDBPPR - source file</title>
-<link rev=made href="mailto:rootdev@root.cern.ch">
-<meta name="rating" content="General">
-<meta name="objecttype" content="Manual">
-<meta name="keywords" content="software development, oo, object oriented, unix, x11, windows, c++, html, rene brun, fons rademakers">
-<meta name="description" content="ROOT - An Object Oriented Framework For Large Scale Data Analysis.">
-</head>
-<body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#551a8b" ALINK="#ff0000" TEXT="#000000">
-<a name="TopOfPage"></a>
-<pre>
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
-/* $Id$ */
-<b>//_________________________________________________________________________</b>
-<b>// DB Class for table PPR:</b>
-<b>//</b>
-<b>//*-- Author: Yves Schutz (SUBATECH)</b>
-<b>//////////////////////////////////////////////////////////////////////////////</b>
-#include &lt;stdlib.h&gt; 
-#include &lt;iostream.h&gt; 
-<b>// --- ROOT system ---</b>
-#include "TSQLServer.h" 
-#include "TSQLRow.h" 
-#include "TSQLResult.h" 
-#include "TDatime.h" 
-<b>// --- Standard library ---</b>
-<b>// --- AliRoot header files ---  </b>
-#include "<a href="../AliDBPPR.h">AliDBPPR.h</a>" 
-ClassImp(AliDBPPR)
-<b>//____________________________________________________________________________</b>
-<a name="AliDBPPR:AliDBPPR"> </a><a href=".././AliDBPPR.html#AliDBPPR:AliDBPPR">AliDBPPR::AliDBPPR</a>()
-{   
-  <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a> = 1 ; // first valid entry (0 = labels)
-  <a href=".././AliDBPPR.html#AliDBPPR:fNfields">fNfields</a> = 6 ;
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a> = new TString[6]; 
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a>[0] = "RUN"; 
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a>[1] = "EVENT"; 
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a>[2] = "DATE"; 
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a>[3] = "SIMULATION"; 
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a>[4] = "DIGITIZATION"; 
-  <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a>[5] = "RECONSTRUCTION"; 
-}   
-<b>//____________________________________________________________________________</b>
-<a name="AliDBPPR:~AliDBPPR"> </a><a href=".././AliDBPPR.html">AliDBPPR</a>::~<a href=".././AliDBPPR.html">AliDBPPR</a>()
-{   
-  delete[] <a href=".././AliDBPPR.html#AliDBPPR:fFields">fFields</a> ;
-}   
-<b>//____________________________________________________________________________</b>
-<a name="AliDBPPR:GetEntry"> </a><a href="../ListOfTypes.html#void">void</a> <a href=".././AliDBPPR.html#AliDBPPR:GetEntry">AliDBPPR::GetEntry</a>(<a href="../ListOfTypes.html#Option_t">Option_t</a> * opt)
-{   
-<b>   // Retrieves one single row from the table   //  opt = first : retrieves first entry </b>
-<b>   //  opt = last  : retrieves last entry </b>
-<b>   //  opt = next  : retrieves next to current entry </b>
-  TSQLServer * mysql = TSQLServer::Connect("mysql://ccmysql.in2p3.fr:3306/alice", "schutz", "po2hgwy") ;
-  TSQLResult * result = mysql-&gt;Query("SELECT * FROM PPR") ; 
-  <a href="../ListOfTypes.html#Int_t">Int_t</a> count = result-&gt;GetRowCount() ; 
-  if ( !strcmp(opt, "first") ) <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a> = 1 ; 
-  if ( !strcmp(opt, "last") ) <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a> = count ; 
-  if ( <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a> &gt; count ) <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a> = 1 ; 
-  <a href="../ListOfTypes.html#Int_t">Int_t</a> i; 
-  <a href="../ListOfTypes.html#Int_t">Int_t</a> end = <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a> ; 
-  TSQLRow * row = 0 ; 
-  for ( i = 0 ; i &lt; end ; i++ ) {
-     <a href=".././AliDBPPR.html#AliDBPPR:fCurrentEntry">fCurrentEntry</a>++ ; 
-    row = result-&gt;Next() ; 
-  }   
-    <a href=".././AliDBPPR.html#AliDBPPR:fRUN">fRUN</a> = atoi(row-&gt;<a href="#AliDBPPR:GetField">GetField</a>(0)) ; 
-    <a href=".././AliDBPPR.html#AliDBPPR:fEVENT">fEVENT</a> = atoi(row-&gt;<a href="#AliDBPPR:GetField">GetField</a>(1)) ; 
-    <a href=".././AliDBPPR.html#AliDBPPR:fDATE">fDATE</a> = TDatime::TDatime(row-&gt;<a href="#AliDBPPR:GetField">GetField</a>(2)) ; 
-    <a href=".././AliDBPPR.html#AliDBPPR:fSIMULATION">fSIMULATION</a> = row-&gt;<a href="#AliDBPPR:GetField">GetField</a>(3) ; 
-    <a href=".././AliDBPPR.html#AliDBPPR:fDIGITIZATION">fDIGITIZATION</a> = row-&gt;<a href="#AliDBPPR:GetField">GetField</a>(4) ; 
-    <a href=".././AliDBPPR.html#AliDBPPR:fRECONSTRUCTION">fRECONSTRUCTION</a> = row-&gt;<a href="#AliDBPPR:GetField">GetField</a>(5) ; 
-}   
-</pre>
-
-<!--SIGNATURE-->
-<br>
-<address>
-<hr>
-<center>
-<a href="http://root.cern.ch/root/Welcome.html">ROOT page</a> - <a href="../ClassIndex.html">Class index</a> - <a href="#TopOfPage">Top of the page</a><br>
-</center>
-<hr>This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to <a href="mailto:rootdev@root.cern.ch">ROOT support</a>, or contact <a href="mailto:rootdev@root.cern.ch">the developers</a> with any questions or problems regarding ROOT.
-</address>
-</body>
-</html>