@@ -62,6 +62,8 @@ class FilterDoubleLayerHits : public Processor {
6262
6363
6464 FilterDoubleLayerHits () ;
65+ FilterDoubleLayerHits (const FilterDoubleLayerHits) = delete ;
66+ FilterDoubleLayerHits& operator =(const FilterDoubleLayerHits) = delete ;
6567
6668 virtual const std::string & name () const { return Processor::name () ; }
6769
@@ -92,40 +94,40 @@ class FilterDoubleLayerHits : public Processor {
9294 dd4hep::rec::Vector2D globalToLocal (long int cellID, const dd4hep::rec::Vector3D& posGlobal, dd4hep::rec::ISurface** surf) ;
9395
9496 // //Input collection name.
95- std::string _inColName ;
97+ std::string _inColName {} ;
9698
9799 // //Output collection name.
98- std::string _outColName ;
100+ std::string _outColName {} ;
99101
100102 // //Maximum time difference between hits in a doublet
101- double _dtMax ;
103+ double _dtMax {} ;
102104
103105 // //Double layer cuts configuration
104- StringVec _dlCutConfigs ;
106+ StringVec _dlCutConfigs {} ;
105107
106108 // //Whether to fill diagnostic histograms
107- bool _fillHistos ;
109+ bool _fillHistos { false } ;
108110
109111 // //Subdetector name (needed to get the sensor surface manager)
110- std::string _subDetName ;
112+ std::string _subDetName {} ;
111113
112- std::vector<DoubleLayerCut> _dlCuts ;
114+ std::vector<DoubleLayerCut> _dlCuts {} ;
113115
114116 // //Surface map for getting local hit positions at sensor surface
115- const dd4hep::rec::SurfaceMap* _map ;
117+ const dd4hep::rec::SurfaceMap* _map { nullptr } ;
116118
117119
118120 // //Array of flags for hits to be accepted
119121 bool _hitAccepted[NHITS_MAX] ;
120122
121123 // //Map of vectors of hits grouped by position in the detector
122- std::map<SensorPosition, std::vector<size_t > > _hitsGrouped;
124+ std::map<SensorPosition, std::vector<size_t > > _hitsGrouped{} ;
123125
124126 // //Monitoring histograms
125- std::map<std::string, TH1*> _histos ;
127+ std::map<std::string, TH1*> _histos {} ;
126128
127- int _nRun ;
128- int _nEvt ;
129+ int _nRun {} ;
130+ int _nEvt {} ;
129131} ;
130132
131133#endif
0 commit comments