#include <Scintillator.h>
Public Member Functions | |
double | GetAttenuationLength () const |
double | GetBarExpDecayConstant () const |
double | GetBarLeakageExpCoefficient () const |
double | GetBarLeakageMaxRatio () const |
double | GetBarLength () const |
double | GetBarThickness () const |
double | GetBarWidth () const |
double | GetCasingThickness () const |
std::pair< double, double > | GetDistancesToBarEnds (const utl::Point &p) const |
std::vector< double > | GetDistancesToPMT (const utl::Point &p) const |
double | GetEffectiveRefractiveIndex () const |
double | GetFiberExpDecayConstant () const |
double | GetFiberLength () const |
double | GetFiberUTurnDiameter () const |
double | GetGap () const |
double | GetHousingLength () const |
double | GetHousingThickness () const |
double | GetHousingWidth () const |
double | GetMaxHeight () const |
double | GetMaxRadius () const |
unsigned int | GetNBars () const |
utl::Point | GetPosition () const |
double | GetReferenceEnergy () const |
double | GetReferencePENumber () const |
double | GetRoofOffset () const |
double | GetRoofThickness () const |
double | GetSandwichPanelThickness () const |
double | GetSigmaBarToBar () const |
bool | IsHit (const utl::Point &from, const utl::Vector &direction, const double halo=0) const |
bool | IsInsideBar (const utl::Point &p, const double halo=0) const |
Private Member Functions | |
template<typename T > | |
det::VManager::Status | GetScintillatorData (T &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg, const bool throwOnFailure=true) const |
void | NotFoundAndThrow (const std::string &msg) const |
Scintillator (const int stationId, const unsigned int isUUB) | |
void | Update () const |
Friends | |
class | Station |
Definition at line 24 of file SDetector/Scintillator.h.
|
private |
Definition at line 340 of file SDetector/Scintillator.cc.
References indexMap.
double Scintillator::GetAttenuationLength | ( | ) | const |
Definition at line 244 of file SDetector/Scintillator.cc.
double Scintillator::GetBarExpDecayConstant | ( | ) | const |
Definition at line 232 of file SDetector/Scintillator.cc.
double Scintillator::GetBarLeakageExpCoefficient | ( | ) | const |
Definition at line 256 of file SDetector/Scintillator.cc.
double Scintillator::GetBarLeakageMaxRatio | ( | ) | const |
Definition at line 269 of file SDetector/Scintillator.cc.
double Scintillator::GetBarLength | ( | ) | const |
Definition at line 27 of file SDetector/Scintillator.cc.
Referenced by GetDistancesToBarEnds(), GetDistancesToPMT(), IsHit(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetBarThickness | ( | ) | const |
Definition at line 51 of file SDetector/Scintillator.cc.
Referenced by GetMaxHeight(), IsInsideBar(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetBarWidth | ( | ) | const |
Definition at line 39 of file SDetector/Scintillator.cc.
Referenced by GetDistancesToBarEnds(), GetDistancesToPMT(), IsHit(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetCasingThickness | ( | ) | const |
Definition at line 150 of file SDetector/Scintillator.cc.
Referenced by GetMaxHeight(), GetMaxRadius(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
pair< double, double > Scintillator::GetDistancesToBarEnds | ( | const utl::Point & | p | ) | const |
Definition at line 380 of file SDetector/Scintillator.cc.
References utl::abs(), fStationId, GetBarLength(), GetBarWidth(), GetGap(), GetPosition(), utl::BasicVector< HepVector >::GetX(), and IsInsideBar().
std::vector< double > Scintillator::GetDistancesToPMT | ( | const utl::Point & | p | ) | const |
Definition at line 354 of file SDetector/Scintillator.cc.
References utl::abs(), fStationId, GetBarLength(), GetBarWidth(), GetFiberLength(), GetFiberUTurnDiameter(), GetGap(), GetPosition(), utl::BasicVector< HepVector >::GetX(), IsInsideBar(), and utl::kPi.
double Scintillator::GetEffectiveRefractiveIndex | ( | ) | const |
Definition at line 282 of file SDetector/Scintillator.cc.
double Scintillator::GetFiberExpDecayConstant | ( | ) | const |
Definition at line 220 of file SDetector/Scintillator.cc.
double Scintillator::GetFiberLength | ( | ) | const |
Definition at line 88 of file SDetector/Scintillator.cc.
Referenced by GetDistancesToPMT().
double Scintillator::GetFiberUTurnDiameter | ( | ) | const |
Definition at line 101 of file SDetector/Scintillator.cc.
Referenced by GetDistancesToPMT().
double Scintillator::GetGap | ( | ) | const |
Definition at line 76 of file SDetector/Scintillator.cc.
Referenced by GetDistancesToBarEnds(), GetDistancesToPMT(), IsHit(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetHousingLength | ( | ) | const |
Definition at line 114 of file SDetector/Scintillator.cc.
Referenced by GetMaxRadius(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetHousingThickness | ( | ) | const |
Definition at line 138 of file SDetector/Scintillator.cc.
Referenced by GetMaxHeight(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetHousingWidth | ( | ) | const |
Definition at line 126 of file SDetector/Scintillator.cc.
Referenced by GetMaxRadius(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetMaxHeight | ( | ) | const |
Definition at line 478 of file SDetector/Scintillator.cc.
References GetBarThickness(), GetCasingThickness(), utl::BasicVector< HepVector >::GetCoordinateSystem(), GetHousingThickness(), GetPosition(), GetRoofOffset(), GetRoofThickness(), GetSandwichPanelThickness(), and utl::BasicVector< HepVector >::GetZ().
Referenced by CachedDirectInjectorOG::CachedDirectInjector::Run().
double Scintillator::GetMaxRadius | ( | ) | const |
Definition at line 463 of file SDetector/Scintillator.cc.
References utl::abs(), GetCasingThickness(), utl::BasicVector< HepVector >::GetCoordinateSystem(), GetHousingLength(), GetHousingWidth(), GetPosition(), utl::BasicVector< HepVector >::GetX(), and utl::BasicVector< HepVector >::GetY().
unsigned int Scintillator::GetNBars | ( | ) | const |
Definition at line 63 of file SDetector/Scintillator.cc.
References det::ManagerRegister::GetDataOrThrow(), and utl::m.
Referenced by IsHit(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
utl::Point Scintillator::GetPosition | ( | ) | const |
Definition at line 198 of file SDetector/Scintillator.cc.
Referenced by GetDistancesToBarEnds(), GetDistancesToPMT(), GetMaxHeight(), GetMaxRadius(), IsHit(), IsInsideBar(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetReferenceEnergy | ( | ) | const |
Definition at line 318 of file SDetector/Scintillator.cc.
double Scintillator::GetReferencePENumber | ( | ) | const |
Definition at line 294 of file SDetector/Scintillator.cc.
Referenced by G4StationSimulatorOG::G4ScintillatorAction::ProcessHits().
double Scintillator::GetRoofOffset | ( | ) | const |
Definition at line 174 of file SDetector/Scintillator.cc.
Referenced by GetMaxHeight(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetRoofThickness | ( | ) | const |
Definition at line 186 of file SDetector/Scintillator.cc.
Referenced by GetMaxHeight(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
double Scintillator::GetSandwichPanelThickness | ( | ) | const |
Definition at line 162 of file SDetector/Scintillator.cc.
Referenced by GetMaxHeight(), and G4StationSimulatorOG::G4StationConstruction::SetDetectorParameters().
|
inlineprivate |
Definition at line 143 of file SDetector/Scintillator.h.
References det::VManager::eNotFound, det::VManager::GetData(), indexMap, and NotFoundAndThrow().
double Scintillator::GetSigmaBarToBar | ( | ) | const |
Definition at line 306 of file SDetector/Scintillator.cc.
bool Scintillator::IsHit | ( | const utl::Point & | from, |
const utl::Vector & | direction, | ||
const double | halo = 0 |
||
) | const |
Definition at line 404 of file SDetector/Scintillator.cc.
References fStationId, GetBarLength(), GetBarWidth(), GetGap(), GetNBars(), GetPosition(), utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), utl::BasicVector< HepVector >::GetZ(), and utl::Intersection().
Referenced by IsInsideBar(), and CachedDirectInjectorOG::CachedDirectInjector::Run().
bool Scintillator::IsInsideBar | ( | const utl::Point & | p, |
const double | halo = 0 |
||
) | const |
Definition at line 446 of file SDetector/Scintillator.cc.
References utl::abs(), fStationId, GetBarThickness(), GetPosition(), utl::BasicVector< HepVector >::GetZ(), and IsHit().
Referenced by GetDistancesToBarEnds(), and GetDistancesToPMT().
|
private |
Definition at line 330 of file SDetector/Scintillator.cc.
Referenced by GetScintillatorData().
|
private |
Definition at line 488 of file SDetector/Scintillator.cc.
References fPosition, and utl::Validated< T >::SetValid().
|
friend |
Definition at line 192 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 182 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 181 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 183 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 184 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 165 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 167 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 166 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 175 of file SDetector/Scintillator.h.
|
private |
Definition at line 190 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 185 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 180 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 170 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 171 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 169 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 172 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 174 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 173 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 168 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 179 of file SDetector/Scintillator.h.
Referenced by Update().
|
mutableprivate |
Definition at line 188 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 187 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 177 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 178 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 176 of file SDetector/Scintillator.h.
|
mutableprivate |
Definition at line 186 of file SDetector/Scintillator.h.
|
private |
Definition at line 163 of file SDetector/Scintillator.h.
Referenced by GetDistancesToBarEnds(), GetDistancesToPMT(), IsHit(), and IsInsideBar().
|
mutableprivate |
Definition at line 164 of file SDetector/Scintillator.h.
Referenced by GetScintillatorData(), and Scintillator().