Skip to content
Snippets Groups Projects
Commit 77f937fb authored by Savannah Rose Shively's avatar Savannah Rose Shively
Browse files

Baseline functional update. Pre-RDO functions

parent 2f33c895
Branches
No related tags found
No related merge requests found
Pipeline #2465524 passed
......@@ -23,8 +23,7 @@
#include <TBranch.h>
namespace Tracker
{
//static const std::string moduleFailureReason{"ClusterReadAlg: Exceeds max clusters"};
......@@ -40,7 +39,7 @@ StatusCode ClusterReadAlg::initialize() {
ATH_MSG_INFO("ClusterReadAlg::initialize()");
ATH_CHECK(m_faserTriggerDataKey.initialize());
ATH_CHECK(m_clusterContainerKey.initialize());
//ATH_CHECK(m_clusterContainerKey.initialize());
ATH_CHECK(m_trackCollection.initialize());
// Get the SCT ID helper
......@@ -78,8 +77,8 @@ StatusCode ClusterReadAlg::execute(const EventContext& ctx) const
++m_numberOfTriggeredEvents;
SG::ReadHandle<FaserSCT_ClusterContainer> clusterContainer{m_clusterContainerKey, ctx};
ATH_CHECK(clusterContainer.isValid());
//SG::ReadHandle<FaserSCT_ClusterContainer> clusterContainer{m_clusterContainerKey, ctx};
//ATH_CHECK(clusterContainer.isValid());
// Loop over stations
......@@ -106,4 +105,3 @@ StatusCode ClusterReadAlg::finalize()
}
}
\ No newline at end of file
......@@ -41,8 +41,7 @@ namespace Trk
class TrackStateOnSurface;
}
namespace Tracker
{
/**
* @class SCT_Clusterization
......@@ -55,7 +54,7 @@ class ClusterReadAlg : public AthReentrantAlgorithm, AthHistogramming
public:
/// Constructor with parameters:
ClusterReadAlg(const std::string& name, ISvcLocator* pSvcLocator);
virtual ~ClusterReadAlg();
virtual ~ClusterReadAlg(){};
/** @name Usual algorithm methods */
//@{
///Retrieve the tools used and initialize variables
......@@ -82,7 +81,7 @@ class ClusterReadAlg : public AthReentrantAlgorithm, AthHistogramming
const FaserSCT_ID* m_idHelper;
SG::ReadHandleKey<xAOD::FaserTriggerData> m_faserTriggerDataKey { this, "FaserTriggerDataKey", "FaserTriggerData", "ReadHandleKey for xAOD::FaserTriggerData" };
SG::ReadHandleKey<FaserSCT_ClusterContainer> m_clusterContainerKey { this, "ClustersName", "SCT_ClusterContainer", "FaserSCT cluster container" };
//SG::ReadHandleKey<FaserSCT_ClusterContainer> m_clusterContainerKey { this, "ClustersName", "SCT_ClusterContainer", "FaserSCT cluster container" };
SG::WriteHandleKey<TrackCollection> m_trackCollection { this, "OutputCollection", "ClusterFit", "Output track collection name" };
DoubleProperty m_zCenter { this, "ZCenter", 2300.0, "Global z position at which to reconstruct track parameters"};
......@@ -112,5 +111,5 @@ inline const ServiceHandle<ITHistSvc>& ClusterReadAlg::histSvc() const
return m_histSvc;
}
}
#endif // FASERCLUSTERFIT_CLUSTERFITALG_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment