#include <PPSDirectSimulationData.h>
Public Types | |
typedef std::pair< std::string, std::string > | FileObject |
Public Member Functions | |
std::map< unsigned int, FileObject > & | getEfficienciesPerPlane () |
std::map< unsigned int, FileObject > & | getEfficienciesPerRP () |
const std::string & | getEmpiricalAperture45 () const |
const std::string & | getEmpiricalAperture56 () const |
const std::string & | getTimeResolutionDiamonds45 () const |
const std::string & | getTimeResolutionDiamonds56 () const |
std::map< unsigned int, std::unique_ptr< TH2F > > | loadEffeciencyHistogramsPerPlane () const |
std::map< unsigned int, std::unique_ptr< TH2F > > | loadEffeciencyHistogramsPerRP () const |
PPSDirectSimulationData () | |
void | setEmpiricalAperture45 (std::string s) |
void | setEmpiricalAperture56 (std::string s) |
void | setTimeResolutionDiamonds45 (std::string s) |
void | setTimeResolutionDiamonds56 (std::string s) |
~PPSDirectSimulationData () | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Static Private Member Functions | |
static std::unique_ptr< TH2F > | loadObject (const std::string &file, const std::string &object) |
static std::string | replace (std::string input, const std::string &from, const std::string &to) |
Private Attributes | |
std::map< unsigned int, FileObject > | efficienciesPerPlane_ |
std::map< unsigned int, FileObject > | efficienciesPerRP_ |
std::string | empiricalAperture45_ |
std::string | empiricalAperture56_ |
std::string | timeResolutionDiamonds45_ |
std::string | timeResolutionDiamonds56_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 9 of file PPSDirectSimulationData.h.
typedef std::pair<std::string, std::string> PPSDirectSimulationData::FileObject |
Definition at line 14 of file PPSDirectSimulationData.h.
PPSDirectSimulationData::PPSDirectSimulationData | ( | ) |
Definition at line 15 of file PPSDirectSimulationData.cc.
PPSDirectSimulationData::~PPSDirectSimulationData | ( | ) |
Definition at line 22 of file PPSDirectSimulationData.cc.
std::map< unsigned int, PPSDirectSimulationData::FileObject > & PPSDirectSimulationData::getEfficienciesPerPlane | ( | ) |
Definition at line 34 of file PPSDirectSimulationData.cc.
References efficienciesPerPlane_.
Referenced by CTPPSCompositeESSource::buildDirectSimuData().
std::map< unsigned int, PPSDirectSimulationData::FileObject > & PPSDirectSimulationData::getEfficienciesPerRP | ( | ) |
Definition at line 31 of file PPSDirectSimulationData.cc.
References efficienciesPerRP_.
Referenced by CTPPSCompositeESSource::buildDirectSimuData().
const std::string & PPSDirectSimulationData::getEmpiricalAperture45 | ( | ) | const |
Definition at line 25 of file PPSDirectSimulationData.cc.
References empiricalAperture45_.
const std::string & PPSDirectSimulationData::getEmpiricalAperture56 | ( | ) | const |
Definition at line 26 of file PPSDirectSimulationData.cc.
References empiricalAperture56_.
const std::string & PPSDirectSimulationData::getTimeResolutionDiamonds45 | ( | ) | const |
Definition at line 28 of file PPSDirectSimulationData.cc.
References timeResolutionDiamonds45_.
const std::string & PPSDirectSimulationData::getTimeResolutionDiamonds56 | ( | ) | const |
Definition at line 29 of file PPSDirectSimulationData.cc.
References timeResolutionDiamonds56_.
std::map< unsigned int, std::unique_ptr< TH2F > > PPSDirectSimulationData::loadEffeciencyHistogramsPerPlane | ( | ) | const |
Definition at line 54 of file PPSDirectSimulationData.cc.
References CTPPSDetId::arm(), efficienciesPerPlane_, loadObject(), replace(), mps_fire::result, CTPPSDetId::rp(), CTPPSDetId::sdTimingDiamond, CTPPSDetId::sdTrackingPixel, CTPPSDetId::sdTrackingStrip, CTPPSDetId::station(), and DetId::subdetId().
std::map< unsigned int, std::unique_ptr< TH2F > > PPSDirectSimulationData::loadEffeciencyHistogramsPerRP | ( | ) | const |
Definition at line 45 of file PPSDirectSimulationData.cc.
References efficienciesPerRP_, loadObject(), and mps_fire::result.
|
staticprivate |
Definition at line 85 of file PPSDirectSimulationData.cc.
References Exception.
Referenced by loadEffeciencyHistogramsPerPlane(), and loadEffeciencyHistogramsPerRP().
|
staticprivate |
Definition at line 103 of file PPSDirectSimulationData.cc.
References input.
Referenced by loadEffeciencyHistogramsPerPlane().
|
private |
void PPSDirectSimulationData::setEmpiricalAperture45 | ( | std::string | s | ) |
Definition at line 39 of file PPSDirectSimulationData.cc.
References empiricalAperture45_, and alignCSCRings::s.
Referenced by CTPPSCompositeESSource::buildDirectSimuData().
void PPSDirectSimulationData::setEmpiricalAperture56 | ( | std::string | s | ) |
Definition at line 40 of file PPSDirectSimulationData.cc.
References empiricalAperture56_, and alignCSCRings::s.
Referenced by CTPPSCompositeESSource::buildDirectSimuData().
void PPSDirectSimulationData::setTimeResolutionDiamonds45 | ( | std::string | s | ) |
Definition at line 42 of file PPSDirectSimulationData.cc.
References alignCSCRings::s, and timeResolutionDiamonds45_.
Referenced by CTPPSCompositeESSource::buildDirectSimuData().
void PPSDirectSimulationData::setTimeResolutionDiamonds56 | ( | std::string | s | ) |
Definition at line 43 of file PPSDirectSimulationData.cc.
References alignCSCRings::s, and timeResolutionDiamonds56_.
Referenced by CTPPSCompositeESSource::buildDirectSimuData().
|
friend |
Definition at line 49 of file PPSDirectSimulationData.h.
|
friend |
Definition at line 49 of file PPSDirectSimulationData.h.
|
private |
Definition at line 44 of file PPSDirectSimulationData.h.
Referenced by getEfficienciesPerPlane(), and loadEffeciencyHistogramsPerPlane().
|
private |
Definition at line 44 of file PPSDirectSimulationData.h.
Referenced by getEfficienciesPerRP(), and loadEffeciencyHistogramsPerRP().
|
private |
Definition at line 38 of file PPSDirectSimulationData.h.
Referenced by getEmpiricalAperture45(), and setEmpiricalAperture45().
|
private |
Definition at line 39 of file PPSDirectSimulationData.h.
Referenced by getEmpiricalAperture56(), and setEmpiricalAperture56().
|
private |
Definition at line 41 of file PPSDirectSimulationData.h.
Referenced by getTimeResolutionDiamonds45(), and setTimeResolutionDiamonds45().
|
private |
Definition at line 42 of file PPSDirectSimulationData.h.
Referenced by getTimeResolutionDiamonds56(), and setTimeResolutionDiamonds56().