Skip to content
Snippets Groups Projects
Commit c37e4b9b authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

Refactor and clean up the method for adding cells from the satellites using...

Refactor and clean up the method for adding cells from the satellites using constaints/boxing. This might be relevant depending on the outcome of the discussion on the PC on if we keep this or not.
parent 4cda231e
No related branches found
No related tags found
No related merge requests found
...@@ -103,24 +103,16 @@ private: ...@@ -103,24 +103,16 @@ private:
/** Find the size of the cluster */ /** Find the size of the cluster */
PhiSize findPhiSize(const CentralPosition& cp0, PhiSize findPhiSize(const CentralPosition& cp0,
const xAOD::CaloCluster* cluster) const; const xAOD::CaloCluster& cluster) const;
/** Add the EM cells from reference cluster to self; eta and phi are the ones /** fill Super Clusterlimiting its size.*/
to use for limiting size. This excludes L1 (which is done as a separate StatusCode fillClusterConstrained(
step). note, use raw eta and phi! */ xAOD::CaloCluster& tofill,
StatusCode addEMCellsToCluster(xAOD::CaloCluster* newCluster, const std::vector<const xAOD::CaloCluster*>& clusters,
const xAOD::CaloCluster* ref, const CentralPosition& cp0) const;
const CentralPosition& cp0) const;
/** Add the preshower and L1 EM cells from reference cluster to self; note,
* use raw eta and phi! */
StatusCode addL0L1EMCellsToCluster(xAOD::CaloCluster* newCluster,
const xAOD::CaloCluster* ref,
const CentralPosition& cp0,
const PhiSize& phiSize) const;
/** functions to add all tile Gap 3 cells in a window*/ /** functions to add all tile Gap 3 cells in a window*/
StatusCode addTileGap3CellsinWindow(xAOD::CaloCluster* myCluster, StatusCode addTileGap3CellsinWindow(xAOD::CaloCluster& tofill,
const CaloDetDescrManager& mgr) const; const CaloDetDescrManager& mgr) const;
/** function to calibrate the new clusters energy */ /** function to calibrate the new clusters energy */
......
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