ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4H6BeamSD.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LArG4H6BeamSD_h
6#define LArG4H6BeamSD_h 1
7
8// Base class
9#include "G4VSensitiveDetector.hh"
10
11// Hit colleciton
15
16// #define ARRSIZE plit src/0
17#define NUM_MWPC 10
18
19class G4Step;
20class G4HCofThisEvent;
21class G4TouchableHistory;
22
23class LArG4H6BeamSD : public G4VSensitiveDetector
24{
25 public:
26 LArG4H6BeamSD(G4String name, const G4String& colname);
28//
29 void Initialize(G4HCofThisEvent*) override final;
30 G4bool ProcessHits(G4Step*,G4TouchableHistory*) override final;
31 virtual void clear() override {};
32 virtual void DrawAll() override {};
33 virtual void PrintAll() override {};
34 inline float GetWDIM() { return WDIM;}
35 inline float GetDW() {return DW;}
36 inline float GetBPCWDIM() { return BPC_WDIM;}
37 inline float GetBPCDW() {return BPC_DW;}
38 inline float GetBPCOWDIM() { return BPC_WDIM;}
39 inline float GetBPCODW() {return BPC_DW;}
40
41 private:
43
44// MWPC half width and wires step
45 static const float WDIM;
46 static const float DW;
47// BPC half width and wires step
48 static const float BPC_WDIM;
49 static const float BPC_DW;
50// OLD BPC half width and wires step
51 static const float BPCO_WDIM;
52 static const float BPCO_DW;
53};
54#endif
Handle class for recording to StoreGate.
static const float BPC_WDIM
static const float BPC_DW
virtual void clear() override
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
virtual void PrintAll() override
SG::WriteHandle< LArG4H6FrontHitCollection > m_FrontCollection
float GetBPCODW()
static const float BPCO_DW
static const float DW
float GetBPCWDIM()
LArG4H6BeamSD(G4String name, const G4String &colname)
void Initialize(G4HCofThisEvent *) override final
float GetBPCOWDIM()
static const float BPCO_WDIM
virtual void DrawAll() override
static const float WDIM