Skip to content
Snippets Groups Projects
Commit 5a0b86b0 authored by Administrator's avatar Administrator
Browse files

Move rich local reconstruction code

There were rich ring finders in the L1 code base which were compiled and linked
into libL1. With the change in the build system this results in a circular
dependency between the L1 and CbmRichReco libraries which was resolved by
removing the classes from compilation.
With this commit the classes are moved from the L1 code base into the rich
reconstruction code base.
parent 759515d6
No related branches found
No related tags found
1 merge request!1018Move rich local reconstruction code
Pipeline #19898 passed
Showing with 24 additions and 31 deletions
......@@ -32,8 +32,6 @@ set(SRCS
CbmL1TrackMerger.cxx
CbmL1TofMerger.cxx
# L1AlgoInputData.cxx
#OffLineInterface/CbmL1RichENNRingFinder.cxx
#OffLineInterface/CbmL1RichENNRingFinderParallel.cxx
OffLineInterface/CbmL1StsTrackFinder.cxx
OffLineInterface/CbmL1GlobalTrackFinder.cxx
OffLineInterface/CbmL1GlobalFindTracksEvents.cxx
......@@ -41,7 +39,6 @@ set(SRCS
#OffLineInterface / CbmL1MuchHit.cxx
#OffLineInterface / CbmL1MuchTrack.cxx
#OffLineInterface / CbmL1MuchFinderQa.cxx
#OffLineInterface/CbmL1RichRingQa.cxx
#OffLineInterface / CbmL1SttHit.cxx
#OffLineInterface / CbmL1SttTrackFinder.cxx
#OffLineInterface / CbmL1SttTrack.cxx
......
......@@ -11,7 +11,6 @@
#pragma link off all functions;
#pragma link C++ class CbmL1 + ;
//#pragma link C++ class CbmL1RichENNRingFinder + ;
#pragma link C++ class CbmL1StsTrackFinder + ;
//#pragma link C++ class CbmL1TrdTrackFinderSts+;
#pragma link C++ class CbmL1TrackMerger + ;
......@@ -20,7 +19,6 @@
//#pragma link C++ class CbmL1MuchHit+;
//#pragma link C++ class CbmL1MuchTrack+;
//#pragma link C++ class CbmL1MuchFinderQa+;
//#pragma link C++ class CbmL1RichRingQa + ;
#pragma link C++ class CbmL1TrdTracklet + ;
#pragma link C++ class CbmL1TrdTracklet4 + ;
#pragma link C++ class CbmL1GlobalTrackFinder + ;
......
......@@ -33,6 +33,7 @@ set(SRCS
qa/CbmRichUrqmdTest.cxx
qa/CbmRichGeoTestOpt.cxx
qa/CbmRichRecoQa.cxx
qa/CbmL1RichRingQa.cxx
unpack/CbmRichUnpackAlgo.cxx
unpack/CbmRichUnpackAlgo2022.cxx
......@@ -43,9 +44,12 @@ set(SRCS
set(NO_DICT_SRCS
CbmRichConverter.cxx
finder/CbmRichRingFinderIdeal.cxx
finder/CbmRichRingFinderHoughImpl.cxx
finder/CbmRichRingFinderHough.cxx
finder/CbmL1RichENNRingFinder.cxx
finder/CbmL1RichENNRingFinderParallel.cxx
fitter/CbmRichRingFitterCircle.cxx
fitter/CbmRichRingFitterCOP.cxx
......
......@@ -31,6 +31,7 @@
#pragma link C++ class CbmRichRingFitterQa + ;
#pragma link C++ class CbmRichRecoQa + ;
#pragma link C++ class CbmRichRecoTbQa + ;
#pragma link C++ class CbmL1RichRingQa + ;
//unpack
#pragma link C++ class CbmRichUnpackAlgo + ;
......
......@@ -16,7 +16,8 @@
#include "CbmRichRing.h"
//#include "prototype/CbmRichProtProjectionProducer.h"
//#include "CbmL1RichENNRingFinder.h"
#include "CbmL1RichENNRingFinder.h"
#include "CbmL1RichENNRingFinderParallel.h"
#include "CbmRichRingFinderHough.h"
#include "CbmRichRingFinderIdeal.h"
#include "CbmRichTrackExtrapolationBase.h"
......@@ -24,7 +25,6 @@
#include "CbmRichTrackExtrapolationKF.h"
#include "CbmRichTrackExtrapolationLittrack.h"
#include "CbmRichTrackExtrapolationMirrorIdeal.h"
//#include "CbmL1RichENNRingFinderParallel.h"
//#include "prototype/CbmRichProtRingFinderHough.h"
#include "CbmEvent.h"
......@@ -197,13 +197,14 @@ void CbmRichReconstruction::InitFinder()
else if (fFinderName == "ideal") {
fRingFinder = new CbmRichRingFinderIdeal();
}
/* else if (fFinderName == "enn") {
fRingFinder = new CbmL1RichENNRingFinder(0);
}
else if ((fFinderName == "enn_parallel")) {
fRingFinder = new CbmL1RichENNRingFinderParallel(0);
} else if (fFinderName == "hough_prototype") {
else if (fFinderName == "enn") {
fRingFinder = new CbmL1RichENNRingFinder(0);
}
else if ((fFinderName == "enn_parallel")) {
fRingFinder = new CbmL1RichENNRingFinderParallel(0);
}
/*
else if (fFinderName == "hough_prototype") {
fRingFinder = new CbmRichProtRingFinderHough();
}*/
else {
......
......@@ -16,7 +16,8 @@
#include "CbmRichRing.h"
//#include "prototype/CbmRichProtProjectionProducer.h"
//#include "CbmL1RichENNRingFinder.h"
#include "CbmL1RichENNRingFinder.h"
#include "CbmL1RichENNRingFinderParallel.h"
#include "CbmRichRingFinderHough.h"
#include "CbmRichRingFinderIdeal.h"
#include "CbmRichTrackExtrapolationBase.h"
......@@ -24,7 +25,6 @@
#include "CbmRichTrackExtrapolationKF.h"
#include "CbmRichTrackExtrapolationLittrack.h"
#include "CbmRichTrackExtrapolationMirrorIdeal.h"
//#include "CbmL1RichENNRingFinderParallel.h"
//#include "prototype/CbmRichProtRingFinderHough.h"
#include "CbmGlobalTrack.h"
......@@ -172,12 +172,14 @@ void CbmRichReconstruction::InitFinder()
else if (fFinderName == "ideal") {
fRingFinder = new CbmRichRingFinderIdeal();
}
/*else if (fFinderName == "enn") {
else if (fFinderName == "enn") {
fRingFinder = new CbmL1RichENNRingFinder(0);
}
else if ((fFinderName == "enn_parallel")) {
}
else if ((fFinderName == "enn_parallel")) {
fRingFinder = new CbmL1RichENNRingFinderParallel(0);
} else if (fFinderName == "hough_prototype") {
}
/*
else if (fFinderName == "hough_prototype") {
fRingFinder = new CbmRichProtRingFinderHough();
}*/
else {
......
......@@ -46,9 +46,7 @@ using std::sqrt;
using std::vector;
ClassImp(CbmL1RichENNRingFinder)
CbmL1RichENNRingFinder::CbmL1RichENNRingFinder(Int_t verbose)
CbmL1RichENNRingFinder::CbmL1RichENNRingFinder(Int_t verbose)
: finder(new CbmL1RichENNRingFinderParallel(verbose))
, fRecoTime(0)
, fNEvents(0)
......
......@@ -23,9 +23,6 @@
#include "CbmRichRingFinder.h"
#include "TStopwatch.h"
#include "TString.h"
#include <vector>
class ENNHit;
......@@ -61,9 +58,6 @@ private:
CbmL1RichENNRingFinderParallel* finder;
Float_t fRecoTime;
Int_t fNEvents;
public:
ClassDef(CbmL1RichENNRingFinder, 1);
};
#endif
......@@ -212,8 +212,6 @@ private:
TStopwatch fTimers[NTimers]; // timers for different parts of algorithm
TString fTimersNames[NTimers]; // names which are correspond to the timers.
TStopwatch& GetTimer(TString t);
public:
};
#endif
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