@@ -20,16 +20,16 @@ class FairParSet : public TObject
2020 TString fName ; //
2121 TString fTitle ; //
2222 TString detName; // ! name of the detector the container belongs to
23- Int_t versions[3 ]; // ! versions of container in the 2 possible inputs
24- Bool_t status; // ! static flag
25- Bool_t changed; // ! flag is kTRUE if parameters have changed
26- Bool_t owned; // ! if flag is KTRUE FairDB has the par. class ownership
23+ int versions[3 ]; // ! versions of container in the 2 possible inputs
24+ bool status; // ! static flag
25+ bool changed; // ! flag is kTRUE if parameters have changed
26+ bool owned; // ! if flag is KTRUE FairDB has the par. class ownership
2727 TString paramContext; // Context/purpose for parameters and conditions
2828 TString author; // Author of parameters
2929 TString description; // Description of parameters
3030
3131 public:
32- FairParSet (const char * name = " " , const char * title = " " , const char * context = " " , Bool_t owner = kFALSE );
32+ FairParSet (const char * name = " " , const char * title = " " , const char * context = " " , bool owner = false );
3333 virtual ~FairParSet () {}
3434
3535 const char * GetName () const override { return fName .Data (); }
@@ -45,13 +45,13 @@ class FairParSet : public TObject
4545 const char * getDetectorName () { return detName.Data (); }
4646 void resetInputVersions ();
4747
48- void setInputVersion (Int_t v = -1 , Int_t i = 0 )
48+ void setInputVersion (int v = -1 , int i = 0 )
4949 {
5050 if (i >= 0 && i < 3 ) {
5151 versions[i] = v;
5252 }
5353 }
54- Int_t getInputVersion (Int_t i)
54+ int getInputVersion (int i)
5555 {
5656 if (i >= 0 && i < 3 ) {
5757 return versions[i];
@@ -60,14 +60,14 @@ class FairParSet : public TObject
6060 }
6161 }
6262
63- void setStatic (Bool_t flag = kTRUE ) { status = flag; }
64- Bool_t isStatic () { return status; }
63+ void setStatic (bool flag = kTRUE ) { status = flag; }
64+ bool isStatic () { return status; }
6565
66- void setOwnership (Bool_t flag = kTRUE ) { owned = flag; }
67- Bool_t isOwned () { return owned; }
66+ void setOwnership (bool flag = kTRUE ) { owned = flag; }
67+ bool isOwned () { return owned; }
6868
69- void setChanged (Bool_t flag = kTRUE ) { changed = flag; }
70- Bool_t hasChanged () { return changed; }
69+ void setChanged (bool flag = kTRUE ) { changed = flag; }
70+ bool hasChanged () { return changed; }
7171
7272 const char * getParamContext () const { return paramContext.Data (); }
7373
0 commit comments