Skip to content
Snippets Groups Projects
Commit 52c99375 authored by Scott Snyder's avatar Scott Snyder Committed by Tadej Novak
Browse files

TileGeoG4SD: Fix cppcheck warnings.

TileGeoG4SD: Fix cppcheck warnings.

Prefer to initialize members in an initialization list.
parent 70da0824
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TILESDOPTIONS_h
......@@ -19,7 +19,8 @@ class TileSDOptions
public:
/** Setup defaults */
TileSDOptions()
: timeCut(350.5),
: deltaTHit {0.5 , -75.25 , 75.25 , 5.},
timeCut(350.5),
tileTB(false),
plateToCell(-1),
uShape(-1),
......@@ -31,7 +32,7 @@ public:
rDBAccessSvcName("RDBAccessSvc"),
geoModelSvcName("GeoModelSvc")
{
deltaTHit = {0.5 , -75.25 , 75.25 , 5.};
}
/** A time granularity for G4 hits in TileHit
......
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