BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSSDApertureImpacts.hh
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4This file is part of BDSIM.
5
6BDSIM is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published
8by the Free Software Foundation version 3 of the License.
9
10BDSIM is distributed in the hope that it will be useful, but
11WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef BDSSDAPERTUREIMPACTS_H
19#define BDSSDAPERTUREIMPACTS_H
20
21#include "BDSHitApertureImpact.hh"
22
23#include "globals.hh"
24#include "G4VSensitiveDetector.hh"
25
27
28class G4HCofThisEvent;
29class G4Step;
30class G4TouchableHistory;
31class G4Track;
32
42class BDSSDApertureImpacts: public G4VSensitiveDetector
43{
44public:
45 BDSSDApertureImpacts(const G4String& name);
46 virtual ~BDSSDApertureImpacts();
47
48 virtual void Initialize(G4HCofThisEvent* HCE);
49
53 virtual G4bool ProcessHits(G4Step* aStep,
54 G4TouchableHistory* th);
55
56private:
60 BDSSDApertureImpacts() = delete;
61
62 G4String colName;
64 G4int HCIDe;
65
68};
69
70#endif
71
Extra G4Navigator to get coordinate transforms.
Generates BDSHitsEnergyDepositions from step information - uses curvilinear coords.
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *th)
BDSAuxiliaryNavigator * auxNavigator
Navigator for checking points in read out geometry.
G4int HCIDe
Hits collection ID of the event.
BDSHitsCollectionApertureImpacts * hits
Hits.
G4String colName
Collection name.
BDSSDApertureImpacts & operator=(const BDSSDApertureImpacts &)
Assignment and copy constructor not implemented nor used.