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) Royal Holloway,
3University of London 2001 - 2023.
4
5This file is part of BDSIM.
6
7BDSIM is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published
9by the Free Software Foundation version 3 of the License.
10
11BDSIM is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
18*/
19#ifndef BDSSDAPERTUREIMPACTS_H
20#define BDSSDAPERTUREIMPACTS_H
21
22#include "BDSHitApertureImpact.hh"
23
24#include "globals.hh"
25#include "G4VSensitiveDetector.hh"
26
28
29class G4HCofThisEvent;
30class G4Step;
31class G4TouchableHistory;
32class G4Track;
33
43class BDSSDApertureImpacts: public G4VSensitiveDetector
44{
45public:
46 BDSSDApertureImpacts(const G4String& name);
47 virtual ~BDSSDApertureImpacts();
48
49 virtual void Initialize(G4HCofThisEvent* HCE);
50
54 virtual G4bool ProcessHits(G4Step* aStep,
55 G4TouchableHistory* th);
56
57private:
61 BDSSDApertureImpacts() = delete;
62
63 G4String colName;
65 G4int HCIDe;
66
69};
70
71#endif
72
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.