1 #ifndef __RAT_PMTInfoParser__
2 #define __RAT_PMTInfoParser__
4 #include <G4RotationMatrix.hh>
6 #include <RAT/PMTConstruction.hh>
18 int GetPMTCount()
const {
return fPos.size(); };
21 const std::vector<G4ThreeVector> &GetPMTLocations()
const {
return fPos; };
25 G4ThreeVector GetLocalOffset() {
return fLocalOffset; }
26 static G4ThreeVector ComputeLocalOffset(
const std::string &);
29 const std::vector<G4ThreeVector> &GetPMTDirections()
const {
return fDir; };
35 G4RotationMatrix GetPMTRotation(
int i)
const;
37 const std::vector<double> &GetEfficiencyCorrections() {
return fEfficiencyCorrection; }
38 const std::vector<double> &GetPMTNoiseRates() {
return fNoiseRate; }
39 const std::vector<double> &GetPMTAfterPulseFraction() {
return fAfterPulseFraction; }
40 const std::vector<int> &GetTypes() {
return fType; }
41 const std::vector<int> &GetChannelNumbers() {
return fChannelNumber; }
44 G4ThreeVector fLocalOffset;
45 std::vector<G4ThreeVector> fPos;
46 std::vector<G4ThreeVector> fDir;
47 std::vector<int> fChannelNumber;
48 std::vector<int> fType;
49 std::vector<double> fEfficiencyCorrection;
50 std::vector<double> fNoiseRate;
51 std::vector<double> fAfterPulseFraction;
Definition: PMTInfoParser.hh:12
Definition: CCCrossSecMessenger.hh:29