Commit 7eca740c authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisTimingATLASpix: change default of cluster_charge_cut and...

AnalysisTimingATLASpix: change default of cluster_charge_cut and cluster_size_cut to -1 i.e. not used
parent b5ee4868
......@@ -26,8 +26,8 @@ AnalysisTimingATLASpix::AnalysisTimingATLASpix(Configuration config, std::shared
m_timingCut = m_config.get<double>("timing_cut", static_cast<double>(Units::convert(1000, "ns")));
m_chi2ndofCut = m_config.get<double>("chi2ndof_cut", 3.);
m_timeCutFrameEdge = m_config.get<double>("time_cut_frameedge", static_cast<double>(Units::convert(20, "ns")));
m_clusterChargeCut = m_config.get<double>("cluster_charge_cut", 100000.);
m_clusterSizeCut = m_config.get<size_t>("cluster_size_cut", static_cast<size_t>(100));
m_clusterChargeCut = m_config.get<double>("cluster_charge_cut", -1.);
m_clusterSizeCut = m_config.get<size_t>("cluster_size_cut", static_cast<size_t>(-1));
m_highTotCut = m_config.get<int>("high_tot_cut", 40);
m_highChargeCut = m_config.get<double>("high_charge_cut", 40.);
m_leftTailCut = m_config.get<double>("left_tail_cut", static_cast<double>(Units::convert(-10, "ns")));
......@@ -441,13 +441,13 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
has_associated_cluster = true;
matched_tracks++;
if(cluster->charge() > m_clusterChargeCut) {
if(m_clusterChargeCut > 0 && cluster->charge() > m_clusterChargeCut) {
LOG(DEBUG) << " - track discarded due to clusterChargeCut";
continue;
}
tracks_afterClusterChargeCut++;
if(cluster->size() > m_clusterSizeCut) {
if(m_clusterSizeCut > 0 && cluster->size() > m_clusterSizeCut) {
LOG(DEBUG) << " - track discarded due to clusterSizeCut";
continue;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment