]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDefaultPreprocessor.cxx
Bugfix. Magnetic field in the ESD is set independently of gAlice
[u/mrichter/AliRoot.git] / STEER / AliDefaultPreprocessor.cxx
CommitLineData
57459306 1#include <AliDefaultPreprocessor.h>
2
3#include <TMap.h>
4
5#include "AliCDBMetaData.h"
6#include "AliSimpleValue.h"
7
8//
9// This class is used for all subdectectors that dont have an own
10// preprocessor.
11// The DCS data is written into CDB, no files are processed.
12//
13
14ClassImp(AliDefaultPreprocessor)
15
b88146b7 16//______________________________________________________________________________________________
57459306 17AliDefaultPreprocessor::AliDefaultPreprocessor(const char* detector, AliShuttleInterface* shuttle) :
18AliPreprocessor(detector, shuttle)
19{
20}
21
b88146b7 22//______________________________________________________________________________________________
57459306 23AliDefaultPreprocessor::~AliDefaultPreprocessor()
24{
25}
26
b88146b7 27//______________________________________________________________________________________________
28UInt_t AliDefaultPreprocessor::Process(TMap* dcsAliasMap)
57459306 29{
30 // store to default CDB object
31
32 AliCDBMetaData metaData;
33 metaData.SetProperty("StartTime",
34 new AliSimpleValue(fStartTime));
35 metaData.SetProperty("EndTime",
36 new AliSimpleValue(fEndTime));
37 metaData.SetComment("Automatically stored by AliDefaultPreprocessor!");
38
b88146b7 39 return Store(dcsAliasMap, &metaData);
57459306 40}