Skip to content
Snippets Groups Projects
Commit 887e37e8 authored by Martin Beyer's avatar Martin Beyer Committed by Sergey Gorbunov
Browse files

Rich: fix typo in macros and comment

parent c9d75b56
No related branches found
No related tags found
1 merge request!1562Rich: fix typo in macros and comment
Pipeline #26192 passed
......@@ -19,17 +19,17 @@
#include <vector> // for vector
class CbmRichPixelData {
public:
public:
Int_t fAddress;
Double_t fX; // global x coordinate
Double_t fY; // global y coordinate
Double_t fZ; // global z coordinate
Int_t fPixelId; // pixel index [0, 63] row major, view from -z to z
Int_t fPixelId; // pixel index [0, 63] row major, view from z to -z
Int_t fPmtId;
};
class CbmRichPmtData {
public:
public:
Bool_t ContainsPixel(Int_t address)
{
return std::find(fPixelAddresses.begin(), fPixelAddresses.end(), address) != fPixelAddresses.end();
......
......@@ -28,7 +28,7 @@ void run_digi(TString traFile = "", TString parFile = "", TString digiFile = "",
TString macroDir = macroPath(0, macroPath.Last('/') + 1);
if (traFile.IsNull()) traFile = macroDir + "data/test.tra.root";
if (parFile.IsNull()) parFile = macroDir + "data/test.par.root";
if (digiFile.IsNull()) digiFile = macroDir + "data/test.geo.root";
if (digiFile.IsNull()) digiFile = macroDir + "data/test.digi.root";
remove(digiFile);
// ------------------------------------------------------------------------
......
......@@ -45,7 +45,7 @@ void run_qa(TString traFile = "", TString parFile = "", TString digiFile = "", T
TString macroDir = macroPath(0, macroPath.Last('/') + 1);
if (traFile.IsNull()) traFile = macroDir + "data/test.tra.root";
if (parFile.IsNull()) parFile = macroDir + "data/test.par.root";
if (digiFile.IsNull()) digiFile = macroDir + "data/test.geo.root";
if (digiFile.IsNull()) digiFile = macroDir + "data/test.digi.root";
if (recoFile.IsNull()) recoFile = macroDir + "data/test.reco.root";
if (qaFile.IsNull()) qaFile = macroDir + "data/test.qa.root";
......
......@@ -60,7 +60,7 @@ void run_reco(TString traFile = "", TString parFile = "", TString digiFile = "",
TString macroDir = macroPath(0, macroPath.Last('/') + 1);
if (traFile.IsNull()) traFile = macroDir + "data/test.tra.root";
if (parFile.IsNull()) parFile = macroDir + "data/test.par.root";
if (digiFile.IsNull()) digiFile = macroDir + "data/test.geo.root";
if (digiFile.IsNull()) digiFile = macroDir + "data/test.digi.root";
if (recoFile.IsNull()) recoFile = macroDir + "data/test.reco.root";
remove(recoFile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment