Skip to content
Snippets Groups Projects
Commit 59e26f90 authored by Alexandru Bercuci's avatar Alexandru Bercuci Committed by Florian Uhlig
Browse files

fix format

parent 6d0150ad
No related branches found
No related tags found
1 merge request!728Add Trd2d to the data reconstruction
......@@ -211,10 +211,10 @@ void run_unpack_online(std::vector<std::string> publisher = {"tcp://localhost:55
// Activate the line below to write Trd1D digis to a separate "TrdFaspDigi" branch. Can be used to separate between Fasp and Spadic digis
//trdfasp2dconfig->SetOutputBranchName("TrdFaspDigi");
if (runid <= 1588) {
uint8_t map[NFASPMOD],
map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
for (int i(0); i< NFASPMOD; i++) map[i] = (i<12 ? map21[i] : i);
uint8_t map[NFASPMOD], map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
for (int i(0); i < NFASPMOD; i++)
map[i] = (i < 12 ? map21[i] : i);
trdfasp2dconfig->SetFaspMapping(5, map);
}
std::string parfilesbasepathTrdfasp2d = Form("%s/parameters/trd", srcDir.Data());
......
......@@ -223,10 +223,10 @@ void run_unpack_tsa(std::vector<std::string> infile = {"test.tsa"}, UInt_t runid
// Activate the line below to write Trd1D digis to a separate "TrdFaspDigi" branch. Can be used to separate between Fasp and Spadic digis
// trdfasp2dconfig->SetOutputBranchName("TrdFaspDigi");
if (runid <= 1588) {
uint8_t map[NFASPMOD],
map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
for (int i(0); i< NFASPMOD; i++) map[i] = (i<12 ? map21[i] : i);
uint8_t map[NFASPMOD], map21[] = {9, 2, 3, 11, 10, 7, 8, 0, 1, 4, 6, 5};
for (int i(0); i < NFASPMOD; i++)
map[i] = (i < 12 ? map21[i] : i);
trdfasp2dconfig->SetFaspMapping(5, map);
}
std::string parfilesbasepathTrdfasp2d = Form("%s/parameters/trd", srcDir.Data());
......
......@@ -35,7 +35,7 @@ void CbmTrdUnpackConfigFasp2D::InitAlgo()
{
if (fDoLog) LOG(info) << fName << "::InitAlgo - SetFaspMapping";
fAlgo->SetAsicMapping(fFaspMap);
/*if (fDoLog) */fAlgo->PrintAsicMapping();
/*if (fDoLog) */ fAlgo->PrintAsicMapping();
// Now we have all information required to initialise the algorithm
fAlgo->Init();
......
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