LCOV - code coverage report
Current view: top level - TPC/TPCutil - AliTPCGenDBConf.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 20 5.0 %
Date: 2016-06-14 17:26:59 Functions: 1 12 8.3 %

          Line data    Source code
       1             : 
       2             : // .L /afs/cern.ch/user/h/haavard/alice/tpc/temperature/AliTPCGenDBConf.C+
       3             : // Int_t run=2546
       4             : // Int_t firstRun =0
       5             : // Int_t lastRun = 9999999
       6             : // AliTPCGenDBConf db
       7             : // db->Init(run,"TPC/Config/Preprocessor","TPC/*/*")
       8             : // db->MakeConfig("Preprocessor.txt",firstRun,lastRun,"TPC/Config/Preprocessor")
       9             : 
      10             : 
      11             : #include "AliTPCGenDBConf.h"
      12             : #include "AliLog.h"
      13             : 
      14          12 : ClassImp(AliTPCGenDBConf)
      15             : 
      16             : 
      17             : //______________________________________________________________________________________________
      18             : 
      19             : AliTPCGenDBConf::AliTPCGenDBConf():
      20           0 :    AliDCSGenDB()
      21           0 : {
      22           0 : }
      23             : 
      24             : //______________________________________________________________________________________________
      25             : 
      26             : AliTPCGenDBConf::AliTPCGenDBConf(const char *defaultStorage, const char *specificStorage):
      27           0 :    AliDCSGenDB(defaultStorage, specificStorage)
      28           0 : {
      29           0 : }
      30             : 
      31             : //______________________________________________________________________________________________
      32             : 
      33           0 : AliTPCGenDBConf::AliTPCGenDBConf(const AliTPCGenDBConf& org) : AliDCSGenDB(org)
      34           0 : {
      35             : 
      36             : //
      37             : //  Copy constructor
      38             : //
      39           0 :  AliError("copy constructor not implemented");
      40           0 : }
      41             : 
      42             : //______________________________________________________________________________________________
      43           0 : AliTPCGenDBConf::~AliTPCGenDBConf(){
      44             : //
      45             : // destructor
      46             : //
      47             : 
      48           0 : }
      49             : //______________________________________________________________________________________________
      50             : AliTPCGenDBConf& AliTPCGenDBConf::operator= (const AliTPCGenDBConf& /*org*/ )
      51             : {
      52             :  //
      53             :  // assignment operator
      54             :  //
      55           0 :  AliError("assignment operator not implemented");
      56           0 :  return *this;
      57             : }
      58             : 
      59             : 
      60             : //______________________________________________________________________________________________
      61             : 
      62             : void AliTPCGenDBConf::MakeConfig(const char *file, Int_t firstRun, Int_t lastRun, const char *confDir )
      63             : {
      64             :    //
      65             :    // Store Configuration file to OCDB
      66             :    //
      67             : 
      68           0 :    TEnv *confEnv = new TEnv(file);
      69           0 :    SetFirstRun(firstRun);
      70           0 :    SetLastRun(lastRun);
      71             : 
      72           0 :    StoreObject(confDir, confEnv, fMetaData);
      73           0 : }
      74             : 
      75             : //______________________________________________________________________________________________
      76             : 

Generated by: LCOV version 1.11