Jpp - the software that should make you happy
|
#include <limits>
#include <istream>
#include <ostream>
#include <iostream>
#include <fstream>
#include <cmath>
#include <vector>
#include <set>
#include <algorithm>
#include <cstdlib>
#include "JDetector/JDetector.hh"
#include "JDetector/JMonteCarloDetector.hh"
#include "JDetector/JTimeRange.hh"
#include "JDetector/JModuleAddressMap.hh"
#include "JDetector/JLocation.hh"
#include "JDetector/JModuleGeometry.hh"
#include "JDetector/JStringCounter.hh"
#include "JDetector/JPMTIdentifier.hh"
#include "JGeometry3D/JVector3D.hh"
#include "JGeometry3D/JVersor3D.hh"
#include "JGeometry3D/JCylinder3D.hh"
#include "JPhysics/JConstants.hh"
#include "JMath/JConstants.hh"
#include "JMath/JMathToolkit.hh"
#include "JIO/JFileStreamIO.hh"
#include "Jeep/JeepToolkit.hh"
#include "JLang/JException.hh"
#include "JLang/gzstream.h"
#include "JLang/JManip.hh"
#include "JLang/Jpp.hh"
Go to the source code of this file.
Classes | |
struct | JDETECTOR::JRotation |
Auxiliary class to get rotation matrix between two optical modules. More... | |
Namespaces | |
JDETECTOR | |
Auxiliary classes and methods for detector calibration. | |
JPP | |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
double | JDETECTOR::getMaximalDistance (const JDetector &detector) |
Get maximal distance between modules in detector. More... | |
double | JDETECTOR::GetXrotationG4 (const JVersor3D dir) |
Get rotation over X axis in Geant4 coordinate system. More... | |
double | JDETECTOR::GetYrotationG4 (const JVersor3D dir) |
Get rotation over Y axis in Geant4 coordinate system. More... | |
void | JDETECTOR::read_gdml (std::istream &, JDetector &) |
void | JDETECTOR::write_gdml (std::ostream &out, const JDetector &detector) |
Writes KM3Sim GDML input file from detector. More... | |
double | JDETECTOR::getMaximalTime (const JDetector &detector) |
Get maximal time between modules in detector following causality. More... | |
double | JDETECTOR::getMaximalTime (const JDetector &detector, const double roadWidth_m) |
Get maximal time between modules in detector following causality. More... | |
JTimeRange | JDETECTOR::getTimeRange (const JTimeRange &timeRange, const JModule &module) |
Get de-calibrated time range. More... | |
int | JDETECTOR::getNumberOfPMTs (const JModule &module) |
Get number of PMTs. More... | |
int | JDETECTOR::getNumberOfPMTs (const JDetector &detector) |
Get number of PMTs. More... | |
std::set< int > | JDETECTOR::getStringIDs (const JDetector &detector) |
Get list of strings IDs. More... | |
int | JDETECTOR::getNumberOfFloors (const JDetector &detector) |
Get number of floors. More... | |
int | JDETECTOR::getNumberOfModules (const JDetector &detector) |
Get number of modules. More... | |
void | JDETECTOR::load (const std::string &file_name, JDetector &detector) |
Load detector from input file. More... | |
void | JDETECTOR::store (const std::string &file_name, const JDetector &detector) |
Store detector to output file. More... | |
const JModule & | JDETECTOR::getModule (const JModuleAddressMap &memo, const int id=-1, const JLocation &location=JLocation()) |
Get module according module address map. More... | |
const JModule & | JDETECTOR::getModule (const int id, const JLocation &location=JLocation()) |
Get module corresponding to Antares storey. More... | |
JPosition3D | JDETECTOR::getPosition (const JModule &first, const JModule &second) |
Get position to go from first to second module. More... | |
JCalibration | JDETECTOR::getCalibration (const JCalibration &first, const JCalibration &second) |
Get calibration to go from first to second calibration. More... | |
Variables | |
static const char *const | JDETECTOR::GENDET_DETECTOR_FILE_FORMAT = "det" |
File name extensions. More... | |
static const char *const | JDETECTOR::BINARY_DETECTOR_FILE_FORMAT [] = { "dat", "datx" } |
JIO binary file format. More... | |
static const char *const | JDETECTOR::KM3NET_DETECTOR_FILE_FORMAT = "detx" |
KM3NeT standard ASCII format More... | |
static const char *const | JDETECTOR::ZIPPED_DETECTOR_FILE_FORMAT = "gz" |
zipped KM3NeT standard ASCII format More... | |
static const char *const | JDETECTOR::GDML_DETECTOR_FILE_FORMAT = "gdml" |
KM3Sim input format. More... | |
static const char *const | JDETECTOR::GDML_SCHEMA = getenv("GDML_SCHEMA_DIR") |
directory necessary for correct GDML header output More... | |
static const char *const | JDETECTOR::CAN_MARGIN_M = getenv("CAN_MARGIN_M") |
extension of the detector size to comply with the can definition More... | |
static const char *const | JDETECTOR::G4GDML_DEFAULT_SCHEMALOCATION = "http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd" |
static JRotation | JDETECTOR::getRotation |
Function object to get rotation matrix to go from first to second module. More... | |