Coverity fix
[u/mrichter/AliRoot.git] / TRD / TRDbase / AliTRDCalTrapConfig.cxx
CommitLineData
a9e22145 1#include "TString.h"
2
3#include "AliLog.h"
4#include "AliTRDCalTrapConfig.h"
5
6ClassImp(AliTRDCalTrapConfig)
7
8AliTRDCalTrapConfig::AliTRDCalTrapConfig() :
9 TObject(),
10 fConfigList()
11{
12 // ctor
13
14}
15
16AliTRDCalTrapConfig::~AliTRDCalTrapConfig()
17{
18 // dtor
19
20}
21
22AliTRDtrapConfig* AliTRDCalTrapConfig::Get(const TString &name) const
23{
24 return (AliTRDtrapConfig*) fConfigList.FindObject(name.Data());
25}
26
27void AliTRDCalTrapConfig::Print(Option_t * /* option */) const
28{
29 TIter config(&fConfigList);
30
31 while (AliTRDtrapConfig *cfg = (AliTRDtrapConfig*) config()) {
32 AliInfo(Form("found TRAPconfig: %s - %s", cfg->GetName(), cfg->GetTitle()));
33 }
34}