File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments