From 2925dbae7f488c3113b5f574eca1ceaba0ffdaac Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 21 Aug 2018 15:36:34 +0100 Subject: Tue 21 Aug 15:36:34 BST 2018 --- include/G4TankIceSD.h | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) (limited to 'include/G4TankIceSD.h') diff --git a/include/G4TankIceSD.h b/include/G4TankIceSD.h index 75375c1..25ce7ca 100644 --- a/include/G4TankIceSD.h +++ b/include/G4TankIceSD.h @@ -1,24 +1,12 @@ -/** - * Copyright (C) 2009 - * The IceCube collaboration - * ID: $Id: G4TankIceSD.h 149388 2016-08-18 21:50:04Z jgonzalez $ - * - * @file G4TankIceSD.h - * @version $Rev: 149388 $ - * @date $Date: 2016-08-18 22:50:04 +0100 (Thu, 18 Aug 2016) $ - * @author Tilo Waldenmaier, Thomas Melzig - */ - - #ifndef _G4TANKRESPONSE_G4TankIceSD_H #define _G4TANKRESPONSE_G4TankIceSD_H -#include +/* #include */ #include #include -#include +/* #include */ class G4Step; class G4HCofThisEvent; @@ -26,7 +14,7 @@ class G4TouchableHistory; /** - * An "ice sensitive detector". This sensitive detector is meant to be associated with the ice logical volume in a tank. + * An "ice sensitive detector". This sensitive detector is meant to be associated with the ice logical volume in a tank. TODO(shivesh): make the PMT the SD * * This class keeps track of the energy losses and number Cherenkov photons produced in the ice of each tank. * The Cherenkov photons are counted in two ways. One is a simple count and the other is a weighted count @@ -35,7 +23,7 @@ class G4TouchableHistory; class G4TankIceSD : public G4VSensitiveDetector { public: - G4TankIceSD(G4String name, const std::map& domPositions); + G4TankIceSD(G4String name/* , const std::map& domPositions */); ~G4TankIceSD(); /// Methods called by Geant4 framework @@ -44,26 +32,26 @@ class G4TankIceSD : public G4VSensitiveDetector void EndOfEvent(G4HCofThisEvent *HCE); /// Get total energy deposit for a given OM (same for both OMs in a tank) - G4double GetEDep(const OMKey& omKey) {return sumEdep_[omKey];} + G4double GetEDep(/* const OMKey& omKey */) {return sumEdep_/* [omKey] */;} /// Get average emission time weighted by deposited energy (same for both OMs in a tank) - G4double GetTime(const OMKey& omKey) {return cogTime_[omKey];} + G4double GetTime(/* const OMKey& omKey */) {return cogTime_/* [omKey] */;} /// Get number of Cherenkov photons for a given OM (same for both OMs in a tank) - G4double GetNumCherenkov(const OMKey& omKey) {return cherenkovCounter_[omKey];} + G4double GetNumCherenkov(/* const OMKey& omKey */) {return cherenkovCounter_/* [omKey] */;} /// Get number of Cherenkov photons for a given OM weighted relative to emission point - G4double GetNumCherenkovWeight(const OMKey& omKey) {return cherenkovCounterWeight_[omKey];} + G4double GetNumCherenkovWeight(/* const OMKey& omKey */) {return cherenkovCounterWeight_/* [omKey] */;} private: //ExN04TrackerHitsCollection *trackerCollection; - const std::map domPositions_; + const G4ThreeVector domPositions_; /// Cherenkov production. See technical note G4double GetCerenkovNumber(G4Step* aStep); G4double GetProbability(G4double radius, G4double height); - std::map sumEdep_; - std::map cogTime_; - std::map cherenkovCounter_; - std::map cherenkovCounterWeight_; + G4double sumEdep_; + G4double cogTime_; + G4double cherenkovCounter_; + G4double cherenkovCounterWeight_; }; #endif -- cgit v1.2.3