Skip to content
Snippets Groups Projects
Commit b0447e26 authored by Sergei Zharko's avatar Sergei Zharko
Browse files

L1Algo init: updates

parent 5eae4340
No related branches found
No related tags found
1 merge request!738L1 Algo: initialization interface, parameters and refactoring updates
......@@ -245,6 +245,8 @@ void L1Algo::Init(const L1Vector<fscal>& geo, const bool UseHitErrors, const Tra
// Fill L1Station array
fInitManager.TransferL1StationArray(fStationsNew);
// Fill L1CAIteration array
fInitManager.Tra
LOG(debug) << "**********************************************************************";
LOG(debug) << "* New L1Algo initialization cross check (tmp log, to be removed!) *";
......
......@@ -201,6 +201,10 @@ private:
L1Vector<L1CAIteration> fCAIterationsContainer {}; ///> Container for CA track finder iterations
int fCAIterationsNumberCrosscheck {-1}; ///> Number of iterations to be passed (must be used for cross-checks)
/* Pointer to L1Parameters object */
/// Pointer to L1Parameters object, which will be copied to L1Algo after checks
L1Parameters * fParametersPtr {nullptr};
};
#endif
......@@ -75,8 +75,6 @@ public:
void SetMaxDoubletsPerSinglet(unsigned int value) { fMaxDoubletsPerSinglet = value; }
/// Sets upper-bound cut on max number of triplets per one doublet
void SetMaxTripletPerDoublets(unsigned int value) { fMaxTripletPerDoublets = value; }
/// Sets the vector of track finder iterations
void SetCAIterations(const L1Vector<L1CAIteration>& input) { fCAIterationsContainer = input; }
//
// GETTERS
......@@ -85,8 +83,11 @@ public:
unsigned int GetMaxDoubletsPerSinglet() const { return fMaxDoubletsPerSinglet; }
/// Gets upper-bound cut on max number of triplets per one doublet
unsigned int GetMaxTripletPerDoublets() const { return fMaxTripletPerDoublets; }
/// Gets track finder iteration vector
const L1Vector<L1CAIteration>& GetCAIterations() const { return fCAIterationsContainer; }
/// Provides access to L1CAIteration vector (modifiable)
L1Vector<L1CAIteration>& CAIterationsContainer() { return fCAIterationsContainer; }
/// Provides access to L1CAIteration vector (const)
const L1Vector<L1CAIteration>& CAIterationsContainer() const { return fCAIterationsContainer; }
private:
......
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