AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTrackerConditionDataMaker Class Reference

Producer of AliMUONVTrackerData from OCDB or ASCII condition files. More...

#include <AliMUONTrackerConditionDataMaker.h>

Inheritance diagram for AliMUONTrackerConditionDataMaker:

Public Member Functions

 AliMUONTrackerConditionDataMaker ()
 
 AliMUONTrackerConditionDataMaker (Int_t runNumber, const char *ocdbPath, const char *type)
 
 AliMUONTrackerConditionDataMaker (const char *filename, const char *type)
 
 AliMUONTrackerConditionDataMaker (const char *data, const char *type, Bool_t)
 
virtual ~AliMUONTrackerConditionDataMaker ()
 
virtual void SetOwnerOfData (Bool_t flag)
 Whether or not we're the owner of our AliMUONVTrackerData. More...
 
Bool_t IsValid () const
 Whether we've been properly initialized or not. More...
 
virtual AliMUONVTrackerDataData () const
 Return our data. More...
 
virtual Bool_t IsRunnable () const
 We are not runnable (i.e. # of event is fixed = 1) More...
 
virtual Bool_t IsRunning () const
 We cannot be running as we are not runnable... More...
 
virtual void SetRunning (Bool_t)
 N/A. More...
 
virtual Bool_t ProcessEvent ()
 N/A. More...
 
virtual void Rewind ()
 N/A. More...
 
virtual void SetSource (const char *source)
 Set our source URI. More...
 
virtual TString Source () const
 Get our source URI. More...
 
Int_t NumberOfEvents () const
 Number of events is always 1. More...
 
virtual Long64_t Merge (TCollection *li)
 Merge. More...
 
- Public Member Functions inherited from AliMUONVTrackerDataMaker
 AliMUONVTrackerDataMaker ()
 
virtual ~AliMUONVTrackerDataMaker ()
 
virtual Bool_t IsEventByEvent () const
 Whether we're only handling event-by-event data (i.e. no accumulation) More...
 
virtual void SetEventByEvent (Bool_t)
 Set event-by-event mode. More...
 
virtual Bool_t NextEvent ()
 Advance to next event and process it (no effect if not runnable) More...
 
virtual void SetEventRange (Int_t, Int_t)
 Set event range (if not event by event) More...
 

Static Public Member Functions

static AliMUONVStoreCreateStore (Int_t runNumber, const char *source, const char *type, Int_t &startOfValidity)
 
static AliMUONVTrackerDataCreateData (const char *type, AliMUONVStore &source, Int_t startOfValidity)
 

Private Member Functions

 AliMUONTrackerConditionDataMaker (const AliMUONTrackerConditionDataMaker &rhs)
 Not implemented. More...
 
AliMUONTrackerConditionDataMakeroperator= (const AliMUONTrackerConditionDataMaker &rhs)
 Not implemented. More...
 

Static Private Member Functions

static AliMUONVStoreCreateHVStore (TMap &m)
 
static AliMUONVStoreCreateStatusMapStore (Int_t runNumber)
 
static AliMUONVStoreCreateStatusStore (Int_t runNumber)
 
static AliMUONVStorePatchGainStore (const AliMUONVStore &gains)
 
static AliMUONVStoreExpandConfig (const AliMUONVStore &config)
 

Private Attributes

AliMUONVTrackerDatafData
 our data More...
 
TString fSource
 source name More...
 
Bool_t fIsOwnerOfData
 is fData ours or not More...
 

Detailed Description

Producer of AliMUONVTrackerData from OCDB or ASCII condition files.

Producer of AliMUONVTrackerData from OCDB or Ascii file condition data

Author
Laurent Aphecetche, Subatech

Definition at line 25 of file AliMUONTrackerConditionDataMaker.h.

Constructor & Destructor Documentation

AliMUONTrackerConditionDataMaker::AliMUONTrackerConditionDataMaker ( )

default ctor to be able to stream

Definition at line 62 of file AliMUONTrackerConditionDataMaker.cxx.

AliMUONTrackerConditionDataMaker::AliMUONTrackerConditionDataMaker ( Int_t  runNumber,
const char *  ocdbPath,
const char *  type 
)

ctor from OCDB

Definition at line 72 of file AliMUONTrackerConditionDataMaker.cxx.

AliMUONTrackerConditionDataMaker::AliMUONTrackerConditionDataMaker ( const char *  filename,
const char *  type 
)

ctor from an ASCII file

Definition at line 152 of file AliMUONTrackerConditionDataMaker.cxx.

AliMUONTrackerConditionDataMaker::AliMUONTrackerConditionDataMaker ( const char *  data,
const char *  type,
Bool_t   
)

ctor from a string containing the ASCII data the last parameter is there just to distinguish this ctor from the previous one

Definition at line 187 of file AliMUONTrackerConditionDataMaker.cxx.

AliMUONTrackerConditionDataMaker::~AliMUONTrackerConditionDataMaker ( )
virtual

dtor

Definition at line 210 of file AliMUONTrackerConditionDataMaker.cxx.

AliMUONTrackerConditionDataMaker::AliMUONTrackerConditionDataMaker ( const AliMUONTrackerConditionDataMaker rhs)
private

Not implemented.

Member Function Documentation

AliMUONVTrackerData * AliMUONTrackerConditionDataMaker::CreateData ( const char *  type,
AliMUONVStore source,
Int_t  startOfValidity 
)
static

Create the data source

Definition at line 219 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by AliMUONTrackerConditionDataMaker().

AliMUONVStore * AliMUONTrackerConditionDataMaker::CreateHVStore ( TMap &  m)
staticprivate

Create a store from hv values

Definition at line 289 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by CreateStore().

AliMUONVStore * AliMUONTrackerConditionDataMaker::CreateStatusMapStore ( Int_t  runNumber)
staticprivate

Get the status map, and polish it a bit for representation purposes

Definition at line 420 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by CreateStore().

AliMUONVStore * AliMUONTrackerConditionDataMaker::CreateStatusStore ( Int_t  runNumber)
staticprivate

Get the status store

Definition at line 393 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by CreateStore().

AliMUONVStore * AliMUONTrackerConditionDataMaker::CreateStore ( Int_t  runNumber,
const char *  source,
const char *  type,
Int_t &  startOfValidity 
)
static

Create the store by reading it from OCDB or from an ASCII file

Below are source that can only be accessed from OCDB

Definition at line 449 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by AliMUONTrackerConditionDataMaker().

virtual AliMUONVTrackerData* AliMUONTrackerConditionDataMaker::Data ( ) const
inlinevirtual

Return our data.

Implements AliMUONVTrackerDataMaker.

Definition at line 44 of file AliMUONTrackerConditionDataMaker.h.

AliMUONVStore * AliMUONTrackerConditionDataMaker::ExpandConfig ( const AliMUONVStore config)
staticprivate

Convert the config from manu level to channel level (just to be able to add it correctly to the trackerdata...)

Definition at line 560 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by CreateStore().

virtual Bool_t AliMUONTrackerConditionDataMaker::IsRunnable ( ) const
inlinevirtual

We are not runnable (i.e. # of event is fixed = 1)

Implements AliMUONVTrackerDataMaker.

Definition at line 47 of file AliMUONTrackerConditionDataMaker.h.

virtual Bool_t AliMUONTrackerConditionDataMaker::IsRunning ( ) const
inlinevirtual

We cannot be running as we are not runnable...

Implements AliMUONVTrackerDataMaker.

Definition at line 50 of file AliMUONTrackerConditionDataMaker.h.

Bool_t AliMUONTrackerConditionDataMaker::IsValid ( ) const
inlinevirtual

Whether we've been properly initialized or not.

Implements AliMUONVTrackerDataMaker.

Definition at line 41 of file AliMUONTrackerConditionDataMaker.h.

Long64_t AliMUONTrackerConditionDataMaker::Merge ( TCollection *  list)
virtual

Merge.

Merge

Implements AliMUONVTrackerDataMaker.

Definition at line 591 of file AliMUONTrackerConditionDataMaker.cxx.

Int_t AliMUONTrackerConditionDataMaker::NumberOfEvents ( ) const
inlinevirtual

Number of events is always 1.

Implements AliMUONVTrackerDataMaker.

Definition at line 68 of file AliMUONTrackerConditionDataMaker.h.

AliMUONTrackerConditionDataMaker& AliMUONTrackerConditionDataMaker::operator= ( const AliMUONTrackerConditionDataMaker rhs)
private

Not implemented.

AliMUONVStore * AliMUONTrackerConditionDataMaker::PatchGainStore ( const AliMUONVStore gains)
staticprivate

Polish the gain store : a) adding a dimension, computed from a1, and called gain = 1/a1/0.2 where 0.2 is internal capa in pF, and gain is then in mV/fC b) splitting the quality in two

