revision of AliDCSValue: Removed wrapper classes, reduced storage size per value...
[u/mrichter/AliRoot.git] / STEER / AliDefaultPreprocessor.cxx
CommitLineData
57459306 1#include <AliDefaultPreprocessor.h>
2
3#include <TMap.h>
4
5#include "AliCDBMetaData.h"
8e8cf89b 6#include "AliDCSValue.h"
57459306 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;
8e8cf89b 33 metaData.SetProperty("StartEndTime",
34 new AliDCSValue(fStartTime, fEndTime));
57459306 35 metaData.SetComment("Automatically stored by AliDefaultPreprocessor!");
36
b88146b7 37 return Store(dcsAliasMap, &metaData);
57459306 38}