Skip to content
Snippets Groups Projects

fix peak in MM overlay time spectrum

Merged Patrick Scholer requested to merge pscholer/athena:fixVMMSim into master
Files
7
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#include "MM_DigitToRDO.h"
@@ -62,10 +62,8 @@ StatusCode MM_DigitToRDO::execute(const EventContext& ctx) const
for ( unsigned int i=0 ; i<nstrips ; ++i ) {
// Set proper data time window in simulated MM RDOs
// 8BC range starting at t=200 due to peaking time
// totaling digits within t = [200, 400]
if (digit->stripResponseTime().at(i) < 200. || digit->stripResponseTime().at(i) > 400.) continue;
// For the sTGCs there is a timing cut in DigitToRDO converter while for the MMs this cut is already applied in the
// simulation of the electronics response. pscholer May 2022
///
/// set the rdo id to a value consistent with the channel number
Loading