Skip to content

Commit f0d5f79

Browse files
committed
Change branch name for TPC cluster MC labels; Remove empty file
This is a small usability improvement: We need to add a trailing dot (.) to some branch names (when they are a TNamed) otherwise ROOT cannot draw from these branches in a TBrowser Remove empty source file
1 parent 7aed09c commit f0d5f79

4 files changed

Lines changed: 3 additions & 21 deletions

File tree

Detectors/TPC/reconstruction/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ set(SRCS
88
src/AdcClockMonitor.cxx
99
src/BoxClusterer.cxx
1010
src/Cluster.cxx
11-
src/Clusterer.cxx
1211
src/ClusterContainer.cxx
1312
src/ClustererTask.cxx
1413
src/GBTFrame.cxx

Detectors/TPC/reconstruction/macro/readClusterMCtruth.C

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void readClusterMCtruth(std::string filename)
3232

3333
o2::dataformats::MCTruthContainer<o2::MCCompLabel> mMCTruthArray;
3434
o2::dataformats::MCTruthContainer<o2::MCCompLabel> *mcTruthArray(&mMCTruthArray);
35-
clusterTree->SetBranchAddress("TPCClusterHWMCTruth", &mcTruthArray);
35+
clusterTree->SetBranchAddress("TPCClusterHWMCTruth.", &mcTruthArray);
3636

3737
for(int iEvent=0; iEvent<clusterTree->GetEntriesFast(); ++iEvent) {
3838
int cluster = 0;
@@ -47,5 +47,4 @@ void readClusterMCtruth(std::string filename)
4747
++cluster;
4848
}
4949
}
50-
5150
}

Detectors/TPC/reconstruction/src/Clusterer.cxx

Lines changed: 0 additions & 16 deletions
This file was deleted.

Detectors/TPC/reconstruction/src/ClustererTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ InitStatus ClustererTask::Init()
9090

9191
// Register MC Truth output container
9292
mClustersMCTruthArray = std::make_unique<MCLabelContainer>();
93-
mgr->Register("TPCClusterMCTruth", "TPC", mClustersMCTruthArray.get(), kTRUE);
93+
mgr->Register("TPCClusterMCTruth.", "TPC", mClustersMCTruthArray.get(), kTRUE);
9494

9595
// create clusterer and pass output pointer
9696
mBoxClusterer = std::make_unique<BoxClusterer>(mClustersArray);
@@ -103,7 +103,7 @@ InitStatus ClustererTask::Init()
103103

104104
// Register MC Truth output container
105105
mHwClustersMCTruthArray = std::make_unique<MCLabelContainer>();
106-
mgr->Register("TPCClusterHWMCTruth", "TPC", mHwClustersMCTruthArray.get(), kTRUE);
106+
mgr->Register("TPCClusterHWMCTruth.", "TPC", mHwClustersMCTruthArray.get(), kTRUE);
107107

108108
// create clusterer and pass output pointer
109109
mHwClusterer = std::make_unique<HwClusterer>(mHwClustersArray,mHwClustersMCTruthArray.get());//,0,359);

0 commit comments

Comments
 (0)