1 #ifndef _CONFIG_CLASSES_H_
2 #define _CONFIG_CLASSES_H_
14 #include "../external/eigen/Eigen/Dense"
48 void setX(
double a_x);
49 void setY(
double a_y);
50 void setZ(
double a_z);
60 std::string m_isotope;
63 double m_sourceEnergy;
95 std::vector<double>
getLocation(
double a_stepLenght)
const;
99 void setX(
double a_x);
100 void setY(
double a_y);
101 void setZ(
double a_z);
106 void setrX(
double a_rX);
107 void setrY(
double a_rY);
108 void setrZ(
double a_rZ);
151 virtual std::ostream&
print( std::ostream& a_stream )
const;
184 std::ostream&
print( std::ostream& a_stream )
const;
216 bool isNeutron(
double a_X,
double a_Y)
const;
218 bool isGamma(
double a_X,
double a_Y)
const;
228 virtual std::ostream&
print( std::ostream& a_stream )
const;
271 int getPMTID(
int a_modID,
int a_ch)
const;
291 void setDtCal(
int a_pmtID,
double a_tc);
297 bool isFullSet(std::vector<int> a_chList);
309 virtual std::ostream&
print( std::ostream& a_stream )
const;
313 std::map<int,OrgScintInfo> m_pmts;
314 std::map<int,double > m_pmtOffset;
395 bool isLeaf(
int a_modID,
int a_ch)
const;
397 bool isBGO(
int a_modID,
int a_ch)
const;
406 std::ostream&
print( std::ostream& a_stream=std::cout)
const;
410 std::ostream&
printRot(std::ostream & a_stream = std::cout)
const;
413 std::vector<DetectorElementInfo> m_leafs;
414 std::vector<DetectorElementInfo> m_BGOs;
418 std::vector<DetectorElementInfo>& getLeafVector();
419 std::vector<DetectorElementInfo>& getBGOVector();
440 void addOrgScints(std::vector<OrgScintInfo> a_orgScints);
442 void addHPGEs(std::vector<HPGeInfo> a_HPGEs);
443 void addClovers(std::vector<CloverInfo> a_clovers);
464 bool isKnown(
int a_modID,
int a_ch)
const;
469 std::ostream&
printLayout( std::ostream& a_stream )
const;
473 int getDetID(
int a_modID,
int a_ch)
const;
539 std::map<int , std::map<int, std::pair< DetType, int > > >
m_modChMap;
660 void addOrgScintsUnc(std::vector<OrgScintUncertaintiesInfo> a_orgScints);
663 bool isKnown(
int a_modID,
int a_ch)
const;
664 std::ostream&
printLayout( std::ostream& a_stream )
const;
std::ostream & printDetType(std::ostream &a_stream, DetType a_type)
Definition: ConfigClasses.cpp:75
DetType
Definition: ConfigClasses.h:20
@ OrgScintillator
Definition: ConfigClasses.h:25
@ MultiPMTOrgScintillator
Definition: ConfigClasses.h:26
@ Clover
Definition: ConfigClasses.h:24
@ ClovComptonShield
Definition: ConfigClasses.h:23
@ HPGe
Definition: ConfigClasses.h:21
@ InorgScintillator
Definition: ConfigClasses.h:27
@ NA
Definition: ConfigClasses.h:28
@ CloverLeaf
Definition: ConfigClasses.h:22
ParticleType
Definition: ConfigClasses.h:32
@ NEUTRON
Definition: ConfigClasses.h:33
@ GAMMA
Definition: ConfigClasses.h:34
@ OTHER
Definition: ConfigClasses.h:35
this class is inteded to represent of full set of information
Definition: ConfigClasses.h:341
virtual ~CloverInfo()
Definition: ConfigClasses.cpp:1457
bool hasChannel(int a_ch) const
returns trues if the channel is present in the data
Definition: ConfigClasses.cpp:1230
int getChFromLeaf(int a_leafNumber) const
Definition: ConfigClasses.cpp:1025
void setLeafTDCCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:1304
const DetectorCalib * getTCalibFromLeafCh(int a_channel) const
Definition: ConfigClasses.cpp:1139
std::vector< int > getChannels()
returns a vector with all the channels associated with this clover
Definition: ConfigClasses.cpp:1216
std::ostream & printRot(std::ostream &a_stream=std::cout) const
Definition: ConfigClasses.cpp:1429
CloverInfo()
Definition: ConfigClasses.cpp:943
std::vector< double > getLeafPositionVector(int a_leaf)
return the position of a leaf
Definition: ConfigClasses.cpp:1204
const DetectorElementInfo & getLeafInfo(int a_leafID) const
Definition: ConfigClasses.cpp:1077
const DetectorElementInfo & getDetElInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1058
void setAddBackEnCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:1320
std::vector< int > getLeafIdList() const
Definition: ConfigClasses.cpp:1106
void setBgoTDCCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:1312
bool isBGO(int a_modID, int a_ch) const
returns true if the channel and module id are a BGO
Definition: ConfigClasses.cpp:1291
const DetectorCalib * getCalibFromLeafID(int a_leafID) const
Definition: ConfigClasses.cpp:1115
bool isLeaf(int a_modID, int a_ch) const
returns true if the channel and moduel id are a leaf
Definition: ConfigClasses.cpp:1278
void addBGOInfo(DetectorElementInfo a_leaf)
Definition: ConfigClasses.cpp:938
int getChFromBGONumber(int a_BGO) const
Definition: ConfigClasses.cpp:1047
std::vector< int > getBGOInputs() const
Definition: ConfigClasses.cpp:1097
double getLeafPolarAngle(int a_leafNumber)
returns polar angle of individual leaf [in radians]
Definition: ConfigClasses.cpp:1365
const DetectorCalib * getCalibFromLeafCh(int a_channel) const
Definition: ConfigClasses.cpp:1128
int getLeafNumber(int a_channel) const
Definition: ConfigClasses.cpp:1014
const DetectorCalib * getTCalibFromLeafID(int a_leafID) const
Definition: ConfigClasses.cpp:1150
std::vector< double > getLeafNormalVector(int a_leaf)
returns the normal vector from a leaf
Definition: ConfigClasses.cpp:1192
const CutBase * getLeafTDCCut() const
Definition: ConfigClasses.cpp:1162
std::ostream & print(std::ostream &a_stream=std::cout) const
prints the internal state of the class
Definition: ConfigClasses.cpp:1414
double getLeafDistance(int a_leafNumber)
return distance of individual leaf [in meters]
Definition: ConfigClasses.cpp:1377
int getDetID() const
Definition: ConfigClasses.cpp:1092
void addLeafInfo(DetectorElementInfo a_leaf)
Definition: ConfigClasses.cpp:934
bool thisClover(int a_modID, int a_ch) const
returns true if the channel and module are associated with this detector
Definition: ConfigClasses.cpp:1249
int getBGONumber(int a_channel) const
Definition: ConfigClasses.cpp:1036
const CutBase * getaddBackCut() const
Definition: ConfigClasses.cpp:1170
CloverInfo & operator=(const CloverInfo &a_rhs)
Definition: ConfigClasses.cpp:978
const CutBase * getBgoTDCCut() const
Definition: ConfigClasses.cpp:1166
bool hasBGOChannel(int a_ch) const
Definition: ConfigClasses.cpp:1402
std::vector< double > getCenterPosition()
returns position of center of clover face (avg. of the leafs)
Definition: ConfigClasses.cpp:1176
void setWallTime(uint32_t a_t)
Definition: ConfigClasses.cpp:1328
double getLeafDistToOrig(int a_leafNumber, double a_detLength) const
returns distance to center of leaf
Definition: ConfigClasses.cpp:1389
void translate(double a_x, double a_y, double a_z)
Definition: ConfigClasses.cpp:1335
Definition: CutClasses.h:70
Definition: CalibrationClasses.h:21
Definition: ConfigClasses.h:169
int getChannel() const
Definition: ConfigClasses.cpp:423
std::ostream & print(std::ostream &a_stream) const
Definition: ConfigClasses.cpp:481
DetectorCalib * m_gainCalib
Definition: ConfigClasses.h:190
int m_channel
Definition: ConfigClasses.h:189
virtual DetectorElementInfo & operator=(const DetectorElementInfo &a_rhs)
Definition: ConfigClasses.cpp:389
int getModID() const
Definition: ConfigClasses.cpp:419
double getAzimuthalAngle()
Definition: ConfigClasses.cpp:475
void setTimeCalib(DetectorCalib *a_timeCalib)
Definition: ConfigClasses.cpp:456
void setModID(int a_modID)
Definition: ConfigClasses.cpp:435
int m_modID
Definition: ConfigClasses.h:188
DetectorCalib * getTimeCalib() const
Definition: ConfigClasses.cpp:431
void setGainCalib(DetectorCalib *a_gainCalib)
Definition: ConfigClasses.cpp:443
double getPolarAngle() const
Definition: ConfigClasses.cpp:470
DetectorCalib * m_timeCalib
Definition: ConfigClasses.h:191
virtual ~DetectorElementInfo()
Definition: ConfigClasses.cpp:492
DetectorElementInfo()
Definition: ConfigClasses.cpp:352
DetectorCalib * getGainCalib() const
Definition: ConfigClasses.cpp:427
void setChannel(int a_channel)
Definition: ConfigClasses.cpp:439
Definition: ConfigClasses.h:76
DetectorInfo()
Definition: ConfigClasses.cpp:117
double m_y
Definition: ConfigClasses.h:158
double m_rX
Definition: ConfigClasses.h:160
void setDetectorLength(double a_detLength)
Definition: ConfigClasses.cpp:172
double getY() const
Definition: ConfigClasses.cpp:288
void setrY(double a_rY)
Definition: ConfigClasses.cpp:164
void setZ(double a_z)
Definition: ConfigClasses.cpp:147
double getZ() const
Definition: ConfigClasses.cpp:292
double getrX() const
Definition: ConfigClasses.cpp:296
double getX() const
Definition: ConfigClasses.cpp:284
double m_detectorLength
Definition: ConfigClasses.h:163
std::vector< double > getDetectorCenter()
Definition: ConfigClasses.cpp:177
void setY(double a_y)
Definition: ConfigClasses.cpp:143
void setDetectorID(int a_detectorID)
Definition: ConfigClasses.cpp:135
double m_rZ
Definition: ConfigClasses.h:162
double m_z
Definition: ConfigClasses.h:159
virtual ~DetectorInfo()
Definition: ConfigClasses.cpp:347
virtual void translate(double a_x, double a_y, double a_z)
Definition: ConfigClasses.cpp:151
double getBeamScatteringAngle(double a_bx, double a_by, double a_bz, DetectorInfo &a_rhs)
Definition: ConfigClasses.cpp:222
virtual std::ostream & print(std::ostream &a_stream) const
Definition: ConfigClasses.cpp:331
DetType getDetType() const
Definition: ConfigClasses.cpp:276
int m_detectorID
Definition: ConfigClasses.h:156
double m_x
Definition: ConfigClasses.h:157
double getDistance(double a_detHalfLength) const
distance in m. detLength in m
Definition: ConfigClasses.cpp:313
void setrX(double a_rX)
Definition: ConfigClasses.cpp:160
double getSourceScatteringAngle(double a_sx, double a_sy, double a_sz, DetectorInfo &a_rhs)
Definition: ConfigClasses.cpp:240
double getScatteringAngle(double a_bx, double a_by, double a_bz, double a_sx, double a_sy, double a_sz)
Definition: ConfigClasses.cpp:191
void setX(double a_x)
Definition: ConfigClasses.cpp:139
void setDetType(DetType a_detType)
Definition: ConfigClasses.cpp:131
void setrZ(double a_rZ)
Definition: ConfigClasses.cpp:168
int getDetectorID() const
Definition: ConfigClasses.cpp:280
double getrY() const
Definition: ConfigClasses.cpp:300
double getDetectorLength() const
Definition: ConfigClasses.cpp:308
std::vector< double > getLocation(double a_stepLenght) const
Definition: ConfigClasses.cpp:322
double getDistance(float a_thisDetHalfL, float a_rhsHalfL, DetectorInfo &a_rhs)
double m_rY
Definition: ConfigClasses.h:161
DetType m_detType
Definition: ConfigClasses.h:155
double getrZ() const
Definition: ConfigClasses.cpp:304
Definition: ConfigClasses.h:431
void addSourceInfo(std::string a_id, PointSourceInfo a_source)
Definition: ConfigClasses.cpp:1626
const CloverInfo & getCloverInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1896
MultiPMTOrgScintInfo m_defMultiPMTOrgScintInfo
Definition: ConfigClasses.h:559
double getRFCalibID() const
Definition: ConfigClasses.cpp:2096
void setRFFilter(bool a_doFilter)
Definition: ConfigClasses.cpp:1651
std::vector< MultiPMTOrgScintInfo > m_PMTOrgScints
Definition: ConfigClasses.h:531
const HPGeInfo getHPGeInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:2005
CloverInfo m_defCloverInfo
Definition: ConfigClasses.h:562
DetectorCalib * m_RFOffset
RF offset to an EJ-309 detector [ns].
Definition: ConfigClasses.h:543
double detDistToOrig(DetType a_detType, int a_detID, int a_elementID=0) const
Definition: ConfigClasses.cpp:2164
void addHPGE(HPGeInfo a_HPGE)
Definition: ConfigClasses.cpp:1610
uint16_t getRFSubPeriod() const
Definition: ConfigClasses.cpp:2116
double getTDCRes() const
Definition: ConfigClasses.cpp:2108
const MultiPMTOrgScintInfo & getMultiPMTOrgScintInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1953
std::map< DetType, double > getDetectorLengths() const
Definition: ConfigClasses.cpp:2160
std::vector< CloverInfo > m_clovers
Definition: ConfigClasses.h:534
double getRFPeriod() const
Definition: ConfigClasses.cpp:2100
bool canDoGainConversion() const
Definition: ConfigClasses.cpp:2299
double m_RFPeriod
Definition: ConfigClasses.h:547
void clearDet(DetType a_type)
Definition: ConfigClasses.cpp:2405
void addMultiPMTOrgScint(MultiPMTOrgScintInfo a_orgScint)
Definition: ConfigClasses.cpp:1598
void translateCoordinates(double a_x, double a_y, double a_z)
Definition: ConfigClasses.cpp:1663
OrgScintInfo m_defOrgScintInfo
BCM data [uAmps].
Definition: ConfigClasses.h:558
bool getRFFilter() const
Definition: ConfigClasses.cpp:2112
double getRFOffset() const
Definition: ConfigClasses.cpp:2091
void setRFOffset(DetectorCalib *a_offset)
Definition: ConfigClasses.cpp:1631
std::vector< InorgScintInfo > m_inorgScints
Definition: ConfigClasses.h:532
const DetectorElementInfo & getDetElInfo(int a_modID, int a_ch) const
gets the detector element info given a modID and a channel
Definition: ConfigClasses.cpp:1781
void setRFCalibID(int a_ID)
Definition: ConfigClasses.cpp:1639
uint16_t m_rfSubPeriod
Definition: ConfigClasses.h:553
void rebuildMap()
Definition: ConfigClasses.cpp:1690
void addInorgScint(InorgScintInfo a_inorgScint)
Definition: ConfigClasses.cpp:1604
const std::vector< CloverInfo > & getCloverInfos() const
Definition: ConfigClasses.cpp:1921
std::map< DetType, double > m_detectorLengths
lengths of the detectors for TOF calculation
Definition: ConfigClasses.h:541
std::vector< int > getDetIDList(DetType a_detType) const
Definition: ConfigClasses.cpp:2031
void addDetLengths(std::map< DetType, double > a_lengthMap)
Definition: ConfigClasses.cpp:1622
void addHPGEs(std::vector< HPGeInfo > a_HPGEs)
Definition: ConfigClasses.cpp:1572
int m_RFCalibDetID
detector ID of RF offset
Definition: ConfigClasses.h:545
std::map< std::string, PointSourceInfo > m_sourceInfo
Definition: ConfigClasses.h:535
std::map< int, std::map< int, std::pair< DetType, int > > > m_modChMap
Definition: ConfigClasses.h:539
bool canDoTiming() const
Definition: ConfigClasses.cpp:2237
HPGeInfo m_defHPGeInfo
Definition: ConfigClasses.h:561
double m_TDCRes
Definition: ConfigClasses.h:549
DetType getDetType(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1848
const OrgScintInfo & getOrgScintInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1927
const InorgScintInfo getInorgScintInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1979
ExperimentConfig()
default constructor creates an empty config
Definition: ConfigClasses.cpp:1474
void addInorgScints(std::vector< InorgScintInfo > a_inorgScints)
Definition: ConfigClasses.cpp:1563
ExperimentConfig & operator=(const ExperimentConfig &a_rhs)
Definition: ConfigClasses.cpp:1526
void addClover(CloverInfo a_clover)
Definition: ConfigClasses.cpp:1616
void addClovers(std::vector< CloverInfo > a_clovers)
Definition: ConfigClasses.cpp:1581
std::vector< OrgScintInfo > m_orgScints
Definition: ConfigClasses.h:530
virtual ~ExperimentConfig()
Definition: ConfigClasses.cpp:2437
int getNumModules()
Definition: ConfigClasses.cpp:2361
void addOrgScint(OrgScintInfo a_orgScint)
Definition: ConfigClasses.cpp:1592
int getDetID(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:1869
std::vector< HPGeInfo > m_HPGEs
Definition: ConfigClasses.h:533
bool m_rfFilter
Definition: ConfigClasses.h:551
void setTDCRes(double a_TDCRes)
Definition: ConfigClasses.cpp:1647
double getRFModuleID()
Definition: ConfigClasses.cpp:2120
void setTime(uint32_t a_t)
Definition: ConfigClasses.cpp:2131
std::ostream & printLayout(std::ostream &a_stream) const
prints the internal state of the class
Definition: ConfigClasses.cpp:1827
void addOrgScints(std::vector< OrgScintInfo > a_orgScints)
Definition: ConfigClasses.cpp:1553
bool isKnown(int a_modID, int a_ch) const
returns true if the channel mod pair is known to the config
Definition: ConfigClasses.cpp:1756
InorgScintInfo m_defInorgScintInfo
Definition: ConfigClasses.h:560
bool isKnownModule(int a_modID) const
Definition: ConfigClasses.cpp:1770
void setRFPeriod(double a_RFPeriod)
Definition: ConfigClasses.cpp:1643
DetectorElementInfo m_defDetElementInfo
Definition: ConfigClasses.h:563
void setRFSubPeriod(uint16_t a_triggerPeriod)
Definition: ConfigClasses.cpp:1655
Definition: ConfigClasses.h:652
ExperimentUncertaintiesConfig()
default constructor creates an empty config
Definition: ConfigClasses.cpp:2562
void addOrgScintUnc(OrgScintUncertaintiesInfo a_orgScint)
Definition: ConfigClasses.cpp:2585
void addOrgScintsUnc(std::vector< OrgScintUncertaintiesInfo > a_orgScints)
Definition: ConfigClasses.cpp:2574
bool isKnown(int a_modID, int a_ch) const
returns true if the channel mod pair is known to the config
Definition: ConfigClasses.cpp:2603
std::ostream & printLayout(std::ostream &a_stream) const
Definition: ConfigClasses.cpp:2614
std::map< std::pair< int, int >,int > m_modChMap
Definition: ConfigClasses.h:678
void rebuildMap()
Definition: ConfigClasses.cpp:2591
const OrgScintUncertaintiesInfo getOrgScintUncInfo(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:2626
std::vector< OrgScintUncertaintiesInfo > m_orgScintsUnc
Definition: ConfigClasses.h:673
Definition: ConfigClasses.h:332
HPGeInfo()
Definition: ConfigClasses.cpp:930
Definition: ConfigClasses.h:323
InorgScintInfo()
Definition: ConfigClasses.cpp:925
Definition: ConfigClasses.h:248
bool hasModIDCh(int a_modID, int a_ch) const
Definition: ConfigClasses.cpp:790
int getTimeBaseID() const
Definition: ConfigClasses.cpp:853
MultiPMTOrgScintInfo & operator=(MultiPMTOrgScintInfo a_rhs)
assignment operator for providing deep copies in stl containers
Definition: ConfigClasses.cpp:758
void setWallTime(uint32_t a_t)
Definition: ConfigClasses.cpp:885
virtual std::ostream & print(std::ostream &a_stream) const
Definition: ConfigClasses.cpp:912
std::vector< int > getIDList() const
this function returns a list of the pmt ID's present in the detector
Definition: ConfigClasses.cpp:835
double getDtCal(int a_pmtID)
Definition: ConfigClasses.cpp:857
void addPMTInfo(int a_PMTID, OrgScintInfo &a_pmtInfo)
Definition: ConfigClasses.cpp:770
void setDtCal(int a_pmtID, double a_tc)
Definition: ConfigClasses.cpp:861
int getPMTID(int a_modID, int a_ch) const
for findig which pmt ID a channel is associated with
Definition: ConfigClasses.cpp:802
bool isFullSet(std::vector< int > a_chList)
Definition: ConfigClasses.cpp:865
void clearOScintInfo()
clears m_pmts but keeps other info
std::vector< int > getChList() const
Definition: ConfigClasses.cpp:844
void setTimeBaseID(int a_pmtID)
Definition: ConfigClasses.cpp:892
const OrgScintInfo & getPMTInfo(int a_ID) const
Definition: ConfigClasses.cpp:820
bool hasPMTID(int a_ID) const
Definition: ConfigClasses.cpp:778
MultiPMTOrgScintInfo()
default constructor puts the class into a working but empty state
Definition: ConfigClasses.cpp:739
void translate(double a_x, double a_y, double a_z)
Definition: ConfigClasses.cpp:896
Definition: ConfigClasses.h:197
bool isGamma(double a_X, double a_Y) const
Definition: ConfigClasses.cpp:646
CutBase * getNeutronCut() const
Definition: ConfigClasses.cpp:686
bool isNeutron(double a_X, double a_Y) const
Definition: ConfigClasses.cpp:641
CutBase * getEnCut() const
Definition: ConfigClasses.cpp:698
double m_E1
Definition: ConfigClasses.h:234
void setEnCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:677
void setNeutronCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:651
std::vector< double > getResParams()
Definition: ConfigClasses.cpp:596
CutBase * m_enCut
Definition: ConfigClasses.h:238
enum ParticleType getParticleType(double a_X, double a_Y) const
Definition: ConfigClasses.cpp:608
OrgScintInfo & operator=(OrgScintInfo a_rhs)
assignment operator for providing deep copies in stl containers
Definition: ConfigClasses.cpp:552
CutBase * getGammaCut() const
Definition: ConfigClasses.cpp:690
CutBase * m_neutronCut
Definition: ConfigClasses.h:239
void setResParams(double a_EC, double a_E1, double a_E2)
Definition: ConfigClasses.cpp:601
CutBase * m_psdCut
Definition: ConfigClasses.h:237
virtual ~OrgScintInfo()
Definition: ConfigClasses.cpp:711
double getLightResolution(double a_energy) const
Definition: ConfigClasses.cpp:731
CutBase * m_gammaCut
Definition: ConfigClasses.h:240
CutBase * getPSDCut() const
Definition: ConfigClasses.cpp:694
virtual std::ostream & print(std::ostream &a_stream) const
Definition: ConfigClasses.cpp:703
double m_EC
Definition: ConfigClasses.h:233
OrgScintInfo()
Definition: ConfigClasses.cpp:505
void setPSDCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:669
double m_E2
Definition: ConfigClasses.h:235
void setGammaCut(CutBase *a_cut)
Definition: ConfigClasses.cpp:660
Definition: ConfigClasses.h:606
int getChannel() const
Definition: ConfigClasses.cpp:2479
int getDetectorID() const
Definition: ConfigClasses.cpp:2471
double m_yUnc
Definition: ConfigClasses.h:637
Eigen::VectorXd m_lyParams
calibration and resolution parameters a, b, Ec, E1, E2
Definition: ConfigClasses.h:643
void setEnCutMaxUnc(double a_EncutUnc)
Definition: ConfigClasses.cpp:2557
void setZUnc(double a_zUnc)
Definition: ConfigClasses.cpp:2532
void setDetectorID(int a_detectorID)
Definition: ConfigClasses.cpp:2511
void setLYCovMat(std::vector< double > a_lyCovMat)
Definition: ConfigClasses.cpp:2541
double getZUnc() const
Definition: ConfigClasses.cpp:2491
Eigen::VectorXd getCalibrationAndResolution() const
Definition: ConfigClasses.cpp:2503
double getXUnc() const
Definition: ConfigClasses.cpp:2483
double m_EnCutMaxUnc
Definition: ConfigClasses.h:640
void setXUnc(double a_xUnc)
Definition: ConfigClasses.cpp:2524
double getEnCutMinUnc() const
Definition: ConfigClasses.cpp:2495
void setYUnc(double a_yUnc)
Definition: ConfigClasses.cpp:2528
double getYUnc() const
Definition: ConfigClasses.cpp:2487
void setChannel(int a_channel)
Definition: ConfigClasses.cpp:2519
double m_xUnc
Definition: ConfigClasses.h:636
double m_zUnc
Definition: ConfigClasses.h:638
double m_EnCutMinUnc
Definition: ConfigClasses.h:639
OrgScintUncertaintiesInfo()
Definition: ConfigClasses.cpp:2458
void setModID(int a_modID)
Definition: ConfigClasses.cpp:2515
int m_detectorID
Definition: ConfigClasses.h:633
Eigen::MatrixXd getCalibResCovariance() const
Definition: ConfigClasses.cpp:2507
int getModID() const
Definition: ConfigClasses.cpp:2475
void setLYParams(std::vector< double > a_lyParams)
Definition: ConfigClasses.cpp:2536
Eigen::MatrixXd m_lyCovariances
covariance matrix for given light yield parameters above
Definition: ConfigClasses.h:645
int m_modID
Definition: ConfigClasses.h:634
int m_channel
Definition: ConfigClasses.h:635
void setEnCutMinUnc(double a_EncutUnc)
Definition: ConfigClasses.cpp:2553
double getEnCutMaxUnc() const
Definition: ConfigClasses.cpp:2499
Definition: ConfigClasses.h:40
std::string getIsotope() const
Definition: ConfigClasses.cpp:45
double getX() const
Definition: ConfigClasses.cpp:57
void setActivity(double a_activity)
Definition: ConfigClasses.cpp:24
void setY(double a_y)
Definition: ConfigClasses.cpp:36
double getZ() const
Definition: ConfigClasses.cpp:65
void setIsotope(std::string a_isotope)
Definition: ConfigClasses.cpp:20
PointSourceInfo()
Definition: ConfigClasses.cpp:8
double getActivity() const
Definition: ConfigClasses.cpp:49
void setZ(double a_z)
Definition: ConfigClasses.cpp:40
void setEnergy(double a_energy)
Definition: ConfigClasses.cpp:28
void setX(double a_x)
Definition: ConfigClasses.cpp:32
double getY() const
Definition: ConfigClasses.cpp:61
std::vector< double > getPosVector() const
Definition: ConfigClasses.cpp:69
double getEnergy() const
Definition: ConfigClasses.cpp:53
Definition: ConfigClasses.h:571
ScintConfig()
Definition: ConfigClasses.cpp:2445