Skip to content

Commit 738d9ab

Browse files
bovulpesMohammadAlTurany
authored andcommitted
MFT: README and info logs
1 parent 453651d commit 738d9ab

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Detectors/ITSMFT/MFT/reconstruction/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Reconstruction with MQ devices:
4848

4949
./"execdir"/mft-reco-processor --transport zeromq --id processor1 --mq-config reco.json --task-name FindHits --in-channel data-in --out-channel data-out
5050

51-
./"execdir"/mft-reco-sink --transport zeromq --id sink1 --mq-config reco.json --file-name hits.root --class-name "TClonesArray(AliceO2::MFT::Hit)" --branch-name MFTHits --in-channel data-in
51+
./"execdir"/mft-reco-sink --transport zeromq --id sink1 --mq-config reco.json --file-name hits.root --class-name "TClonesArray(AliceO2::MFT::Hit)" --branch-name MFTHits --class-name "AliceO2::MFT::EventHeader" --branch-name EventHeader. --in-channel data-in
5252
```
5353

5454
with the output file "hits.root"

Detectors/ITSMFT/MFT/reconstruction/src/devices/FileSink.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ bool FileSink::StoreData(FairMQParts& parts, int index)
157157

158158
for (unsigned int ibr = 0; ibr < fBranchNames.size(); ibr++) {
159159

160-
LOG(INFO) << "FileSink::Run >>>>> branch " << ibr << " " << fBranchNames[ibr].c_str() << " " << tempObjects[ipart]->GetName() << "";
160+
LOG(INFO) << "FileSink::StoreData >>>>> branch " << ibr << " " << fBranchNames[ibr].c_str() << " part " << ipart << " " << tempObjects[ipart]->GetName() << "";
161161

162162
// !!! force ???
163163
//if (kFALSE || (strcmp(tempObjects[ipart]->GetName(),fBranchNames[ibr].c_str()) == 0)) {
@@ -166,8 +166,7 @@ bool FileSink::StoreData(FairMQParts& parts, int index)
166166

167167
fOutputObjects[ibr] = tempObjects[ipart];
168168

169-
LOG(INFO) << "FileSink::Run >>>>> branch " << ibr << " " << fBranchNames[ibr].c_str() << " " << tempObjects[ipart]->GetName() << "";
170-
//LOG(INFO) << "FileSink::Run >>>>> out object branch " << ibr << " part " << ipart << "";
169+
LOG(INFO) << "FileSink::StoreData >>>>> branch selected for output " << ibr << " " << fBranchNames[ibr].c_str() << " part " << ipart << " " << tempObjects[ipart]->GetName() << "";
171170

172171
//fOutputObjects[ibr]->Dump();
173172
fTree->SetBranchAddress(fBranchNames[ibr].c_str(),&fOutputObjects[ibr]);

0 commit comments

Comments
 (0)