Commit 3ea349bf authored by Radek Privara's avatar Radek Privara
Browse files

Fix lint issues

parent 5c60dad1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -392,7 +392,7 @@ void DepositionGeant4Module::construct_sensitive_detectors_and_fields(double fan
        useful_deposition = true;

        // Get the hit transformation matrix
        auto hit_transform = calculate_hit_transform(detector->getModel());
        auto* hit_transform = calculate_hit_transform(detector->getModel());

        // Get model of the sensitive device
        auto* sensitive_detector_action = new SensitiveDetectorActionG4(
@@ -448,6 +448,6 @@ void DepositionGeant4Module::record_module_statistics() {
    }
}

G4RotationMatrix* DepositionGeant4Module::calculate_hit_transform(const std::shared_ptr<DetectorModel>) {
G4RotationMatrix* DepositionGeant4Module::calculate_hit_transform(const std::shared_ptr<DetectorModel>&) {
    return new G4RotationMatrix();
}
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ namespace allpix {
         * @note This matrix transforms the Geant4 local coordinate system of the sensor
         * volume to the APSQ local coordinate system based on the detector model type.
         */
        G4RotationMatrix* calculate_hit_transform(const std::shared_ptr<DetectorModel> model);
        G4RotationMatrix* calculate_hit_transform(const std::shared_ptr<DetectorModel>& model);

        Messenger* messenger_;
        GeometryManager* geo_manager_;