Skip to content

Commit f8e7294

Browse files
committed
More fixes
1 parent 546ef97 commit f8e7294

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

Common/Core/FFitWeights.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ class FFitWeights : public TNamed
5353
TAxis* getqVecAx() { return qAxis; }
5454

5555
Long64_t Merge(TCollection* collist);
56-
void qSelection(std::vector<int> const& nhv, std::vector<std::string> const& stv);
56+
void qSelection(const std::vector<int>& nhv, const std::vector<std::string>& stv);
5757
float eval(float centr, const float& dqn, const int nh, const char* pf = "");
5858
void setResolution(int res) { nResolution = res; }
5959
int getResolution() const { return nResolution; }
60-
void setQnType(std::vector<std::pair<int, std::string>> const& qninp) { qnTYPE = qninp; }
60+
void setQnType(const std::vector<std::pair<int, std::string>>& qninp) { qnTYPE = qninp; }
6161

6262
private:
6363
TObjArray* fW_data;

Common/Core/PID/DetectorResponse.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class DetectorResponse
6868
/// Setter for the parametrizations parameters, if the parametrization is not yet initialized a new parametrization is created without any implementation and just parameters
6969
/// \param ptype parametrization type
7070
/// \param p vector with parameters
71-
void SetParameters(const Param_t ptype, std::vector<pidvar_t> const& p);
71+
void SetParameters(const Param_t ptype, const std::vector<pidvar_t>& p);
7272

7373
/// Getter for the value of the parametrization
7474
/// \param ptype parametrization type
@@ -100,7 +100,7 @@ inline void DetectorResponse::LoadParamFromFile(const TString& fname, const TStr
100100
mParam[ptype]->Print();
101101
}
102102

103-
inline void DetectorResponse::SetParameters(const DetectorResponse::Param_t ptype, std::vector<pidvar_t> const& p)
103+
inline void DetectorResponse::SetParameters(const DetectorResponse::Param_t ptype, const std::vector<pidvar_t>& p)
104104
{
105105
if (!mParam[ptype]) {
106106
const std::string pname = std::string(ParamName[ptype]) + "_default_param";

Common/Tools/Multiplicity/multCalibrator.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// - victor.gonzalez@cern.ch
1717
// - david.dobrigkeit.chinellato@cern.ch
1818
//
19-
#ifndef MULTCALIBRATOR_H
20-
#define MULTCALIBRATOR_H
19+
#ifndef COMMON_TOOLS_MULTIPLICITY_MULTCALIBRATOR_H_
20+
#define COMMON_TOOLS_MULTIPLICITY_MULTCALIBRATOR_H_
2121

2222
#include "TH1D.h"
2323
#include "TNamed.h"
@@ -70,8 +70,8 @@ class multCalibrator : public TNamed
7070
Double_t GetBoundaryForPercentile(TH1* histo, Double_t lPercentileRequested, Double_t& lPrecisionEstimate);
7171

7272
// Precision bookkeeping
73-
TH1D* GetPrecisionHistogram() { return fPrecisionHistogram; }; // gets precision histogram from current object
74-
void ResetPrecisionHistogram(); // Reset precision histogram, if it exists
73+
TH1D* GetPrecisionHistogram() { return fPrecisionHistogram; } // gets precision histogram from current object
74+
void ResetPrecisionHistogram(); // Reset precision histogram, if it exists
7575

7676
// Aliases for centrality estimators
7777
enum fCentEstim {
@@ -112,4 +112,4 @@ class multCalibrator : public TNamed
112112
// be streamed according to current workflow except in very specific
113113
// tests!)
114114
};
115-
#endif
115+
#endif // COMMON_TOOLS_MULTIPLICITY_MULTCALIBRATOR_H_

Common/Tools/Multiplicity/multGlauberNBDFitter.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111
//
12-
#ifndef MULTGLAUBERNBDFITTER_H
13-
#define MULTGLAUBERNBDFITTER_H
12+
#ifndef COMMON_TOOLS_MULTIPLICITY_MULTGLAUBERNBDFITTER_H_
13+
#define COMMON_TOOLS_MULTIPLICITY_MULTGLAUBERNBDFITTER_H_
1414

1515
#include "TF1.h"
1616
#include "TH1.h"
@@ -118,4 +118,4 @@ class multGlauberNBDFitter : public TNamed
118118

119119
ClassDef(multGlauberNBDFitter, 1);
120120
};
121-
#endif
121+
#endif // COMMON_TOOLS_MULTIPLICITY_MULTGLAUBERNBDFITTER_H_

Common/Tools/Multiplicity/multMCCalibrator.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// - victor.gonzalez@cern.ch
1717
// - david.dobrigkeit.chinellato@cern.ch
1818
//
19-
#ifndef MULTMCCALIBRATOR_H
20-
#define MULTMCCALIBRATOR_H
19+
#ifndef COMMON_TOOLS_MULTIPLICITY_MULTMCCALIBRATOR_H_
20+
#define COMMON_TOOLS_MULTIPLICITY_MULTMCCALIBRATOR_H_
2121

2222
#include "TF1.h"
2323
#include "TH1D.h"
@@ -64,4 +64,4 @@ class multMCCalibrator : public TNamed
6464
// be streamed according to current workflow except in very specific
6565
// tests!)
6666
};
67-
#endif
67+
#endif // COMMON_TOOLS_MULTIPLICITY_MULTMCCALIBRATOR_H_

Common/Tools/trackSelectionRequest.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
// Because of this, it is particularly important that the cuts in this object
2222
// in an analysis!
2323

24-
#ifndef TRACKSELECTIONREQUEST_H
25-
#define TRACKSELECTIONREQUEST_H
24+
#ifndef COMMON_TOOLS_TRACKSELECTIONREQUEST_H_
25+
#define COMMON_TOOLS_TRACKSELECTIONREQUEST_H_
2626

2727
#include <TMath.h>
2828

@@ -165,4 +165,4 @@ class trackSelectionRequest
165165

166166
std::ostream& operator<<(std::ostream& os, trackSelectionRequest const& c);
167167

168-
#endif // TRACKSELECTIONREQUEST_H
168+
#endif // COMMON_TOOLS_TRACKSELECTIONREQUEST_H_

0 commit comments

Comments
 (0)