Skip to content

Commit 33934b4

Browse files
authored
Additional fix of O2 linter error
1 parent 16c3821 commit 33934b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/LegacyDataQA/pmdQa.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct PmdQa {
6767
Configurable<int> fMipCut{"fMipCut", 432, "fMipCut"};
6868
Configurable<int> fNcellCut{"fNcellCut", 2, "fNcellCut"};
6969
Configurable<float> fEtalow{"fEtalow", 2.3, "fEtalow"};
70-
Configurable<float> fEtahigh{"fEtalow", 3.9, "fEtahigh"};
70+
Configurable<float> fEtahigh{"fEtahigh", 3.9, "fEtahigh"};
7171
Configurable<float> fVtxCut{"fVtxCut", 10.0, "fVtxCut"};
7272

7373
void init(InitContext&)
@@ -124,7 +124,7 @@ struct PmdQa {
124124
histos.fill(HIST("hClusAdc"), track.pmdclsadc());
125125
float rdist = std::sqrt(track.pmdclsx() * track.pmdclsx() + track.pmdclsy() * track.pmdclsy());
126126
float theta = std::atan2(rdist, track.pmdclsz());
127-
float etacls = -std::log(TMath::Tan(0.5 * theta));
127+
float etacls = -std::log(std::tan(0.5 * theta));
128128
if (track.pmdclsadc() > fMipCut && track.pmdncell() > fNcellCut) {
129129
if (etacls > fEtalow && etacls < fEtahigh) {
130130
histos.fill(HIST("hetacls"), etacls);

0 commit comments

Comments
 (0)