@@ -71,6 +71,9 @@ class DDSpacePointBuilder : public Processor {
7171
7272
7373 DDSpacePointBuilder () ;
74+
75+ DDSpacePointBuilder (const DDSpacePointBuilder&) = delete ;
76+ DDSpacePointBuilder& operator =(const DDSpacePointBuilder&) = delete ;
7477
7578 /* * Called at the begin of the job before anything is read.
7679 * Use to initialize the processor, e.g. book histograms.
@@ -102,19 +105,19 @@ class DDSpacePointBuilder : public Processor {
102105
103106 /* * Input collection name.
104107 */
105- std::string _TrackerHitCollection;
108+ std::string _TrackerHitCollection{} ;
106109
107110 /* * Input relation collection name.
108111 */
109- std::string _TrackerHitSimHitRelCollection;
112+ std::string _TrackerHitSimHitRelCollection{} ;
110113
111114 /* * Output collection name.
112115 */
113- std::string _SpacePointsCollection;
116+ std::string _SpacePointsCollection{} ;
114117
115118 /* * Output relations collection name.
116119 */
117- std::string _relColName;
120+ std::string _relColName{} ;
118121
119122 /* * Calculates the 2 dimensional crossing point of two lines.
120123 * Each line is specified by a point (x,y) and a direction vector (ex,ey).
@@ -196,26 +199,26 @@ class DDSpacePointBuilder : public Processor {
196199 std::string getCellID0Info ( int cellID0 );
197200
198201
199- int _nRun ;
200- int _nEvt ;
202+ int _nRun {} ;
203+ int _nEvt {} ;
201204
202- unsigned _nOutOfBoundary;
203- unsigned _nStripsTooParallel;
204- unsigned _nPlanesNotParallel;
205+ unsigned _nOutOfBoundary{} ;
206+ unsigned _nStripsTooParallel{} ;
207+ unsigned _nPlanesNotParallel{} ;
205208
206- float _nominal_vertex_x;
207- float _nominal_vertex_y;
208- float _nominal_vertex_z;
209+ float _nominal_vertex_x{} ;
210+ float _nominal_vertex_y{} ;
211+ float _nominal_vertex_z{} ;
209212
210- CLHEP::Hep3Vector _nominal_vertex;
213+ CLHEP::Hep3Vector _nominal_vertex{} ;
211214
212- float _striplength_tolerance;
215+ float _striplength_tolerance{} ;
213216
214- double _striplength ;
215- std::string _subDetName ;
217+ double _striplength {} ;
218+ std::string _subDetName {} ;
216219
217220 // dd4hep::Detector& lcdd;
218- const dd4hep::rec::SurfaceMap* surfMap ;
221+ const dd4hep::rec::SurfaceMap* surfMap { nullptr } ;
219222
220223} ;
221224
0 commit comments