]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Cal/AliTRDCalTrapConfig.cxx
update from Prabhat
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalTrapConfig.cxx
1 #include "TString.h"
2
3 #include "AliLog.h"
4 #include "AliTRDCalTrapConfig.h"
5
6 ClassImp(AliTRDCalTrapConfig)
7
8 AliTRDCalTrapConfig::AliTRDCalTrapConfig() :
9   TObject(),
10   fConfigList()
11 {
12   // ctor
13
14 }
15
16 AliTRDCalTrapConfig::~AliTRDCalTrapConfig()
17 {
18   // dtor
19
20 }
21
22 AliTRDtrapConfig* AliTRDCalTrapConfig::Get(const TString &name) const
23 {
24   return (AliTRDtrapConfig*) fConfigList.FindObject(name.Data());
25 }
26
27 void 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 }