![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
00001 #include "GammaRecord.h" 00002 00003 GammaRecord::GammaRecord(list<string> cardArg, LevelRecord *level, NormalizationRecord* norm, QValueRecord* qValArg) 00004 :Record(cardArg), LevelRecordChildrenWrapper(level), QValueRecordChildrenWrapper(qValArg), NormalizationRecordChildrenWrapper(norm) 00005 { 00006 processCard(); 00007 } 00008 00009 void GammaRecord::processCard() 00010 { 00011 decayEnergy = cardToDouble(10, 19); 00012 transitionIntensity = cardToDouble(22, 29); 00013 } 00014 00015 double GammaRecord::getDecayEnergy() const 00016 { 00017 return decayEnergy; 00018 } 00019 00020 double GammaRecord::getTransitionIntensity() const 00021 { 00022 return transitionIntensity; 00023 }