/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/PMTFactoryBase.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/PMTFactoryBase.hh Source File
Ratpac-two
PMTFactoryBase.hh
1 #ifndef __RAT_PMTFactoryBase__
2 #define __RAT_PMTFactoryBase__
3 
4 #include <RAT/DS/PMTInfo.hh>
5 #include <RAT/GeoFactory.hh>
6 
7 namespace RAT {
8 class PMTFactoryBase : public GeoFactory {
9  public:
10  PMTFactoryBase(const std::string &name) : GeoFactory(name){};
11  static const DS::PMTInfo &GetPMTInfo() { return pmtinfo; }
12 
13  protected:
14  virtual G4VPhysicalVolume *ConstructPMTs(DBLinkPtr table, const std::vector<G4ThreeVector> &pmt_pos,
15  const std::vector<G4ThreeVector> &pmt_dir, const std::vector<int> &pmt_type,
16  const std::vector<int> &pmt_channel_number,
17  const std::vector<double> &pmt_effi_corr,
18  const std::vector<double> &individual_noise_rate,
19  const std::vector<double> &individual_afterpulse_fraction);
20 
21  static DS::PMTInfo pmtinfo;
22 };
23 } // namespace RAT
24 
25 #endif
Definition: PMTInfo.hh:19
Definition: GeoFactory.hh:18
Definition: PMTFactoryBase.hh:8
Definition: CCCrossSecMessenger.hh:29