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