Skip to content

Commit 80e53ef

Browse files
jose-luis-rshapol
authored andcommitted
Cleaning ALPIDE classes
Minor change Minor change
1 parent c47a087 commit 80e53ef

25 files changed

Lines changed: 115 additions & 136 deletions

alpide/calibration/R3BAlpideCal2Hit.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -165,7 +165,7 @@ InitStatus R3BAlpideCal2Hit::ReInit()
165165
}
166166

167167
// ----- Public method Execution --------------------------------------------
168-
void R3BAlpideCal2Hit::Exec(Option_t* option)
168+
void R3BAlpideCal2Hit::Exec(Option_t*)
169169
{
170170
R3BLOG(debug, "New event");
171171
// Reset entries in the output arrays

alpide/calibration/R3BAlpideCal2Hit.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -40,22 +40,22 @@ class R3BAlpideCal2Hit : public FairTask
4040
R3BAlpideCal2Hit(const TString& name, Int_t iVerbose = 1);
4141

4242
/** Destructor **/
43-
virtual ~R3BAlpideCal2Hit();
43+
~R3BAlpideCal2Hit() override;
4444

45-
/** Virtual method Exec **/
46-
virtual void Exec(Option_t* option) override;
45+
/** Method Exec **/
46+
void Exec(Option_t*) override;
4747

4848
/** Virtual method Reset **/
4949
virtual void Reset();
5050

51-
virtual void SetParContainers() override;
51+
/** Method SetParContainers **/
52+
void SetParContainers() override;
5253

53-
// Fair specific
54-
/** Virtual method Init **/
55-
virtual InitStatus Init() override;
54+
/** Method Init **/
55+
InitStatus Init() override;
5656

57-
/** Virtual method ReInit **/
58-
virtual InitStatus ReInit() override;
57+
/** Method ReInit **/
58+
InitStatus ReInit() override;
5959

6060
// Method to setup online mode
6161
void SetOnline(Bool_t option) { fOnline = option; }

alpide/calibration/R3BAlpideMapped2Cal.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -113,7 +113,7 @@ InitStatus R3BAlpideMapped2Cal::ReInit()
113113
}
114114

115115
// ----- Public method Execution --------------------------------------------
116-
void R3BAlpideMapped2Cal::Exec(Option_t* option)
116+
void R3BAlpideMapped2Cal::Exec(Option_t*)
117117
{
118118
// Reset entries in the output arrays
119119
Reset();

alpide/calibration/R3BAlpideMapped2Cal.h

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -38,22 +38,21 @@ class R3BAlpideMapped2Cal : public FairTask
3838
R3BAlpideMapped2Cal(const TString& name, Int_t iVerbose = 1);
3939

4040
/** Destructor **/
41-
virtual ~R3BAlpideMapped2Cal();
41+
~R3BAlpideMapped2Cal() override;
4242

43-
/** Virtual method Exec **/
44-
virtual void Exec(Option_t* option) override;
43+
/** Method Exec **/
44+
void Exec(Option_t*) override;
4545

4646
/** Virtual method Reset **/
4747
virtual void Reset();
4848

49-
virtual void SetParContainers() override;
49+
void SetParContainers() override;
5050

51-
// Fair specific
52-
/** Virtual method Init **/
53-
virtual InitStatus Init() override;
51+
/** Method Init **/
52+
InitStatus Init() override;
5453

55-
/** Virtual method ReInit **/
56-
virtual InitStatus ReInit() override;
54+
/** Method ReInit **/
55+
InitStatus ReInit() override;
5756

5857
// Method to setup online mode
5958
void SetOnline(Bool_t option) { fOnline = option; }

alpide/digi/R3BAlpideDigitizer.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -108,7 +108,7 @@ InitStatus R3BAlpideDigitizer::Init()
108108
}
109109

110110
// ----- Public method Execution --------------------------------------------
111-
void R3BAlpideDigitizer::Exec(Option_t* opt)
111+
void R3BAlpideDigitizer::Exec(Option_t*)
112112
{
113113
Reset();
114114
// Reading the Input -- Point Data --

alpide/digi/R3BAlpideDigitizer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -51,7 +51,7 @@ class R3BAlpideDigitizer : public FairTask
5151
InitStatus ReInit() override;
5252

5353
/** Virtual method Exec **/
54-
void Exec(Option_t* opt) override;
54+
void Exec(Option_t*) override;
5555

5656
// Fair specific
5757
void SetParContainers() override;

alpide/geo/R3BAlpideGeometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class R3BAlpideGeometry : public TObject
106106
/**
107107
* @return if we are running the simulation or data analysis
108108
*/
109-
const bool IsSimulation() { return fIsSimulation; }
109+
bool IsSimulation() const { return fIsSimulation; }
110110

111111
/**
112112
* Returns singleton instance of R3BAlpideGeometry for given geometry version.

alpide/pars/R3BAlpideCluster.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *

alpide/pars/R3BAlpideCluster.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -37,11 +37,11 @@ class R3BAlpideCluster : public TObject
3737
virtual ~R3BAlpideCluster() {}
3838

3939
// Getters
40-
const UShort_t& GetSensorId() const { return fSensorId; }
41-
const Int_t& GetClusterId() const { return fClusterId; }
42-
const Int_t& GetCol() const { return fCol; }
43-
const Int_t& GetRow() const { return fRow; }
44-
const Bool_t& GetAct() const { return fActive; }
40+
UShort_t GetSensorId() const { return fSensorId; }
41+
Int_t GetClusterId() const { return fClusterId; }
42+
Int_t GetCol() const { return fCol; }
43+
Int_t GetRow() const { return fRow; }
44+
Bool_t GetAct() const { return fActive; }
4545

4646
protected:
4747
UShort_t fSensorId;

alpide/pars/R3BAlpideContFact.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2023 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2023 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *

0 commit comments

Comments
 (0)