Definition at line 600 of file AliMUONTrackerConditionDataMaker.cxx.

Referenced by CreateStore().

virtual Bool_t AliMUONTrackerConditionDataMaker::ProcessEvent ( )
inlinevirtual

N/A.

Implements AliMUONVTrackerDataMaker.

Definition at line 56 of file AliMUONTrackerConditionDataMaker.h.

virtual void AliMUONTrackerConditionDataMaker::Rewind ( )
inlinevirtual

N/A.

Implements AliMUONVTrackerDataMaker.

Definition at line 59 of file AliMUONTrackerConditionDataMaker.h.

virtual void AliMUONTrackerConditionDataMaker::SetOwnerOfData ( Bool_t  )
inlinevirtual

Whether or not we're the owner of our AliMUONVTrackerData.

Reimplemented from AliMUONVTrackerDataMaker.

Definition at line 38 of file AliMUONTrackerConditionDataMaker.h.

virtual void AliMUONTrackerConditionDataMaker::SetRunning ( Bool_t  )
inlinevirtual

N/A.

Implements AliMUONVTrackerDataMaker.

Definition at line 53 of file AliMUONTrackerConditionDataMaker.h.

virtual void AliMUONTrackerConditionDataMaker::SetSource ( const char *  source)
inlinevirtual

Set our source URI.

Implements AliMUONVTrackerDataMaker.

Definition at line 62 of file AliMUONTrackerConditionDataMaker.h.

virtual TString AliMUONTrackerConditionDataMaker::Source ( ) const
inlinevirtual

Get our source URI.

Implements AliMUONVTrackerDataMaker.

Definition at line 65 of file AliMUONTrackerConditionDataMaker.h.

Member Data Documentation

AliMUONVTrackerData* AliMUONTrackerConditionDataMaker::fData
private
Bool_t AliMUONTrackerConditionDataMaker::fIsOwnerOfData
private

is fData ours or not

Definition at line 87 of file AliMUONTrackerConditionDataMaker.h.

Referenced by SetOwnerOfData(), and ~AliMUONTrackerConditionDataMaker().

TString AliMUONTrackerConditionDataMaker::fSource
private

source name

Definition at line 86 of file AliMUONTrackerConditionDataMaker.h.

Referenced by SetSource(), and Source().


The documentation for this class was generated from the following files: