Skip to content
Snippets Groups Projects
Commit ad6de297 authored by Patrick Scholer's avatar Patrick Scholer Committed by Vakhtang Tsulaia
Browse files

Temporarily remove single strip charge cut in MM reco

Temporarily remove single strip charge cut in MM reco
parent e13ab59f
No related merge requests found
...@@ -24,16 +24,10 @@ Muon::MmRdoToPrepDataToolCore::MmRdoToPrepDataToolCore(const std::string& t, ...@@ -24,16 +24,10 @@ Muon::MmRdoToPrepDataToolCore::MmRdoToPrepDataToolCore(const std::string& t,
: :
base_class(t,n,p) base_class(t,n,p)
{ {
// template for property declaration
declareProperty("OutputCollection", m_mmPrepDataContainerKey = std::string("MM_Measurements"),
"Muon::MMPrepDataContainer to record");
declareProperty("InputCollection", m_rdoContainerKey = std::string("MMRDO"),
"Muon::MMPrepDataContainer to record");
declareProperty("MergePrds", m_merge = true);
declareProperty("singleStripChargeCut", m_singleStripChargeCut = 6241 * 0.4); // 0.4 fC from BB5 cosmics
} }
StatusCode Muon::MmRdoToPrepDataToolCore::initialize() StatusCode Muon::MmRdoToPrepDataToolCore::initialize()
{ {
ATH_MSG_DEBUG(" in initialize()"); ATH_MSG_DEBUG(" in initialize()");
...@@ -201,8 +195,7 @@ StatusCode Muon::MmRdoToPrepDataToolCore::processCollection(Muon::MMPrepDataCont ...@@ -201,8 +195,7 @@ StatusCode Muon::MmRdoToPrepDataToolCore::processCollection(Muon::MMPrepDataCont
calibStrip.time, calibStrip.time,
calibStrip.charge, calibStrip.charge,
calibStrip.distDrift); calibStrip.distDrift);
if (mpd.charge() < m_singleStripChargeCut) if (mpd.charge() < m_singleStripChargeCut) continue;
continue;
// set the hash of the MMPrepData such that it contains the correct value // set the hash of the MMPrepData such that it contains the correct value
// in case it gets used in SimpleMMClusterBuilderTool::getClusters // in case it gets used in SimpleMMClusterBuilderTool::getClusters
mpd.setHashAndIndex(hash, 0); mpd.setHashAndIndex(hash, 0);
......
...@@ -64,16 +64,15 @@ namespace Muon ...@@ -64,16 +64,15 @@ namespace Muon
ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}; ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
/// MdtPrepRawData containers /// MdtPrepRawData containers
SG::WriteHandleKey<Muon::MMPrepDataContainer> m_mmPrepDataContainerKey; SG::WriteHandleKey<Muon::MMPrepDataContainer> m_mmPrepDataContainerKey {this,"OutputCollection", "MM_Measurements","Muon::MMPrepDataContainer to record"};
SG::ReadHandleKey<MM_RawDataContainer> m_rdoContainerKey; SG::ReadHandleKey<MM_RawDataContainer> m_rdoContainerKey{this,"InputCollection","MMRDO","MM RDO to read"};
std::string m_outputCollectionLocation; Gaudi::Property<bool> m_merge {this,"MergePrds",true};
bool m_merge; // charge cut is temporarily disabled for comissioning studies. Should be reenabled at some point. pscholer 13.05.2022
Gaudi::Property<float> m_singleStripChargeCut {this,"singleStripChargeCut", FLT_MIN /*6241 * 0.4*/}; // 0.4 fC from BB5 cosmics
ToolHandle<IMMClusterBuilderTool> m_clusterBuilderTool{this,"ClusterBuilderTool","Muon::SimpleMMClusterBuilderTool/SimpleMMClusterBuilderTool"}; ToolHandle<IMMClusterBuilderTool> m_clusterBuilderTool{this,"ClusterBuilderTool","Muon::SimpleMMClusterBuilderTool/SimpleMMClusterBuilderTool"};
ToolHandle<INSWCalibTool> m_calibTool{this,"NSWCalibTool","Muon::NSWCalibTool/NSWCalibTool"}; ToolHandle<INSWCalibTool> m_calibTool{this,"NSWCalibTool","Muon::NSWCalibTool/NSWCalibTool"};
float m_singleStripChargeCut;
}; };
} // end of namespace } // end of namespace
......
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