From 5016cc634728bb9ba844e57cc0f749a967261c0b Mon Sep 17 00:00:00 2001 From: Vratislav Chudoba Date: Fri, 30 Sep 2016 15:52:34 +0300 Subject: [PATCH] Added class TELoss for calculation of energy losses. --- AculData/AculDataCint.cpp | 1905 ------------------------------------- AculData/AculDataCint.h | 85 -- TELoss/ELOSS.f90 | 323 +++++++ TELoss/TELoss.cpp | 450 +++++++++ TELoss/TELoss.h | 60 ++ TELoss/TELoss.mk | 20 + TELoss/linkdef.h | 9 + 7 files changed, 862 insertions(+), 1990 deletions(-) delete mode 100644 AculData/AculDataCint.cpp delete mode 100644 AculData/AculDataCint.h create mode 100755 TELoss/ELOSS.f90 create mode 100755 TELoss/TELoss.cpp create mode 100755 TELoss/TELoss.h create mode 100755 TELoss/TELoss.mk create mode 100755 TELoss/linkdef.h diff --git a/AculData/AculDataCint.cpp b/AculData/AculDataCint.cpp deleted file mode 100644 index d78b920..0000000 --- a/AculData/AculDataCint.cpp +++ /dev/null @@ -1,1905 +0,0 @@ -// -// File generated by rootcint at Wed Sep 28 16:51:40 2016 - -// Do NOT change. Changes will be lost next time file is generated -// - -#define R__DICTIONARY_FILENAME dIhomedIdariakdIUtilitiesdIAculDatadIAculDataCint -#include "RConfig.h" //rootcint 4834 -#if !defined(R__ACCESS_IN_SYMBOL) -//Break the privacy of classes -- Disabled for the moment -#define private public -#define protected public -#endif - -// Since CINT ignores the std namespace, we need to do so in this file. -namespace std {} using namespace std; -#include "AculDataCint.h" - -#include "TCollectionProxyInfo.h" -#include "TClass.h" -#include "TBuffer.h" -#include "TMemberInspector.h" -#include "TError.h" - -#ifndef G__ROOT -#define G__ROOT -#endif - -#include "RtypesImp.h" -#include "TIsAProxy.h" -#include "TFileMergeInfo.h" - -// START OF SHADOWS - -namespace ROOT { - namespace Shadow { - } // of namespace Shadow -} // of namespace ROOT -// END OF SHADOWS - -namespace ROOT { - void AculCalibration_ShowMembers(void *obj, TMemberInspector &R__insp); - static void *new_AculCalibration(void *p = 0); - static void *newArray_AculCalibration(Long_t size, void *p); - static void delete_AculCalibration(void *p); - static void deleteArray_AculCalibration(void *p); - static void destruct_AculCalibration(void *p); - static void streamer_AculCalibration(TBuffer &buf, void *obj); - - // Function generating the singleton type initializer - static TGenericClassInfo *GenerateInitInstanceLocal(const ::AculCalibration*) - { - ::AculCalibration *ptr = 0; - static ::TVirtualIsAProxy* isa_proxy = new ::TInstrumentedIsAProxy< ::AculCalibration >(0); - static ::ROOT::TGenericClassInfo - instance("AculCalibration", ::AculCalibration::Class_Version(), "/home/dariak/Utilities/AculData/AculCalibration.h", 37, - typeid(::AculCalibration), DefineBehavior(ptr, ptr), - &::AculCalibration::Dictionary, isa_proxy, 0, - sizeof(::AculCalibration) ); - instance.SetNew(&new_AculCalibration); - instance.SetNewArray(&newArray_AculCalibration); - instance.SetDelete(&delete_AculCalibration); - instance.SetDeleteArray(&deleteArray_AculCalibration); - instance.SetDestructor(&destruct_AculCalibration); - instance.SetStreamerFunc(&streamer_AculCalibration); - return &instance; - } - TGenericClassInfo *GenerateInitInstance(const ::AculCalibration*) - { - return GenerateInitInstanceLocal((::AculCalibration*)0); - } - // Static variable to force the class initialization - static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstanceLocal((const ::AculCalibration*)0x0); R__UseDummy(_R__UNIQUE_(Init)); -} // end of namespace ROOT - -namespace ROOT { - void ConfigDictionary_ShowMembers(void *obj, TMemberInspector &R__insp); - static void *new_ConfigDictionary(void *p = 0); - static void *newArray_ConfigDictionary(Long_t size, void *p); - static void delete_ConfigDictionary(void *p); - static void deleteArray_ConfigDictionary(void *p); - static void destruct_ConfigDictionary(void *p); - static void streamer_ConfigDictionary(TBuffer &buf, void *obj); - - // Function generating the singleton type initializer - static TGenericClassInfo *GenerateInitInstanceLocal(const ::ConfigDictionary*) - { - ::ConfigDictionary *ptr = 0; - static ::TVirtualIsAProxy* isa_proxy = new ::TInstrumentedIsAProxy< ::ConfigDictionary >(0); - static ::ROOT::TGenericClassInfo - instance("ConfigDictionary", ::ConfigDictionary::Class_Version(), "/home/dariak/Utilities/AculData/ConfigDictionary.h", 19, - typeid(::ConfigDictionary), DefineBehavior(ptr, ptr), - &::ConfigDictionary::Dictionary, isa_proxy, 0, - sizeof(::ConfigDictionary) ); - instance.SetNew(&new_ConfigDictionary); - instance.SetNewArray(&newArray_ConfigDictionary); - instance.SetDelete(&delete_ConfigDictionary); - instance.SetDeleteArray(&deleteArray_ConfigDictionary); - instance.SetDestructor(&destruct_ConfigDictionary); - instance.SetStreamerFunc(&streamer_ConfigDictionary); - return &instance; - } - TGenericClassInfo *GenerateInitInstance(const ::ConfigDictionary*) - { - return GenerateInitInstanceLocal((::ConfigDictionary*)0); - } - // Static variable to force the class initialization - static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstanceLocal((const ::ConfigDictionary*)0x0); R__UseDummy(_R__UNIQUE_(Init)); -} // end of namespace ROOT - -//______________________________________________________________________________ -TClass *AculCalibration::fgIsA = 0; // static to hold class pointer - -//______________________________________________________________________________ -const char *AculCalibration::Class_Name() -{ - return "AculCalibration"; -} - -//______________________________________________________________________________ -const char *AculCalibration::ImplFileName() -{ - return ::ROOT::GenerateInitInstanceLocal((const ::AculCalibration*)0x0)->GetImplFileName(); -} - -//______________________________________________________________________________ -int AculCalibration::ImplFileLine() -{ - return ::ROOT::GenerateInitInstanceLocal((const ::AculCalibration*)0x0)->GetImplFileLine(); -} - -//______________________________________________________________________________ -void AculCalibration::Dictionary() -{ - fgIsA = ::ROOT::GenerateInitInstanceLocal((const ::AculCalibration*)0x0)->GetClass(); -} - -//______________________________________________________________________________ -TClass *AculCalibration::Class() -{ - if (!fgIsA) fgIsA = ::ROOT::GenerateInitInstanceLocal((const ::AculCalibration*)0x0)->GetClass(); - return fgIsA; -} - -//______________________________________________________________________________ -TClass *ConfigDictionary::fgIsA = 0; // static to hold class pointer - -//______________________________________________________________________________ -const char *ConfigDictionary::Class_Name() -{ - return "ConfigDictionary"; -} - -//______________________________________________________________________________ -const char *ConfigDictionary::ImplFileName() -{ - return ::ROOT::GenerateInitInstanceLocal((const ::ConfigDictionary*)0x0)->GetImplFileName(); -} - -//______________________________________________________________________________ -int ConfigDictionary::ImplFileLine() -{ - return ::ROOT::GenerateInitInstanceLocal((const ::ConfigDictionary*)0x0)->GetImplFileLine(); -} - -//______________________________________________________________________________ -void ConfigDictionary::Dictionary() -{ - fgIsA = ::ROOT::GenerateInitInstanceLocal((const ::ConfigDictionary*)0x0)->GetClass(); -} - -//______________________________________________________________________________ -TClass *ConfigDictionary::Class() -{ - if (!fgIsA) fgIsA = ::ROOT::GenerateInitInstanceLocal((const ::ConfigDictionary*)0x0)->GetClass(); - return fgIsA; -} - -//______________________________________________________________________________ -void AculCalibration::Streamer(TBuffer &R__b) -{ - // Stream an object of class AculCalibration. - - UInt_t R__s, R__c; - if (R__b.IsReading()) { - Version_t R__v = R__b.ReadVersion(&R__s, &R__c); if (R__v) { } - TObject::Streamer(R__b); - fHRawList.Streamer(R__b); - fHAnalyzedList.Streamer(R__b); - fHEnergyList.Streamer(R__b); - fHEnergyStack.Streamer(R__b); - R__b >> fCurrentHStack; - fCurrentHistList.Streamer(R__b); - R__b >> kRaNOPEAKS; - R__b.ReadStaticArray((double*)fEnergy); - R__b >> fLowerChannel; - R__b >> fUpperChannel; - R__b >> fLowerPeakRelativeHight; - R__b >> fUpperPeakRelativeHight; - R__b >> fPeakPositionTolerance; - R__b >> fFitFuncLineWidth; - R__b >> fFitMinSigma; - R__b >> fFitPeakThreshold; - R__b.ReadStaticArray((double*)fA); - R__b.ReadStaticArray((double*)fB); - R__b.ReadStaticArray((double*)fC); - R__b.ReadStaticArray((double*)fD); - R__b >> fCalInformation; - R__b.ReadStaticArray((double*)fPeak); - R__b.CheckByteCount(R__s, R__c, AculCalibration::IsA()); - } else { - R__c = R__b.WriteVersion(AculCalibration::IsA(), kTRUE); - TObject::Streamer(R__b); - fHRawList.Streamer(R__b); - fHAnalyzedList.Streamer(R__b); - fHEnergyList.Streamer(R__b); - fHEnergyStack.Streamer(R__b); - R__b << fCurrentHStack; - fCurrentHistList.Streamer(R__b); - R__b << kRaNOPEAKS; - R__b.WriteArray(fEnergy, 20); - R__b << fLowerChannel; - R__b << fUpperChannel; - R__b << fLowerPeakRelativeHight; - R__b << fUpperPeakRelativeHight; - R__b << fPeakPositionTolerance; - R__b << fFitFuncLineWidth; - R__b << fFitMinSigma; - R__b << fFitPeakThreshold; - R__b.WriteArray((double*)fA, 3200); - R__b.WriteArray((double*)fB, 3200); - R__b.WriteArray((double*)fC, 3200); - R__b.WriteArray((double*)fD, 3200); - R__b << fCalInformation; - R__b.WriteArray(fPeak, 20); - R__b.SetByteCount(R__c, kTRUE); - } -} - -//______________________________________________________________________________ -void AculCalibration::ShowMembers(TMemberInspector &R__insp) -{ - // Inspect the data members of an object of class AculCalibration. - TClass *R__cl = ::AculCalibration::IsA(); - if (R__cl || R__insp.IsA()) { } - R__insp.Inspect(R__cl, R__insp.GetParent(), "fHRawList", &fHRawList); - R__insp.InspectMember(fHRawList, "fHRawList."); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fHAnalyzedList", &fHAnalyzedList); - R__insp.InspectMember(fHAnalyzedList, "fHAnalyzedList."); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fHEnergyList", &fHEnergyList); - R__insp.InspectMember(fHEnergyList, "fHEnergyList."); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fHEnergyStack", &fHEnergyStack); - R__insp.InspectMember(fHEnergyStack, "fHEnergyStack."); - R__insp.Inspect(R__cl, R__insp.GetParent(), "*fCurrentHStack", &fCurrentHStack); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fCurrentHistList", &fCurrentHistList); - R__insp.InspectMember(fCurrentHistList, "fCurrentHistList."); - R__insp.Inspect(R__cl, R__insp.GetParent(), "kRaNOPEAKS", &kRaNOPEAKS); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fEnergy[20]", fEnergy); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fLowerChannel", &fLowerChannel); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fUpperChannel", &fUpperChannel); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fLowerPeakRelativeHight", &fLowerPeakRelativeHight); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fUpperPeakRelativeHight", &fUpperPeakRelativeHight); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fPeakPositionTolerance", &fPeakPositionTolerance); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fFitFuncLineWidth", &fFitFuncLineWidth); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fFitMinSigma", &fFitMinSigma); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fFitPeakThreshold", &fFitPeakThreshold); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fA[100][32]", fA); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fB[100][32]", fB); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fC[100][32]", fC); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fD[100][32]", fD); - R__insp.Inspect(R__cl, R__insp.GetParent(), "*fCalInformation", &fCalInformation); - R__insp.Inspect(R__cl, R__insp.GetParent(), "fPeak[20]", fPeak); - TObject::ShowMembers(R__insp); -} - -namespace ROOT { - // Wrappers around operator new - static void *new_AculCalibration(void *p) { - return p ? new(p) ::AculCalibration : new ::AculCalibration; - } - static void *newArray_AculCalibration(Long_t nElements, void *p) { - return p ? new(p) ::AculCalibration[nElements] : new ::AculCalibration[nElements]; - } - // Wrapper around operator delete - static void delete_AculCalibration(void *p) { - delete ((::AculCalibration*)p); - } - static void deleteArray_AculCalibration(void *p) { - delete [] ((::AculCalibration*)p); - } - static void destruct_AculCalibration(void *p) { - typedef ::AculCalibration current_t; - ((current_t*)p)->~current_t(); - } - // Wrapper around a custom streamer member function. - static void streamer_AculCalibration(TBuffer &buf, void *obj) { - ((::AculCalibration*)obj)->::AculCalibration::Streamer(buf); - } -} // end of namespace ROOT for class ::AculCalibration - -//______________________________________________________________________________ -void ConfigDictionary::Streamer(TBuffer &R__b) -{ - // Stream an object of class ConfigDictionary. - - UInt_t R__s, R__c; - if (R__b.IsReading()) { - Version_t R__v = R__b.ReadVersion(&R__s, &R__c); if (R__v) { } - { - map &R__stl = configMap; - R__stl.clear(); - int R__i, R__n; - R__b >> R__n; - for (R__i = 0; R__i < R__n; R__i++) { - string R__t; - {TString R__str; - R__str.Streamer(R__b); - R__t = R__str.Data();} - string R__t2; - {TString R__str; - R__str.Streamer(R__b); - R__t2 = R__str.Data();} - typedef string Value_t; - std::pair R__t3(R__t,R__t2); - R__stl.insert(R__t3); - } - } - R__b.CheckByteCount(R__s, R__c, ConfigDictionary::IsA()); - } else { - R__c = R__b.WriteVersion(ConfigDictionary::IsA(), kTRUE); - { - map &R__stl = configMap; - int R__n=(&R__stl) ? int(R__stl.size()) : 0; - R__b << R__n; - if(R__n) { - map::iterator R__k; - for (R__k = R__stl.begin(); R__k != R__stl.end(); ++R__k) { - {TString R__str(((*R__k).first ).c_str()); - R__str.Streamer(R__b);}; - {TString R__str(((*R__k).second).c_str()); - R__str.Streamer(R__b);}; - } - } - } - R__b.SetByteCount(R__c, kTRUE); - } -} - -//______________________________________________________________________________ -void ConfigDictionary::ShowMembers(TMemberInspector &R__insp) -{ - // Inspect the data members of an object of class ConfigDictionary. - TClass *R__cl = ::ConfigDictionary::IsA(); - if (R__cl || R__insp.IsA()) { } - R__insp.Inspect(R__cl, R__insp.GetParent(), "configMap", (void*)&configMap); - R__insp.InspectMember("map", (void*)&configMap, "configMap.", false); -} - -namespace ROOT { - // Wrappers around operator new - static void *new_ConfigDictionary(void *p) { - return p ? ::new((::ROOT::TOperatorNewHelper*)p) ::ConfigDictionary : new ::ConfigDictionary; - } - static void *newArray_ConfigDictionary(Long_t nElements, void *p) { - return p ? ::new((::ROOT::TOperatorNewHelper*)p) ::ConfigDictionary[nElements] : new ::ConfigDictionary[nElements]; - } - // Wrapper around operator delete - static void delete_ConfigDictionary(void *p) { - delete ((::ConfigDictionary*)p); - } - static void deleteArray_ConfigDictionary(void *p) { - delete [] ((::ConfigDictionary*)p); - } - static void destruct_ConfigDictionary(void *p) { - typedef ::ConfigDictionary current_t; - ((current_t*)p)->~current_t(); - } - // Wrapper around a custom streamer member function. - static void streamer_ConfigDictionary(TBuffer &buf, void *obj) { - ((::ConfigDictionary*)obj)->::ConfigDictionary::Streamer(buf); - } -} // end of namespace ROOT for class ::ConfigDictionary - -namespace ROOT { - void maplEstringcOstringgR_ShowMembers(void *obj, TMemberInspector &R__insp); - static void maplEstringcOstringgR_Dictionary(); - static void *new_maplEstringcOstringgR(void *p = 0); - static void *newArray_maplEstringcOstringgR(Long_t size, void *p); - static void delete_maplEstringcOstringgR(void *p); - static void deleteArray_maplEstringcOstringgR(void *p); - static void destruct_maplEstringcOstringgR(void *p); - - // Function generating the singleton type initializer - static TGenericClassInfo *GenerateInitInstanceLocal(const map*) - { - map *ptr = 0; - static ::TVirtualIsAProxy* isa_proxy = new ::TIsAProxy(typeid(map),0); - static ::ROOT::TGenericClassInfo - instance("map", -2, "/usr/local/lib64/root/5.30/lib/cint/cint/lib/prec_stl/map", 63, - typeid(map), DefineBehavior(ptr, ptr), - 0, &maplEstringcOstringgR_Dictionary, isa_proxy, 0, - sizeof(map) ); - instance.SetNew(&new_maplEstringcOstringgR); - instance.SetNewArray(&newArray_maplEstringcOstringgR); - instance.SetDelete(&delete_maplEstringcOstringgR); - instance.SetDeleteArray(&deleteArray_maplEstringcOstringgR); - instance.SetDestructor(&destruct_maplEstringcOstringgR); - instance.AdoptCollectionProxyInfo(TCollectionProxyInfo::Generate(TCollectionProxyInfo::MapInsert< map >())); - return &instance; - } - // Static variable to force the class initialization - static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstanceLocal((const map*)0x0); R__UseDummy(_R__UNIQUE_(Init)); - - // Dictionary for non-ClassDef classes - static void maplEstringcOstringgR_Dictionary() { - ::ROOT::GenerateInitInstanceLocal((const map*)0x0)->GetClass(); - } - -} // end of namespace ROOT - -namespace ROOT { - // Wrappers around operator new - static void *new_maplEstringcOstringgR(void *p) { - return p ? ::new((::ROOT::TOperatorNewHelper*)p) map : new map; - } - static void *newArray_maplEstringcOstringgR(Long_t nElements, void *p) { - return p ? ::new((::ROOT::TOperatorNewHelper*)p) map[nElements] : new map[nElements]; - } - // Wrapper around operator delete - static void delete_maplEstringcOstringgR(void *p) { - delete ((map*)p); - } - static void deleteArray_maplEstringcOstringgR(void *p) { - delete [] ((map*)p); - } - static void destruct_maplEstringcOstringgR(void *p) { - typedef map current_t; - ((current_t*)p)->~current_t(); - } -} // end of namespace ROOT for class map - -/******************************************************** -* /home/dariak/Utilities/AculData/AculDataCint.cpp -* CAUTION: DON'T CHANGE THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED -* FROM HEADER FILES LISTED IN G__setup_cpp_environmentXXX(). -* CHANGE THOSE HEADER FILES AND REGENERATE THIS FILE. -********************************************************/ - -#ifdef G__MEMTEST -#undef malloc -#undef free -#endif - -#if defined(__GNUC__) && __GNUC__ >= 4 && ((__GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ >= 1) || (__GNUC_MINOR__ >= 3)) -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif - -extern "C" void G__cpp_reset_tagtableAculDataCint(); - -extern "C" void G__set_cpp_environmentAculDataCint() { - G__cpp_reset_tagtableAculDataCint(); -} -#include -extern "C" int G__cpp_dllrevAculDataCint() { return(30051515); } - -/********************************************************* -* Member function Interface Method -*********************************************************/ - -/* AculCalibration */ -static int G__AculDataCint_620_0_1(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - AculCalibration* p = NULL; - char* gvp = (char*) G__getgvp(); - int n = G__getaryconstruct(); - if (n) { - if ((gvp == (char*)G__PVOID) || (gvp == 0)) { - p = new AculCalibration[n]; - } else { - p = new((void*) gvp) AculCalibration[n]; - } - } else { - if ((gvp == (char*)G__PVOID) || (gvp == 0)) { - p = new AculCalibration; - } else { - p = new((void*) gvp) AculCalibration; - } - } - result7->obj.i = (long) p; - result7->ref = (long) p; - G__set_tagnum(result7,G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration)); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_2(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - AculCalibration* p = NULL; - char* gvp = (char*) G__getgvp(); - //m: 1 - if ((gvp == (char*)G__PVOID) || (gvp == 0)) { - p = new AculCalibration((const char*) G__int(libp->para[0])); - } else { - p = new((void*) gvp) AculCalibration((const char*) G__int(libp->para[0])); - } - result7->obj.i = (long) p; - result7->ref = (long) p; - G__set_tagnum(result7,G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration)); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_3(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 1: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->SetInputParameters((const char*) G__int(libp->para[0]))); - break; - case 0: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->SetInputParameters()); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_4(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->SetCalibrationParameters((const char*) G__int(libp->para[0]))); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_5(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((AculCalibration*) G__getstructoffset())->PrintInputParameters(); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_6(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 2: - ((AculCalibration*) G__getstructoffset())->PrintCalibrationParameters((const Int_t) G__int(libp->para[0]), (const Int_t) G__int(libp->para[1])); - G__setnull(result7); - break; - case 1: - ((AculCalibration*) G__getstructoffset())->PrintCalibrationParameters((const Int_t) G__int(libp->para[0])); - G__setnull(result7); - break; - case 0: - ((AculCalibration*) G__getstructoffset())->PrintCalibrationParameters(); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_7(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 9: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->CalculateCalibParameters( -(const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]) -, (Int_t) G__int(libp->para[6]), (Int_t) G__int(libp->para[7]) -, (Int_t) G__int(libp->para[8]))); - break; - case 8: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->CalculateCalibParameters( -(const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]) -, (Int_t) G__int(libp->para[6]), (Int_t) G__int(libp->para[7]))); - break; - case 7: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->CalculateCalibParameters( -(const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]) -, (Int_t) G__int(libp->para[6]))); - break; - case 6: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->CalculateCalibParameters((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]))); - break; - case 5: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->CalculateCalibParameters((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]))); - break; - case 4: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->CalculateCalibParameters((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]))); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_8(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 8: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->EnergyPositions( -(const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]) -, (Int_t) G__int(libp->para[6]), (Int_t) G__int(libp->para[7]))); - break; - case 7: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->EnergyPositions( -(const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]) -, (Int_t) G__int(libp->para[6]))); - break; - case 6: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->EnergyPositions((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]))); - break; - case 5: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->EnergyPositions((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]))); - break; - case 4: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->EnergyPositions((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (const char*) G__int(libp->para[3]))); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_9(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 3: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->PeaksFitting((TH1*) G__int(libp->para[0]), (Option_t*) G__int(libp->para[1]) -, (Double_t) G__double(libp->para[2]))); - break; - case 2: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->PeaksFitting((TH1*) G__int(libp->para[0]), (Option_t*) G__int(libp->para[1]))); - break; - case 1: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->PeaksFitting((TH1*) G__int(libp->para[0]))); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_10(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 4: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->SearchPeaks((TH1*) G__int(libp->para[0]), (Double_t) G__double(libp->para[1]) -, (Option_t*) G__int(libp->para[2]), (const Int_t) G__int(libp->para[3]))); - break; - case 3: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->SearchPeaks((TH1*) G__int(libp->para[0]), (Double_t) G__double(libp->para[1]) -, (Option_t*) G__int(libp->para[2]))); - break; - case 2: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->SearchPeaks((TH1*) G__int(libp->para[0]), (Double_t) G__double(libp->para[1]))); - break; - case 1: - G__letint(result7, 105, (long) ((AculCalibration*) G__getstructoffset())->SearchPeaks((TH1*) G__int(libp->para[0]))); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_11(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 7: - ((AculCalibration*) G__getstructoffset())->FillRawSpectraFile( -(const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const char*) G__int(libp->para[2]), (TCanvas*) G__int(libp->para[3]) -, (Option_t*) G__int(libp->para[4]), (Int_t) G__int(libp->para[5]) -, (Int_t) G__int(libp->para[6])); - G__setnull(result7); - break; - case 6: - ((AculCalibration*) G__getstructoffset())->FillRawSpectraFile((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const char*) G__int(libp->para[2]), (TCanvas*) G__int(libp->para[3]) -, (Option_t*) G__int(libp->para[4]), (Int_t) G__int(libp->para[5])); - G__setnull(result7); - break; - case 5: - ((AculCalibration*) G__getstructoffset())->FillRawSpectraFile((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const char*) G__int(libp->para[2]), (TCanvas*) G__int(libp->para[3]) -, (Option_t*) G__int(libp->para[4])); - G__setnull(result7); - break; - case 4: - ((AculCalibration*) G__getstructoffset())->FillRawSpectraFile((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const char*) G__int(libp->para[2]), (TCanvas*) G__int(libp->para[3])); - G__setnull(result7); - break; - case 3: - ((AculCalibration*) G__getstructoffset())->FillRawSpectraFile((const char*) G__int(libp->para[0]), (const char*) G__int(libp->para[1]) -, (const char*) G__int(libp->para[2])); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_12(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 6: - ((AculCalibration*) G__getstructoffset())->ShowRawSpectra((const char*) G__int(libp->para[0]), (const Int_t) G__int(libp->para[1]) -, (TCanvas*) G__int(libp->para[2]), (Int_t) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (const Int_t) G__int(libp->para[5])); - G__setnull(result7); - break; - case 5: - ((AculCalibration*) G__getstructoffset())->ShowRawSpectra((const char*) G__int(libp->para[0]), (const Int_t) G__int(libp->para[1]) -, (TCanvas*) G__int(libp->para[2]), (Int_t) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4])); - G__setnull(result7); - break; - case 4: - ((AculCalibration*) G__getstructoffset())->ShowRawSpectra((const char*) G__int(libp->para[0]), (const Int_t) G__int(libp->para[1]) -, (TCanvas*) G__int(libp->para[2]), (Int_t) G__int(libp->para[3])); - G__setnull(result7); - break; - case 3: - ((AculCalibration*) G__getstructoffset())->ShowRawSpectra((const char*) G__int(libp->para[0]), (const Int_t) G__int(libp->para[1]) -, (TCanvas*) G__int(libp->para[2])); - G__setnull(result7); - break; - case 2: - ((AculCalibration*) G__getstructoffset())->ShowRawSpectra((const char*) G__int(libp->para[0]), (const Int_t) G__int(libp->para[1])); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_13(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 6: - ((AculCalibration*) G__getstructoffset())->ShowSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Option_t*) G__int(libp->para[2]), (Int_t) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4]), (const Int_t) G__int(libp->para[5])); - G__setnull(result7); - break; - case 5: - ((AculCalibration*) G__getstructoffset())->ShowSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Option_t*) G__int(libp->para[2]), (Int_t) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4])); - G__setnull(result7); - break; - case 4: - ((AculCalibration*) G__getstructoffset())->ShowSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Option_t*) G__int(libp->para[2]), (Int_t) G__int(libp->para[3])); - G__setnull(result7); - break; - case 3: - ((AculCalibration*) G__getstructoffset())->ShowSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Option_t*) G__int(libp->para[2])); - G__setnull(result7); - break; - case 2: - ((AculCalibration*) G__getstructoffset())->ShowSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1])); - G__setnull(result7); - break; - case 1: - ((AculCalibration*) G__getstructoffset())->ShowSpectra((const char*) G__int(libp->para[0])); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_14(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 5: - ((AculCalibration*) G__getstructoffset())->ShowAnalyzedSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Int_t) G__int(libp->para[2]), (Int_t) G__int(libp->para[3]) -, (Int_t) G__int(libp->para[4])); - G__setnull(result7); - break; - case 4: - ((AculCalibration*) G__getstructoffset())->ShowAnalyzedSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Int_t) G__int(libp->para[2]), (Int_t) G__int(libp->para[3])); - G__setnull(result7); - break; - case 3: - ((AculCalibration*) G__getstructoffset())->ShowAnalyzedSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (Int_t) G__int(libp->para[2])); - G__setnull(result7); - break; - case 2: - ((AculCalibration*) G__getstructoffset())->ShowAnalyzedSpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1])); - G__setnull(result7); - break; - case 1: - ((AculCalibration*) G__getstructoffset())->ShowAnalyzedSpectra((const char*) G__int(libp->para[0])); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_15(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 6: - ((AculCalibration*) G__getstructoffset())->ShowEnergySpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (Option_t*) G__int(libp->para[3]) -, (Double_t) G__double(libp->para[4]), (Double_t) G__double(libp->para[5])); - G__setnull(result7); - break; - case 5: - ((AculCalibration*) G__getstructoffset())->ShowEnergySpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (Option_t*) G__int(libp->para[3]) -, (Double_t) G__double(libp->para[4])); - G__setnull(result7); - break; - case 4: - ((AculCalibration*) G__getstructoffset())->ShowEnergySpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2]), (Option_t*) G__int(libp->para[3])); - G__setnull(result7); - break; - case 3: - ((AculCalibration*) G__getstructoffset())->ShowEnergySpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1]) -, (const Int_t) G__int(libp->para[2])); - G__setnull(result7); - break; - case 2: - ((AculCalibration*) G__getstructoffset())->ShowEnergySpectra((const char*) G__int(libp->para[0]), (TCanvas*) G__int(libp->para[1])); - G__setnull(result7); - break; - case 1: - ((AculCalibration*) G__getstructoffset())->ShowEnergySpectra((const char*) G__int(libp->para[0])); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_16(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((AculCalibration*) G__getstructoffset())->DivideCanvas((TCanvas*) G__int(libp->para[0]), (Int_t) G__int(libp->para[1])); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_17(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 1: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->AddCalFileToList((const char*) G__int(libp->para[0]))); - break; - case 0: - G__letint(result7, 103, (long) ((AculCalibration*) G__getstructoffset())->AddCalFileToList()); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_18(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 1: - ((AculCalibration*) G__getstructoffset())->ClearHistograms((Option_t*) G__int(libp->para[0])); - G__setnull(result7); - break; - case 0: - ((AculCalibration*) G__getstructoffset())->ClearHistograms(); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_19(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - switch (libp->paran) { - case 1: - ((AculCalibration*) G__getstructoffset())->DeleteStacks((Option_t*) G__int(libp->para[0])); - G__setnull(result7); - break; - case 0: - ((AculCalibration*) G__getstructoffset())->DeleteStacks(); - G__setnull(result7); - break; - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_20(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((AculCalibration*) G__getstructoffset())->MakeCalibrationFile((Char_t*) G__int(libp->para[0]), (Char_t*) G__int(libp->para[1])); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_21(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((AculCalibration*) G__getstructoffset())->Reset(); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_22(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 85, (long) AculCalibration::Class()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_23(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 67, (long) AculCalibration::Class_Name()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_24(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 115, (long) AculCalibration::Class_Version()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_25(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - AculCalibration::Dictionary(); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_29(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((AculCalibration*) G__getstructoffset())->StreamerNVirtual(*(TBuffer*) libp->para[0].ref); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_30(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 67, (long) AculCalibration::DeclFileName()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_31(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 105, (long) AculCalibration::ImplFileLine()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_32(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 67, (long) AculCalibration::ImplFileName()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_620_0_33(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 105, (long) AculCalibration::DeclFileLine()); - return(1 || funcname || hash || result7 || libp) ; -} - -// automatic destructor -typedef AculCalibration G__TAculCalibration; -static int G__AculDataCint_620_0_34(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - char* gvp = (char*) G__getgvp(); - long soff = G__getstructoffset(); - int n = G__getaryconstruct(); - // - //has_a_delete: 1 - //has_own_delete1arg: 0 - //has_own_delete2arg: 0 - // - if (!soff) { - return(1); - } - if (n) { - if (gvp == (char*)G__PVOID) { - delete[] (AculCalibration*) soff; - } else { - G__setgvp((long) G__PVOID); - for (int i = n - 1; i >= 0; --i) { - ((AculCalibration*) (soff+(sizeof(AculCalibration)*i)))->~G__TAculCalibration(); - } - G__setgvp((long)gvp); - } - } else { - if (gvp == (char*)G__PVOID) { - delete (AculCalibration*) soff; - } else { - G__setgvp((long) G__PVOID); - ((AculCalibration*) (soff))->~G__TAculCalibration(); - G__setgvp((long)gvp); - } - } - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - - -/* ConfigDictionary */ -static int G__AculDataCint_671_0_1(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ConfigDictionary* p = NULL; - char* gvp = (char*) G__getgvp(); - int n = G__getaryconstruct(); - if (n) { - if ((gvp == (char*)G__PVOID) || (gvp == 0)) { - p = new ConfigDictionary[n]; - } else { - p = new((void*) gvp) ConfigDictionary[n]; - } - } else { - if ((gvp == (char*)G__PVOID) || (gvp == 0)) { - p = new ConfigDictionary; - } else { - p = new((void*) gvp) ConfigDictionary; - } - } - result7->obj.i = (long) p; - result7->ref = (long) p; - G__set_tagnum(result7,G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary)); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_2(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ConfigDictionary* p = NULL; - char* gvp = (char*) G__getgvp(); - //m: 1 - if ((gvp == (char*)G__PVOID) || (gvp == 0)) { - p = new ConfigDictionary(*((string*) G__int(libp->para[0]))); - } else { - p = new((void*) gvp) ConfigDictionary(*((string*) G__int(libp->para[0]))); - } - result7->obj.i = (long) p; - result7->ref = (long) p; - G__set_tagnum(result7,G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary)); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_3(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 85, (long) ConfigDictionary::Class()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_4(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 67, (long) ConfigDictionary::Class_Name()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_5(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 115, (long) ConfigDictionary::Class_Version()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_6(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ConfigDictionary::Dictionary(); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_7(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 85, (long) ((const ConfigDictionary*) G__getstructoffset())->IsA()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_8(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->ShowMembers(*(TMemberInspector*) libp->para[0].ref); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_9(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->Streamer(*(TBuffer*) libp->para[0].ref); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_10(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->StreamerNVirtual(*(TBuffer*) libp->para[0].ref); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_11(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 67, (long) ConfigDictionary::DeclFileName()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_12(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 105, (long) ConfigDictionary::ImplFileLine()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_13(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 67, (long) ConfigDictionary::ImplFileName()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_14(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 105, (long) ConfigDictionary::DeclFileLine()); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_15(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - { - string* pobj; - string xobj = ((ConfigDictionary*) G__getstructoffset())->ToString(); - pobj = new string(xobj); - result7->obj.i = (long) ((void*) pobj); - result7->ref = result7->obj.i; - G__store_tempobject(*result7); - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_16(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->FromString(*((string*) G__int(libp->para[0]))); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_17(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - { - string* pobj; - string xobj = ((ConfigDictionary*) G__getstructoffset())->GetString(*((string*) G__int(libp->para[0]))); - pobj = new string(xobj); - result7->obj.i = (long) ((void*) pobj); - result7->ref = result7->obj.i; - G__store_tempobject(*result7); - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_18(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 105, (long) ((ConfigDictionary*) G__getstructoffset())->GetInt(*((string*) G__int(libp->para[0])))); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_19(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letdouble(result7, 100, (double) ((ConfigDictionary*) G__getstructoffset())->GetDouble(*((string*) G__int(libp->para[0])))); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_20(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - G__letint(result7, 103, (long) ((ConfigDictionary*) G__getstructoffset())->GetBool(*((string*) G__int(libp->para[0])))); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_21(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->SetString(*((string*) G__int(libp->para[0])), *((string*) G__int(libp->para[1]))); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_22(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->SetDouble(*((string*) G__int(libp->para[0])), (double) G__double(libp->para[1])); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_23(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->SetInt(*((string*) G__int(libp->para[0])), (int) G__int(libp->para[1])); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_24(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ((ConfigDictionary*) G__getstructoffset())->SetBool(*((string*) G__int(libp->para[0])), (bool) G__int(libp->para[1])); - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_25(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - { - ConfigDictionary::CDIter* pobj; - ConfigDictionary::CDIter xobj = ((ConfigDictionary*) G__getstructoffset())->Begin(); - pobj = new ConfigDictionary::CDIter(xobj); - result7->obj.i = (long) ((void*) pobj); - result7->ref = result7->obj.i; - G__store_tempobject(*result7); - } - return(1 || funcname || hash || result7 || libp) ; -} - -static int G__AculDataCint_671_0_26(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - { - ConfigDictionary::CDIter* pobj; - ConfigDictionary::CDIter xobj = ((ConfigDictionary*) G__getstructoffset())->End(); - pobj = new ConfigDictionary::CDIter(xobj); - result7->obj.i = (long) ((void*) pobj); - result7->ref = result7->obj.i; - G__store_tempobject(*result7); - } - return(1 || funcname || hash || result7 || libp) ; -} - -// automatic copy constructor -static int G__AculDataCint_671_0_27(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) - -{ - ConfigDictionary* p; - void* tmp = (void*) G__int(libp->para[0]); - p = new ConfigDictionary(*(ConfigDictionary*) tmp); - result7->obj.i = (long) p; - result7->ref = (long) p; - G__set_tagnum(result7,G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary)); - return(1 || funcname || hash || result7 || libp) ; -} - -// automatic destructor -typedef ConfigDictionary G__TConfigDictionary; -static int G__AculDataCint_671_0_28(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - char* gvp = (char*) G__getgvp(); - long soff = G__getstructoffset(); - int n = G__getaryconstruct(); - // - //has_a_delete: 0 - //has_own_delete1arg: 0 - //has_own_delete2arg: 0 - // - if (!soff) { - return(1); - } - if (n) { - if (gvp == (char*)G__PVOID) { - delete[] (ConfigDictionary*) soff; - } else { - G__setgvp((long) G__PVOID); - for (int i = n - 1; i >= 0; --i) { - ((ConfigDictionary*) (soff+(sizeof(ConfigDictionary)*i)))->~G__TConfigDictionary(); - } - G__setgvp((long)gvp); - } - } else { - if (gvp == (char*)G__PVOID) { - delete (ConfigDictionary*) soff; - } else { - G__setgvp((long) G__PVOID); - ((ConfigDictionary*) (soff))->~G__TConfigDictionary(); - G__setgvp((long)gvp); - } - } - G__setnull(result7); - return(1 || funcname || hash || result7 || libp) ; -} - -// automatic assignment operator -static int G__AculDataCint_671_0_29(G__value* result7, G__CONST char* funcname, struct G__param* libp, int hash) -{ - ConfigDictionary* dest = (ConfigDictionary*) G__getstructoffset(); - *dest = *(ConfigDictionary*) libp->para[0].ref; - const ConfigDictionary& obj = *dest; - result7->ref = (long) (&obj); - result7->obj.i = (long) (&obj); - return(1 || funcname || hash || result7 || libp) ; -} - - -/* Setting up global function */ - -/********************************************************* -* Member function Stub -*********************************************************/ - -/* AculCalibration */ - -/* ConfigDictionary */ - -/********************************************************* -* Global function Stub -*********************************************************/ - -/********************************************************* -* Get size of pointer to member function -*********************************************************/ -class G__Sizep2memfuncAculDataCint { - public: - G__Sizep2memfuncAculDataCint(): p(&G__Sizep2memfuncAculDataCint::sizep2memfunc) {} - size_t sizep2memfunc() { return(sizeof(p)); } - private: - size_t (G__Sizep2memfuncAculDataCint::*p)(); -}; - -size_t G__get_sizep2memfuncAculDataCint() -{ - G__Sizep2memfuncAculDataCint a; - G__setsizep2memfunc((int)a.sizep2memfunc()); - return((size_t)a.sizep2memfunc()); -} - - -/********************************************************* -* virtual base class offset calculation interface -*********************************************************/ - - /* Setting up class inheritance */ - -/********************************************************* -* Inheritance information setup/ -*********************************************************/ -extern "C" void G__cpp_setup_inheritanceAculDataCint() { - - /* Setting up class inheritance */ - if(0==G__getnumbaseclass(G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration))) { - AculCalibration *G__Lderived; - G__Lderived=(AculCalibration*)0x1000; - { - TObject *G__Lpbase=(TObject*)G__Lderived; - G__inheritance_setup(G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration),G__get_linked_tagnum(&G__AculDataCintLN_TObject),(long)G__Lpbase-(long)G__Lderived,1,1); - } - } -} - -/********************************************************* -* typedef information setup/ -*********************************************************/ -extern "C" void G__cpp_setup_typetableAculDataCint() { - - /* Setting up typedef entry */ - G__search_typename2("Char_t",99,-1,0,-1); - G__setnewtype(-1,"Signed Character 1 byte (char)",0); - G__search_typename2("Int_t",105,-1,0,-1); - G__setnewtype(-1,"Signed integer 4 bytes (int)",0); - G__search_typename2("Double_t",100,-1,0,-1); - G__setnewtype(-1,"Double 8 bytes",0); - G__search_typename2("Bool_t",103,-1,0,-1); - G__setnewtype(-1,"Boolean (0=false, 1=true) (bool)",0); - G__search_typename2("Version_t",115,-1,0,-1); - G__setnewtype(-1,"Class version identifier (short)",0); - G__search_typename2("Option_t",99,-1,256,-1); - G__setnewtype(-1,"Option string (const char)",0); - G__search_typename2("vector",117,G__get_linked_tagnum(&G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("reverse_iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_reverse_iteratorlEvectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgRcLcLiteratorgR),0,G__get_linked_tagnum(&G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR)); - G__setnewtype(-1,NULL,0); - G__search_typename2("reverse_iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_reverse_iteratorlEvectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgRcLcLiteratorgR),0,G__get_linked_tagnum(&G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR)); - G__setnewtype(-1,NULL,0); - G__search_typename2("vector",117,G__get_linked_tagnum(&G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("reverse_iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_reverse_iteratorlEvectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgRcLcLiteratorgR),0,G__get_linked_tagnum(&G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR)); - G__setnewtype(-1,NULL,0); - G__search_typename2("reverse_iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_reverse_iteratorlEvectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgRcLcLiteratorgR),0,G__get_linked_tagnum(&G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR)); - G__setnewtype(-1,NULL,0); - G__search_typename2("iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("iterator",117,G__get_linked_tagnum(&G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("map",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("map",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("map >",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TVectorT",117,G__get_linked_tagnum(&G__AculDataCintLN_TVectorTlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TVectorT",117,G__get_linked_tagnum(&G__AculDataCintLN_TVectorTlEdoublegR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTBase",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTBaselEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTBase",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTBaselEdoublegR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixT",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTRow_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTRow_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTColumn_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTColumn_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTDiag_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTDiag_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTFlat_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTFlat_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTSub_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTSub_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTSparseRow_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTSparseRow_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTSparseDiag_const",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTSparseDiag_constlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTRow",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTRowlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTColumn",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTColumnlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTDiag",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTDiaglEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTFlat",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTFlatlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTSub",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTSublEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTSparseRow",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTSparseRowlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TMatrixTSparseDiag",117,G__get_linked_tagnum(&G__AculDataCintLN_TMatrixTSparseDiaglEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TElementActionT",117,G__get_linked_tagnum(&G__AculDataCintLN_TElementActionTlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("TElementPosActionT",117,G__get_linked_tagnum(&G__AculDataCintLN_TElementPosActionTlEfloatgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("map",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("map",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("map >",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR),0,-1); - G__setnewtype(-1,NULL,0); - G__search_typename2("CDIter",117,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator),0,G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary)); - G__setnewtype(-1,NULL,0); -} - -/********************************************************* -* Data Member information setup/ -*********************************************************/ - - /* Setting up class,struct,union tag member variable */ - - /* AculCalibration */ -static void G__setup_memvarAculCalibration(void) { - G__tag_memvar_setup(G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration)); - { AculCalibration *p; p=(AculCalibration*)0x1000; if (p) { } - G__memvar_setup((void*)((long)(&p->fHRawList)-(long)(p)),117,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TObjArray),-1,-1,1,"fHRawList=",0,"list of raw histograms, list is set to owner"); - G__memvar_setup((void*)((long)(&p->fHAnalyzedList)-(long)(p)),117,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TObjArray),-1,-1,1,"fHAnalyzedList=",0,"list of fitted and analyzed histograms, list is set to owner"); - G__memvar_setup((void*)((long)(&p->fHEnergyList)-(long)(p)),117,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TObjArray),-1,-1,1,"fHEnergyList=",0,"list of calibrated histograms, list is set to owner"); - G__memvar_setup((void*)((long)(&p->fHEnergyStack)-(long)(p)),117,0,0,G__get_linked_tagnum(&G__AculDataCintLN_THStack),-1,-1,1,"fHEnergyStack=",0,"some stack"); - G__memvar_setup((void*)((long)(&p->fCurrentHStack)-(long)(p)),85,0,0,G__get_linked_tagnum(&G__AculDataCintLN_THStack),-1,-1,1,"fCurrentHStack=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->fCurrentHistList)-(long)(p)),117,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TObjArray),-1,-1,1,"fCurrentHistList=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->kRaNOPEAKS)-(long)(p)),105,0,0,-1,G__defined_typename("Int_t"),-1,1,"kRaNOPEAKS=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->fEnergy)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fEnergy[20]=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->fLowerChannel)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fLowerChannel=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->fUpperChannel)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fUpperChannel=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->fLowerPeakRelativeHight)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fLowerPeakRelativeHight=",0,"pouziva se, private"); - G__memvar_setup((void*)((long)(&p->fUpperPeakRelativeHight)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fUpperPeakRelativeHight=",0,"pouziva se, private, nastavit nenulovou prednastavenou hodnotu"); - G__memvar_setup((void*)((long)(&p->fPeakPositionTolerance)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fPeakPositionTolerance=",0,"pouziva se, private"); - G__memvar_setup((void*)((long)(&p->fFitFuncLineWidth)-(long)(p)),115,0,0,-1,G__defined_typename("Width_t"),-1,1,"fFitFuncLineWidth=",0,"private"); - G__memvar_setup((void*)((long)(&p->fFitMinSigma)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fFitMinSigma=",0,"pouziva se, private"); - G__memvar_setup((void*)((long)(&p->fFitPeakThreshold)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fFitPeakThreshold=",0,"pouziva se, private, prozkoumat, k cemu vlastne slouzi ve fci ShowPeaks, popremyslet o vhodnem prednastaveni v konstruktoru"); - G__memvar_setup((void*)((long)(&p->fA)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fA[100][32]=",0,"kalibracni parametry, f(x) = fA*x + fB"); - G__memvar_setup((void*)((long)(&p->fB)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fB[100][32]=",0,"kalibracni parametry, f(x) = fA*x + fB"); - G__memvar_setup((void*)((long)(&p->fC)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fC[100][32]=",0,"treti kalibracni parametr, jine zavislosti nez pol1"); - G__memvar_setup((void*)((long)(&p->fD)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fD[100][32]=",0,"ctvrty kalibracni parametr"); - G__memvar_setup((void*)((long)(&p->fCalInformation)-(long)(p)),85,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TFile),-1,-1,1,"fCalInformation=",0,(char*)NULL); - G__memvar_setup((void*)((long)(&p->fPeak)-(long)(p)),100,0,0,-1,G__defined_typename("Double_t"),-1,1,"fPeak[20]=",0,"v teto promenne je ulozena momentalni hodnota piku v kanalech, zejmena v jedne fci, mozno udelat ji jako lokalni, bude navratovou hodnotou fce PeaksFitting, predelat delku pole"); - G__memvar_setup((void*)0,85,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TClass),-1,-2,4,"fgIsA=",0,(char*)NULL); - } - G__tag_memvar_reset(); -} - - - /* ConfigDictionary */ -static void G__setup_memvarConfigDictionary(void) { - G__tag_memvar_setup(G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary)); - { ConfigDictionary *p; p=(ConfigDictionary*)0x1000; if (p) { } - G__memvar_setup((void*)0,108,0,0,-1,-1,-1,4,"G__virtualinfo=",0,(char*)NULL); - G__memvar_setup((void*)0,85,0,0,G__get_linked_tagnum(&G__AculDataCintLN_TClass),-1,-2,4,"fgIsA=",0,(char*)NULL); - G__memvar_setup((void*)0,117,0,0,G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR),G__defined_typename("map"),-1,4,"configMap=",0,(char*)NULL); - } - G__tag_memvar_reset(); -} - -extern "C" void G__cpp_setup_memvarAculDataCint() { -} -/*********************************************************** -************************************************************ -************************************************************ -************************************************************ -************************************************************ -************************************************************ -************************************************************ -***********************************************************/ - -/********************************************************* -* Member function information setup for each class -*********************************************************/ -static void G__setup_memfuncAculCalibration(void) { - /* AculCalibration */ - G__tag_memfunc_setup(G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration)); - G__memfunc_setup("AculCalibration",1517,G__AculDataCint_620_0_1, 105, G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration), -1, 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("AculCalibration",1517,G__AculDataCint_620_0_2, 105, G__get_linked_tagnum(&G__AculDataCintLN_AculCalibration), -1, 0, 1, 1, 1, 0, "C - - 10 - parfile", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SetInputParameters",1872,G__AculDataCint_620_0_3, 103, -1, G__defined_typename("Bool_t"), 0, 1, 1, 1, 0, "C - - 10 '\"parforcal.par\"' inputparfile", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SetCalibrationParameters",2472,G__AculDataCint_620_0_4, 103, -1, G__defined_typename("Bool_t"), 0, 1, 1, 1, 0, "C - - 10 - calparfile", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("PrintInputParameters",2097,G__AculDataCint_620_0_5, 121, -1, -1, 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("PrintCalibrationParameters",2697,G__AculDataCint_620_0_6, 121, -1, -1, 0, 2, 1, 1, 0, -"i - 'Int_t' 10 '1' blockmin i - 'Int_t' 10 '100-1' blockmax", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("CalculateCalibParameters",2429,G__AculDataCint_620_0_7, 103, -1, G__defined_typename("Bool_t"), 0, 9, 1, 1, 0, -"C - - 10 - inputfile C - - 10 - block " -"i - 'Int_t' 10 - address C - - 10 - treename " -"i - 'Int_t' 0 '0' lowerchannel i - 'Int_t' 0 '4095' upperchannel " -"i - 'Int_t' 0 '1000' nEBins i - 'Int_t' 0 '0' lowersubaddress " -"i - 'Int_t' 0 '32-1' uppersubaddress", "calculate calibration parameters for given block in given file", (void*) NULL, 0); - G__memfunc_setup("EnergyPositions",1586,G__AculDataCint_620_0_8, 103, -1, G__defined_typename("Bool_t"), 0, 8, 1, 1, 0, -"C - - 10 - inputfile C - - 10 - block " -"i - 'Int_t' 10 - address C - - 10 - treename " -"i - 'Int_t' 0 '0' lowerchannel i - 'Int_t' 0 '4095' upperchannel " -"i - 'Int_t' 0 '0' lowersubaddress i - 'Int_t' 0 '32-1' uppersubaddress", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("PeaksFitting",1225,G__AculDataCint_620_0_9, 105, -1, G__defined_typename("Int_t"), 0, 3, 1, 1, 0, -"U 'TH1' - 0 - hSpectrum C - 'Option_t' 10 '\"\"' option " -"d - 'Double_t' 0 '2' sigmamin", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SearchPeaks",1098,G__AculDataCint_620_0_10, 105, -1, G__defined_typename("Int_t"), 0, 4, 1, 1, 0, -"U 'TH1' - 10 - hin d - 'Double_t' 0 '2' sigma " -"C - 'Option_t' 10 '\"\"' option i - 'Int_t' 10 '100' searchedpeaks", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("FillRawSpectraFile",1795,G__AculDataCint_620_0_11, 121, -1, -1, 0, 7, 1, 1, 0, -"C - - 10 - rawdatafile C - - 10 - block " -"C - - 10 - treename U 'TCanvas' - 0 '0' rawCanvas " -"C - 'Option_t' 10 '\"\"' option i - 'Int_t' 0 '0' xaxismin " -"i - 'Int_t' 0 '4096' xaxismax", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("ShowRawSpectra",1437,G__AculDataCint_620_0_12, 121, -1, -1, 0, 6, 1, 1, 0, -"C - - 10 - filename i - 'Int_t' 10 - block " -"U 'TCanvas' - 0 '0' rawCanvas i - 'Int_t' 0 '0' xaxismin " -"i - 'Int_t' 0 '4096' xaxismax i - 'Int_t' 10 '16' subaddress", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("ShowSpectra",1139,G__AculDataCint_620_0_13, 121, -1, -1, 0, 6, 1, 1, 0, -"C - - 10 - filename U 'TCanvas' - 0 '0' rawCanvas " -"C - 'Option_t' 10 '\"\"' option i - 'Int_t' 0 '0' xaxismin " -"i - 'Int_t' 0 '4096' xaxismax i - 'Int_t' 10 '16' subaddress", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("ShowAnalyzedSpectra",1963,G__AculDataCint_620_0_14, 121, -1, -1, 0, 5, 1, 1, 0, -"C - - 10 - filename U 'TCanvas' - 0 '0' fittedRawCanvas " -"i - 'Int_t' 0 '0' xaxismin i - 'Int_t' 0 '4096' xaxismax " -"i - 'Int_t' 0 '16' subaddress", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("ShowEnergySpectra",1757,G__AculDataCint_620_0_15, 121, -1, -1, 0, 6, 1, 1, 0, -"C - - 10 - filename U 'TCanvas' - 0 '0' energyCanvas " -"i - 'Int_t' 10 '16' subaddress C - 'Option_t' 10 '\"\"' option " -"d - 'Double_t' 0 '0.' xaxismin d - 'Double_t' 0 '10.' xaxismax", "option: \"sum\", \"c\", \"+\",", (void*) NULL, 0); - G__memfunc_setup("DivideCanvas",1201,G__AculDataCint_620_0_16, 121, -1, -1, 0, 2, 1, 1, 0, -"U 'TCanvas' - 0 - c1 i - 'Int_t' 0 - inputs", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("AddCalFileToList",1528,G__AculDataCint_620_0_17, 103, -1, G__defined_typename("Bool_t"), 0, 1, 1, 1, 0, "C - - 10 '\"CalFileList.log\"' calfilelist", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("ClearHistograms",1544,G__AculDataCint_620_0_18, 121, -1, -1, 0, 1, 1, 1, 0, "C - 'Option_t' 10 '\"\"' option", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("DeleteStacks",1212,G__AculDataCint_620_0_19, 121, -1, -1, 0, 1, 1, 1, 0, "C - 'Option_t' 10 '\"\"' option", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("MakeCalibrationFile",1894,G__AculDataCint_620_0_20, 121, -1, -1, 0, 2, 1, 1, 0, -"C - 'Char_t' 0 - calibrationfile C - 'Char_t' 0 - calfilelist", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("Reset",515,G__AculDataCint_620_0_21, 121, -1, -1, 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("Class",502,G__AculDataCint_620_0_22, 85, G__get_linked_tagnum(&G__AculDataCintLN_TClass), -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (TClass* (*)())(&AculCalibration::Class) ), 0); - G__memfunc_setup("Class_Name",982,G__AculDataCint_620_0_23, 67, -1, -1, 0, 0, 3, 1, 1, "", (char*)NULL, (void*) G__func2void( (const char* (*)())(&AculCalibration::Class_Name) ), 0); - G__memfunc_setup("Class_Version",1339,G__AculDataCint_620_0_24, 115, -1, G__defined_typename("Version_t"), 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (Version_t (*)())(&AculCalibration::Class_Version) ), 0); - G__memfunc_setup("Dictionary",1046,G__AculDataCint_620_0_25, 121, -1, -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (void (*)())(&AculCalibration::Dictionary) ), 0); - G__memfunc_setup("IsA",253,(G__InterfaceMethod) NULL,85, G__get_linked_tagnum(&G__AculDataCintLN_TClass), -1, 0, 0, 1, 1, 8, "", (char*)NULL, (void*) NULL, 1); - G__memfunc_setup("ShowMembers",1132,(G__InterfaceMethod) NULL,121, -1, -1, 0, 1, 1, 1, 0, "u 'TMemberInspector' - 1 - insp", (char*)NULL, (void*) NULL, 1); - G__memfunc_setup("Streamer",835,(G__InterfaceMethod) NULL,121, -1, -1, 0, 1, 1, 1, 0, "u 'TBuffer' - 1 - b", (char*)NULL, (void*) NULL, 1); - G__memfunc_setup("StreamerNVirtual",1656,G__AculDataCint_620_0_29, 121, -1, -1, 0, 1, 1, 1, 0, "u 'TBuffer' - 1 - b", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("DeclFileName",1145,G__AculDataCint_620_0_30, 67, -1, -1, 0, 0, 3, 1, 1, "", (char*)NULL, (void*) G__func2void( (const char* (*)())(&AculCalibration::DeclFileName) ), 0); - G__memfunc_setup("ImplFileLine",1178,G__AculDataCint_620_0_31, 105, -1, -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (int (*)())(&AculCalibration::ImplFileLine) ), 0); - G__memfunc_setup("ImplFileName",1171,G__AculDataCint_620_0_32, 67, -1, -1, 0, 0, 3, 1, 1, "", (char*)NULL, (void*) G__func2void( (const char* (*)())(&AculCalibration::ImplFileName) ), 0); - G__memfunc_setup("DeclFileLine",1152,G__AculDataCint_620_0_33, 105, -1, -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (int (*)())(&AculCalibration::DeclFileLine) ), 0); - // automatic destructor - G__memfunc_setup("~AculCalibration", 1643, G__AculDataCint_620_0_34, (int) ('y'), -1, -1, 0, 0, 1, 1, 0, "", (char*) NULL, (void*) NULL, 1); - G__tag_memfunc_reset(); -} - -static void G__setup_memfuncConfigDictionary(void) { - /* ConfigDictionary */ - G__tag_memfunc_setup(G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary)); - G__memfunc_setup("ConfigDictionary",1644,G__AculDataCint_671_0_1, 105, G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary), -1, 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("ConfigDictionary",1644,G__AculDataCint_671_0_2, 105, G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary), -1, 0, 1, 1, 1, 0, "u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("Class",502,G__AculDataCint_671_0_3, 85, G__get_linked_tagnum(&G__AculDataCintLN_TClass), -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (TClass* (*)())(&ConfigDictionary::Class) ), 0); - G__memfunc_setup("Class_Name",982,G__AculDataCint_671_0_4, 67, -1, -1, 0, 0, 3, 1, 1, "", (char*)NULL, (void*) G__func2void( (const char* (*)())(&ConfigDictionary::Class_Name) ), 0); - G__memfunc_setup("Class_Version",1339,G__AculDataCint_671_0_5, 115, -1, G__defined_typename("Version_t"), 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (Version_t (*)())(&ConfigDictionary::Class_Version) ), 0); - G__memfunc_setup("Dictionary",1046,G__AculDataCint_671_0_6, 121, -1, -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (void (*)())(&ConfigDictionary::Dictionary) ), 0); - G__memfunc_setup("IsA",253,G__AculDataCint_671_0_7, 85, G__get_linked_tagnum(&G__AculDataCintLN_TClass), -1, 0, 0, 1, 1, 8, "", (char*)NULL, (void*) NULL, 1); - G__memfunc_setup("ShowMembers",1132,G__AculDataCint_671_0_8, 121, -1, -1, 0, 1, 1, 1, 0, "u 'TMemberInspector' - 1 - insp", (char*)NULL, (void*) NULL, 1); - G__memfunc_setup("Streamer",835,G__AculDataCint_671_0_9, 121, -1, -1, 0, 1, 1, 1, 0, "u 'TBuffer' - 1 - b", (char*)NULL, (void*) NULL, 1); - G__memfunc_setup("StreamerNVirtual",1656,G__AculDataCint_671_0_10, 121, -1, -1, 0, 1, 1, 1, 0, "u 'TBuffer' - 1 - b", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("DeclFileName",1145,G__AculDataCint_671_0_11, 67, -1, -1, 0, 0, 3, 1, 1, "", (char*)NULL, (void*) G__func2void( (const char* (*)())(&ConfigDictionary::DeclFileName) ), 0); - G__memfunc_setup("ImplFileLine",1178,G__AculDataCint_671_0_12, 105, -1, -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (int (*)())(&ConfigDictionary::ImplFileLine) ), 0); - G__memfunc_setup("ImplFileName",1171,G__AculDataCint_671_0_13, 67, -1, -1, 0, 0, 3, 1, 1, "", (char*)NULL, (void*) G__func2void( (const char* (*)())(&ConfigDictionary::ImplFileName) ), 0); - G__memfunc_setup("DeclFileLine",1152,G__AculDataCint_671_0_14, 105, -1, -1, 0, 0, 3, 1, 0, "", (char*)NULL, (void*) G__func2void( (int (*)())(&ConfigDictionary::DeclFileLine) ), 0); - G__memfunc_setup("ToString",826,G__AculDataCint_671_0_15, 117, G__get_linked_tagnum(&G__AculDataCintLN_string), -1, 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("FromString",1035,G__AculDataCint_671_0_16, 121, -1, -1, 0, 1, 1, 1, 0, "u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("GetString",919,G__AculDataCint_671_0_17, 117, G__get_linked_tagnum(&G__AculDataCintLN_string), -1, 0, 1, 1, 1, 32, "u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("GetInt",587,G__AculDataCint_671_0_18, 105, -1, -1, 0, 1, 1, 1, 32, "u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("GetDouble",891,G__AculDataCint_671_0_19, 100, -1, -1, 0, 1, 1, 1, 32, "u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("GetBool",684,G__AculDataCint_671_0_20, 103, -1, -1, 0, 1, 1, 1, 32, "u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SetString",931,G__AculDataCint_671_0_21, 121, -1, -1, 0, 2, 1, 1, 0, -"u 'string' - 0 - - u 'string' - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SetDouble",903,G__AculDataCint_671_0_22, 121, -1, -1, 0, 2, 1, 1, 0, -"u 'string' - 0 - - d - - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SetInt",599,G__AculDataCint_671_0_23, 121, -1, -1, 0, 2, 1, 1, 0, -"u 'string' - 0 - - i - - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("SetBool",696,G__AculDataCint_671_0_24, 121, -1, -1, 0, 2, 1, 1, 0, -"u 'string' - 0 - - g - - 0 - -", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("Begin",485,G__AculDataCint_671_0_25, 117, G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator), G__defined_typename("ConfigDictionary::CDIter"), 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - G__memfunc_setup("End",279,G__AculDataCint_671_0_26, 117, G__get_linked_tagnum(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator), G__defined_typename("ConfigDictionary::CDIter"), 0, 0, 1, 1, 0, "", (char*)NULL, (void*) NULL, 0); - // automatic copy constructor - G__memfunc_setup("ConfigDictionary", 1644, G__AculDataCint_671_0_27, (int) ('i'), G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary), -1, 0, 1, 1, 1, 0, "u 'ConfigDictionary' - 11 - -", (char*) NULL, (void*) NULL, 0); - // automatic destructor - G__memfunc_setup("~ConfigDictionary", 1770, G__AculDataCint_671_0_28, (int) ('y'), -1, -1, 0, 0, 1, 1, 0, "", (char*) NULL, (void*) NULL, 1); - // automatic assignment operator - G__memfunc_setup("operator=", 937, G__AculDataCint_671_0_29, (int) ('u'), G__get_linked_tagnum(&G__AculDataCintLN_ConfigDictionary), -1, 1, 1, 1, 1, 0, "u 'ConfigDictionary' - 11 - -", (char*) NULL, (void*) NULL, 0); - G__tag_memfunc_reset(); -} - - -/********************************************************* -* Member function information setup -*********************************************************/ -extern "C" void G__cpp_setup_memfuncAculDataCint() { -} - -/********************************************************* -* Global variable information setup for each class -*********************************************************/ -static void G__cpp_setup_global0() { - - /* Setting up global variables */ - G__resetplocal(); - -} - -static void G__cpp_setup_global1() { -} - -static void G__cpp_setup_global2() { -} - -static void G__cpp_setup_global3() { -} - -static void G__cpp_setup_global4() { - - G__resetglobalenv(); -} -extern "C" void G__cpp_setup_globalAculDataCint() { - G__cpp_setup_global0(); - G__cpp_setup_global1(); - G__cpp_setup_global2(); - G__cpp_setup_global3(); - G__cpp_setup_global4(); -} - -/********************************************************* -* Global function information setup for each class -*********************************************************/ -static void G__cpp_setup_func0() { - G__lastifuncposition(); - -} - -static void G__cpp_setup_func1() { -} - -static void G__cpp_setup_func2() { -} - -static void G__cpp_setup_func3() { -} - -static void G__cpp_setup_func4() { -} - -static void G__cpp_setup_func5() { -} - -static void G__cpp_setup_func6() { -} - -static void G__cpp_setup_func7() { -} - -static void G__cpp_setup_func8() { -} - -static void G__cpp_setup_func9() { -} - -static void G__cpp_setup_func10() { -} - -static void G__cpp_setup_func11() { -} - -static void G__cpp_setup_func12() { -} - -static void G__cpp_setup_func13() { -} - -static void G__cpp_setup_func14() { -} - -static void G__cpp_setup_func15() { -} - -static void G__cpp_setup_func16() { -} - -static void G__cpp_setup_func17() { -} - -static void G__cpp_setup_func18() { - - G__resetifuncposition(); -} - -extern "C" void G__cpp_setup_funcAculDataCint() { - G__cpp_setup_func0(); - G__cpp_setup_func1(); - G__cpp_setup_func2(); - G__cpp_setup_func3(); - G__cpp_setup_func4(); - G__cpp_setup_func5(); - G__cpp_setup_func6(); - G__cpp_setup_func7(); - G__cpp_setup_func8(); - G__cpp_setup_func9(); - G__cpp_setup_func10(); - G__cpp_setup_func11(); - G__cpp_setup_func12(); - G__cpp_setup_func13(); - G__cpp_setup_func14(); - G__cpp_setup_func15(); - G__cpp_setup_func16(); - G__cpp_setup_func17(); - G__cpp_setup_func18(); -} - -/********************************************************* -* Class,struct,union,enum tag information setup -*********************************************************/ -/* Setup class/struct taginfo */ -G__linked_taginfo G__AculDataCintLN_TClass = { "TClass" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TBuffer = { "TBuffer" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMemberInspector = { "TMemberInspector" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TObject = { "TObject" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_string = { "string" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR = { "vector >" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_reverse_iteratorlEvectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgRcLcLiteratorgR = { "reverse_iterator >::iterator>" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TObjArray = { "TObjArray" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR = { "vector >" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_reverse_iteratorlEvectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgRcLcLiteratorgR = { "reverse_iterator >::iterator>" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR = { "iterator" , 115 , -1 }; -G__linked_taginfo G__AculDataCintLN_TFile = { "TFile" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR = { "map,allocator > >" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TH1 = { "TH1" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TVectorTlEfloatgR = { "TVectorT" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TVectorTlEdoublegR = { "TVectorT" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTBaselEfloatgR = { "TMatrixTBase" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTBaselEdoublegR = { "TMatrixTBase" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TCanvas = { "TCanvas" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_THStack = { "THStack" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_AculCalibration = { "AculCalibration" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TElementActionTlEfloatgR = { "TElementActionT" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TElementPosActionTlEfloatgR = { "TElementPosActionT" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTlEfloatgR = { "TMatrixT" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTRow_constlEfloatgR = { "TMatrixTRow_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTRowlEfloatgR = { "TMatrixTRow" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTDiag_constlEfloatgR = { "TMatrixTDiag_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTColumn_constlEfloatgR = { "TMatrixTColumn_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTFlat_constlEfloatgR = { "TMatrixTFlat_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTSub_constlEfloatgR = { "TMatrixTSub_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTSparseRow_constlEfloatgR = { "TMatrixTSparseRow_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTSparseDiag_constlEfloatgR = { "TMatrixTSparseDiag_const" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTColumnlEfloatgR = { "TMatrixTColumn" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTDiaglEfloatgR = { "TMatrixTDiag" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTFlatlEfloatgR = { "TMatrixTFlat" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTSublEfloatgR = { "TMatrixTSub" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTSparseRowlEfloatgR = { "TMatrixTSparseRow" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_TMatrixTSparseDiaglEfloatgR = { "TMatrixTSparseDiag" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_ConfigDictionary = { "ConfigDictionary" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR = { "map,allocator > >" , 99 , -1 }; -G__linked_taginfo G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator = { "map,allocator > >::iterator" , 99 , -1 }; - -/* Reset class/struct taginfo */ -extern "C" void G__cpp_reset_tagtableAculDataCint() { - G__AculDataCintLN_TClass.tagnum = -1 ; - G__AculDataCintLN_TBuffer.tagnum = -1 ; - G__AculDataCintLN_TMemberInspector.tagnum = -1 ; - G__AculDataCintLN_TObject.tagnum = -1 ; - G__AculDataCintLN_string.tagnum = -1 ; - G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR.tagnum = -1 ; - G__AculDataCintLN_reverse_iteratorlEvectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgRcLcLiteratorgR.tagnum = -1 ; - G__AculDataCintLN_TObjArray.tagnum = -1 ; - G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR.tagnum = -1 ; - G__AculDataCintLN_reverse_iteratorlEvectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgRcLcLiteratorgR.tagnum = -1 ; - G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR.tagnum = -1 ; - G__AculDataCintLN_TFile.tagnum = -1 ; - G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR.tagnum = -1 ; - G__AculDataCintLN_TH1.tagnum = -1 ; - G__AculDataCintLN_TVectorTlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TVectorTlEdoublegR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTBaselEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTBaselEdoublegR.tagnum = -1 ; - G__AculDataCintLN_TCanvas.tagnum = -1 ; - G__AculDataCintLN_THStack.tagnum = -1 ; - G__AculDataCintLN_AculCalibration.tagnum = -1 ; - G__AculDataCintLN_TElementActionTlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TElementPosActionTlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTRow_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTRowlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTDiag_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTColumn_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTFlat_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTSub_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTSparseRow_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTSparseDiag_constlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTColumnlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTDiaglEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTFlatlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTSublEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTSparseRowlEfloatgR.tagnum = -1 ; - G__AculDataCintLN_TMatrixTSparseDiaglEfloatgR.tagnum = -1 ; - G__AculDataCintLN_ConfigDictionary.tagnum = -1 ; - G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR.tagnum = -1 ; - G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator.tagnum = -1 ; -} - - -extern "C" void G__cpp_setup_tagtableAculDataCint() { - - /* Setting up class,struct,union tag entry */ - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TClass); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TBuffer); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMemberInspector); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TObject); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_string); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_reverse_iteratorlEvectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgRcLcLiteratorgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TObjArray); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_reverse_iteratorlEvectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgRcLcLiteratorgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TFile); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TH1); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TVectorTlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TVectorTlEdoublegR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTBaselEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTBaselEdoublegR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TCanvas); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_THStack); - G__tagtable_setup(G__get_linked_tagnum_fwd(&G__AculDataCintLN_AculCalibration),sizeof(AculCalibration),-1,62720,(char*)NULL,G__setup_memvarAculCalibration,G__setup_memfuncAculCalibration); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TElementActionTlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TElementPosActionTlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTRow_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTRowlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTDiag_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTColumn_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTFlat_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTSub_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTSparseRow_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTSparseDiag_constlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTColumnlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTDiaglEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTFlatlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTSublEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTSparseRowlEfloatgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_TMatrixTSparseDiaglEfloatgR); - G__tagtable_setup(G__get_linked_tagnum_fwd(&G__AculDataCintLN_ConfigDictionary),sizeof(ConfigDictionary),-1,34048,(char*)NULL,G__setup_memvarConfigDictionary,G__setup_memfuncConfigDictionary); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR); - G__get_linked_tagnum_fwd(&G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator); -} -extern "C" void G__cpp_setupAculDataCint(void) { - G__check_setup_version(30051515,"G__cpp_setupAculDataCint()"); - G__set_cpp_environmentAculDataCint(); - G__cpp_setup_tagtableAculDataCint(); - - G__cpp_setup_inheritanceAculDataCint(); - - G__cpp_setup_typetableAculDataCint(); - - G__cpp_setup_memvarAculDataCint(); - - G__cpp_setup_memfuncAculDataCint(); - G__cpp_setup_globalAculDataCint(); - G__cpp_setup_funcAculDataCint(); - - if(0==G__getsizep2memfunc()) G__get_sizep2memfuncAculDataCint(); - return; -} -class G__cpp_setup_initAculDataCint { - public: - G__cpp_setup_initAculDataCint() { G__add_setup_func("AculDataCint",(G__incsetup)(&G__cpp_setupAculDataCint)); G__call_setup_funcs(); } - ~G__cpp_setup_initAculDataCint() { G__remove_setup_func("AculDataCint"); } -}; -G__cpp_setup_initAculDataCint G__cpp_setup_initializerAculDataCint; - diff --git a/AculData/AculDataCint.h b/AculData/AculDataCint.h deleted file mode 100644 index 260d2a1..0000000 --- a/AculData/AculDataCint.h +++ /dev/null @@ -1,85 +0,0 @@ -/******************************************************************** -* /home/dariak/Utilities/AculData/AculDataCint.h -* CAUTION: DON'T CHANGE THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED -* FROM HEADER FILES LISTED IN G__setup_cpp_environmentXXX(). -* CHANGE THOSE HEADER FILES AND REGENERATE THIS FILE. -********************************************************************/ -#ifdef __CINT__ -#error /home/dariak/Utilities/AculData/AculDataCint.h/C is only for compilation. Abort cint. -#endif -#include -#include -#include -#include -#include -#define G__ANSIHEADER -#define G__DICTIONARY -#define G__PRIVATE_GVALUE -#include "G__ci.h" -#include "FastAllocString.h" -extern "C" { -extern void G__cpp_setup_tagtableAculDataCint(); -extern void G__cpp_setup_inheritanceAculDataCint(); -extern void G__cpp_setup_typetableAculDataCint(); -extern void G__cpp_setup_memvarAculDataCint(); -extern void G__cpp_setup_globalAculDataCint(); -extern void G__cpp_setup_memfuncAculDataCint(); -extern void G__cpp_setup_funcAculDataCint(); -extern void G__set_cpp_environmentAculDataCint(); -} - - -#include "TObject.h" -#include "TMemberInspector.h" -#include "/home/dariak/Utilities/AculData/AculCalibration.h" -#include "/home/dariak/Utilities/AculData/ConfigDictionary.h" -#include -namespace std { } -using namespace std; - -#ifndef G__MEMFUNCBODY -#endif - -extern G__linked_taginfo G__AculDataCintLN_TClass; -extern G__linked_taginfo G__AculDataCintLN_TBuffer; -extern G__linked_taginfo G__AculDataCintLN_TMemberInspector; -extern G__linked_taginfo G__AculDataCintLN_TObject; -extern G__linked_taginfo G__AculDataCintLN_string; -extern G__linked_taginfo G__AculDataCintLN_vectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgR; -extern G__linked_taginfo G__AculDataCintLN_reverse_iteratorlEvectorlEROOTcLcLTSchemaHelpercOallocatorlEROOTcLcLTSchemaHelpergRsPgRcLcLiteratorgR; -extern G__linked_taginfo G__AculDataCintLN_TObjArray; -extern G__linked_taginfo G__AculDataCintLN_vectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgR; -extern G__linked_taginfo G__AculDataCintLN_reverse_iteratorlEvectorlETVirtualArraymUcOallocatorlETVirtualArraymUgRsPgRcLcLiteratorgR; -extern G__linked_taginfo G__AculDataCintLN_iteratorlEbidirectional_iterator_tagcOTObjectmUcOlongcOconstsPTObjectmUmUcOconstsPTObjectmUaNgR; -extern G__linked_taginfo G__AculDataCintLN_TFile; -extern G__linked_taginfo G__AculDataCintLN_maplEstringcOTObjArraymUcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOTObjArraymUgRsPgRsPgR; -extern G__linked_taginfo G__AculDataCintLN_TH1; -extern G__linked_taginfo G__AculDataCintLN_TVectorTlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TVectorTlEdoublegR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTBaselEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTBaselEdoublegR; -extern G__linked_taginfo G__AculDataCintLN_TCanvas; -extern G__linked_taginfo G__AculDataCintLN_THStack; -extern G__linked_taginfo G__AculDataCintLN_AculCalibration; -extern G__linked_taginfo G__AculDataCintLN_TElementActionTlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TElementPosActionTlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTRow_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTRowlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTDiag_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTColumn_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTFlat_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTSub_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTSparseRow_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTSparseDiag_constlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTColumnlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTDiaglEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTFlatlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTSublEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTSparseRowlEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_TMatrixTSparseDiaglEfloatgR; -extern G__linked_taginfo G__AculDataCintLN_ConfigDictionary; -extern G__linked_taginfo G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgR; -extern G__linked_taginfo G__AculDataCintLN_maplEstringcOstringcOlesslEstringgRcOallocatorlEpairlEconstsPstringcOstringgRsPgRsPgRcLcLiterator; - -/* STUB derived class for protected member access */ diff --git a/TELoss/ELOSS.f90 b/TELoss/ELOSS.f90 new file mode 100755 index 0000000..cb03485 --- /dev/null +++ b/TELoss/ELOSS.f90 @@ -0,0 +1,323 @@ +!====================================================================== +!== Energy loss in material +!== +!== File: ELOSS.f90 +!== Date: 08/12/2000 +!====================================================================== +! ELOSS.f90 +! +! FUNCTIONS/SUBROUTINES exported from ELOSS.dll: +! ELOSS - subroutine +! +subroutine ELOSS(NEL,ZEL,AEL,WEL,DEN,ZP,AP,NE,ETAB,RE,ZW,AW) + + ! Expose subroutine ELOSS to users of this DLL + ! + !DEC$ ATTRIBUTES DLLEXPORT::ELOSS + + IMPLICIT REAL*8(A-H,O-Z) + INTERFACE + SUBROUTINE rde(E, R, R1, R2, IRE) + REAL*8 E, R, R1, R2 + INTEGER IRE + END SUBROUTINE rde + END INTERFACE + + ! Variables + + ! Input: + INTEGER NEL, NE + REAL*8 ZEL(NEL),AEL(NEL),WEL(NEL), DEN,ZP,AP, ETAB(NE) + + ! Output: + REAL*8 RE(NE),ZW,AW + + ! Local + COMMON adj(5),as(5),z(5),f(5),um(5),oz,ro,azm,aj,zion,aion,& + zmed,amed,jc + + ! Body of ELOSS + + zion = ZP + aion = AP + jc = NEL + ro = DEN + + !== two parameters with question + ire = 1 + oz = 1. + DO i = 1, NEL + as(i) = AEL(i) + z(i) = ZEL(i) + um(i) = WEL(i) + IF(z(i) .LE. 13.) THEN + adj(i) = 12.*z(i) + 7. + ELSE + adj(i) = 9.76*z(i) + 58.8 / z(i)**0.19 + END IF + END DO + + uma=0. + zam=0. + umed=0. + zme=0. + aj=0. + DO i = 1, jc + uma=uma+um(i)*as(i) + umed=umed+um(i) + zme=zme+um(i)*z(i) + END DO + + amed=uma/umed + zmed=zme/umed + + DO i = 1, jc + f(i)=um(i)*as(i)/uma + END DO + + DO i = 1, jc + zam=zam+f(i)*z(i)/as(i) + END DO + + azm=1./zam + aj=0. + + DO i = 1, jc + aj=aj+f(i)*z(i)*log(adj(i))/as(i) + END DO + + aj=aj*azm + aj=exp(aj) + ZW = zmed + AW = amed + + DO j = 1, NE + !== result [mg/cm^2] + CALL rde(ETAB(j), RE(j), rel1, rel, ire) + END DO +end subroutine ELOSS + +SUBROUTINE rde(e,range,rel1,rel,ix) + IMPLICIT REAL*8(A-H,O-Z) + + INTERFACE + REAL*8 FUNCTION c(x) + REAL*8 x + END FUNCTION c + + REAL*8 FUNCTION c1(x) + REAL*8 x + END FUNCTION c1 + END INTERFACE + + + +! calculates range and de/dx for compounds + dimension ala(3),ala1(3) + dimension a(3,3),a1(4,4),a2(4,4),b(2,3),cc(5) + common adj(5),as(5),z(5),f(5),um(5),oz,ro,azm,aj,zion,aion,& + zmed,amed,jc + dimension alaj1(4),altau1(4) + + data a/ -.75265, .073736, .040556, 2.5398,-.312,.018664, & + -.24598, .11548, -.0099661/ + + data a1/-8.0155, 0.36916, -1.4307e-02, 3.4718e-03, & + 1.8371, -1.452e-02, -3.0142e-02, 2.3603e-03, & + 0.045233, -9.5873e-04, 7.1303e-03, -6.8538e-04, & + -5.9898e-03,-5.2315e-04, -3.3802e-04, 3.9405e-05/ + + data a2/-8.725, 0.8309, -0.13396, 0.012625, & + 1.8797, 0.11139, -0.064808, 0.0054043, & + 0.74192, -0.528805, 0.1264232, -0.00934142, & + 0.752005, -0.5558937, 0.12843119, -0.009306336/ + + data b/ 0.422377e-06, 3.858019e-09, 0.0304043e-06, -0.1667989e-09, & + -0.00038106e-06, 0.00157955e-09/ + + if(e.le.0.002)then + range=0. + rel1=0. + rel=0. + return + endif + +! this a flag + ibis=-1 + + en = e/aion + tau = en*1.008 + + altau = log(tau) + alaj = log(aj) + alaj1(1)= 1. + altau1(1)= 1. + DO kk = 2,4 + alaj1(kk)=alaj**(kk-1) + altau1(kk)=altau**(kk-1) + END DO + t = tau/938.256 + tt = 2.*t + t*t + beta= sqrt(tt)/(1.+t) + + + s1=0. + DO i=1,4 + DO j=1,4 + s1 = s1 + a2(j,i)*alaj1(j)*altau1(i) + END DO + END DO + + ala(1) = azm*exp(s1) + + s2=0. + DO i=2,4 + DO j=1,4 + s2 = s2 + (i-1)*a2(j,i)*alaj1(j)*altau1(i-1) + END DO + END DO + ala1(1)=ala(1)*s2/tau + + s1=0. + DO i=1,4 + DO j=1,4 + s1 = s1 + a1(j,i)*alaj1(j)*altau1(i) + END DO + END DO + + ala(3) = azm*exp(s1) + + s2=0. + DO i=2,4 + DO j=1,4 + s2 = s2 + (i-1)*a1(j,i)*alaj1(j)*altau1(i-1) + END DO + END DO + ala1(3)=ala(3)*s2/tau + + s1=0. + DO i=1,3 + DO j=1,3 + s1 = s1 + a(j,i)*alaj1(j)*altau1(i) + END DO + END DO + ala(2)=azm*exp(s1)/1000. + + s2=0. + DO i=2,3 + DO j=1,3 + s2 = s2 + (i-1)*a(j,i)*alaj1(j)*altau1(i-1) + END DO + END DO + ala1(2)=ala(2)*s2/tau + +25 continue + coefa=3. + coefb=1. + + alaa=(ala(1)*(tanh(coefa*(.98 - en))+1.)/2. & + + ala(2)*(tanh(coefa*(en - .98))+1.)/2.) & + * (tanh(coefb*(8.0 - en))+1.)/2. & + + ala(3)*(tanh(coefb*(en - 8.))+1.)/2. + + + alim1=0. + alim2=0. + if(coefa*(en-.98).lt.85)then + alim1=1.008/cosh(coefa*(.98-en))/cosh(coefa*(.98-en)) + endif + if(coefb*(en-8.).lt.85)then + alim2=1.008/cosh(coefb*(8.-en))/cosh(coefb*(8.-en)) + endif + + alaa1=(ala1(1)*(tanh(coefa*(.98-en))+1.)/2.+ & + ala1(2)*(tanh(coefa*(en-.98))+1.)/2.)* & + (tanh(coefb*(8.-en))+1.)/2.+ & + ala1(3)*(tanh(coefb*(en-8.))+1.)/2.+ & + coefa/2.*(tanh(coefb*(8.-en))+1.)/2.* & + (ala(2)*alim1-ala(1)*alim1)+ & + coefb/2.*(ala(3)*alim2- & + (ala(1)*(tanh(coefa*(.98-en))+1.)/2.+ & + ala(2)*(tanh(coefa*(en-.98))+1.)/2.)*alim2) + + + hi=137.*beta/zion + bz=(31.8+3.86*(aj**.625))*azm*.000001 + bz=bz*(zion**2.666667)*c(hi) + bz1=(4.357+.5288*(aj**.625))*azm*.001 + bz1=bz1*(zion**1.666667)*c1(hi) + bep=beta*beta + rel1=zion*zion/(alaa1+bz1*((1.-bep)**1.5)/931.141/beta) + rel1=rel1/1000. + range=(alaa+bz)*aion/1.008/zion/zion + range=range*1000. + +! Atention!! this version do not work correctly for ix.ne.1 + if(ix.ne.1)return + ank=.153574*ro/azm + z23=zion**.666667 + abet=beta*125./z23 + zef=zion*(1.-exp(-abet)) + zef2=zef*zef + om=1022000.*bep/(1.-bep) + cbet=0. + DO k=1,jc + cc(k)=0. + DO i=1,2 + DO j=1,3 + cc(k)=cc(k)+b(i,j)*((1./bep-1.)**j)*((adj(k)**(i+1))) + END DO + END DO + cbet=cbet+f(k)*cc(k)/as(k) + END DO + cbet=cbet*azm + del1=ank*zef2*(log(om/oz)-bep)/bep + del1=del1/ro + del2=2.*ank*zef2*(log(oz/aj)-cbet)/bep + del2=del2/ro + rel2=rel1-del1 + rel3=rel1-rel2+del2 + if(del1)8,8,9 +8 rel=rel1 + goto 12 +9 if(del1+del2-rel2)10,10,11 +10 rel=rel3 + goto 12 +11 if(del1.lt.rel1)then + rel=rel2 + else + rel=rel1 + endif +12 return + END + + + REAL*8 FUNCTION c(x) + REAL*8 x + IF(x .LE. 0.2) THEN + c = -0.00006 + (0.05252 + 0.12857*x)*x + ELSE IF(x .LE. 2.) THEN + c = -0.00185 + (0.07355 + (0.07172 - 0.02723*x)*x)*x + ELSE IF(x .LE. 3.) THEN + c = -0.0793 + (0.3323 - (0.1234 - 0.0153*x)*x)*x + ELSE + c = 0.22 + END IF + END + + REAL*8 FUNCTION c1(x) + REAL*8 x + + IF(x .LE. 0.2) THEN + c1 = 0.05252+.25714*x + ELSE IF(x .LE. 2.0) THEN + c1 = 0.07355 + (0.14344 - 0.08169*x)*x + ELSE IF(x .LE. 3.0) THEN + c1 = 0.3323 - (0.2468 - 0.0459*x)*x + ELSE + c1 = 0. + END IF + + END + + diff --git a/TELoss/TELoss.cpp b/TELoss/TELoss.cpp new file mode 100755 index 0000000..6f96265 --- /dev/null +++ b/TELoss/TELoss.cpp @@ -0,0 +1,450 @@ +#include "TELoss.h" + +ClassImp(TELoss) + +extern "C" void eloss_(int *nel, double *zel, double *ael, double *wel, double *den + ,double *zp, double *ap, int *ne, double *etab, double *rtab + ,double *zw, double *aw); + + +//extern "C" __declspec( dllimport ) void _stdcall +// ELOSS(int *nel, double *zel, double *ael, double *wel, double *den +// ,double *zp, double *ap, int *ne, double *etab, double *rtab +// ,double *zw, double *aw); + +TELoss::TELoss(void) +{ + ne = 0; + mel = 0; +} //----------------------------------------------------------------- + +TELoss::TELoss(int _mel, double _den) +{ + ne = 0; + mel = 0; + SetEL(_mel,_den); +} //----------------------------------------------------------------- + +TELoss::~TELoss(void) +{ + //if(RE) delete RE; + //if(ER) delete ER; +} //----------------------------------------------------------------- + +void TELoss::SetEL(int _mel, double _den) +{ + den = _den; + if(_mel != mel) + { + mel = _mel; + zel.Set(mel); + ael.Set(mel); + wel.Set(mel); + } + nel = 0; +} //----------------------------------------------------------------- + +int TELoss::AddEL(double _zel, double _ael, double _wel) +{ + //=============================================================== + //== Add one element + //=============================================================== + + if(nel >= mel) return -1; + + zel[nel] = _zel; + ael[nel] = _ael; + wel[nel] = _wel; + return ++nel; +} //----------------------------------------------------------------- + +void TELoss::SetZP(double _zp, double _ap) +{ + zp = _zp; + ap = _ap; +} //----------------------------------------------------------------- + +void TELoss::SetEtab(int _ne, double e2) +{ + //=============================================================== + //== Set list of energies and calculate R(E) + //=============================================================== + + int i; + double e1 = 0.; + double es; + double coef = 10. / den; //== convertion mg/cm^2 -> micron + + if(_ne != ne) + { + ne = _ne; //asi pocet elementu + etab.Set(ne); + rtab.Set(ne); + } + + if ( ((e2-e1)/(static_cast(ne))) > 0.01) { Warning("SetEtab", "Table resolution can be too low for some cases."); } + + es = (e2 - e1) / (double)(ne-1); //energeticky skok v tabulce + for(i = 0; i < ne; ++i) + { + etab[i] = e1; + e1 += es; + } + + eloss_(&nel, zel.GetArray(), ael.GetArray(), wel.GetArray(), &den + ,&zp, &ap + ,&ne, etab.GetArray(), rtab.GetArray(), &zw, &aw); + + for(i = 0; i < ne; ++i) rtab[i] = coef * rtab[i]; + + //if(RE) delete RE; + //if(ER) delete ER; + + //RE = new TSpline3("RE",etab.GetArray(),rtab.GetArray(),ne); + //ER = new TSpline3("ER",rtab.GetArray(),etab.GetArray(),ne); +} //----------------------------------------------------------------- + +void TELoss::SetDeltaEtab(double r) +{ + //=============================================================== + //== Calculate and set list of dE(E) + //=============================================================== + + int i; +// double es; + //double coef = 10. / den; //== convertion mg/cm^2 -> micron + + if(ne == 0) { + Warning("SetDeltaEtab", "Etab was not initialized yet"); + return; + } + + detab.Set(ne); + +// if ( ((e2-e1)/(static_cast(ne))) > 0.01) { Warning("SetEtab", "Table resolution can be too low for some cases."); } + +// es = (e2 - e1) / (double)(ne-1); //energeticky skok v tabulce + for(i = 0; i < ne; ++i) + { + if ( GetE(etab[i], r) != 0. ) { + detab[i] = etab[i] - GetE(etab[i], r); +// e1 += es; + } + else { detab[i] = 0.; } + } + +// eloss_(&nel, zel.GetArray(), ael.GetArray(), wel.GetArray(), &den +// ,&zp, &ap +// ,&ne, etab.GetArray(), rtab.GetArray(), &zw, &aw); +// +// for(i = 0; i < ne; ++i) rtab[i] = coef * rtab[i]; + + return; +} + +double TELoss::GetR(double e0,double e) +{ + //================================================================== + //== Calculate new energy using linear interpolation + //================================================================== + + //double r0 = RE->Eval(e0); + //return ER->Eval(r0 - r); + + double r0 = linear(ne, etab.GetArray(), rtab.GetArray(), e0); + double r = linear(ne, etab.GetArray(), rtab.GetArray(), e); +// return aitken3(ne, rtab.GetArray(), etab.GetArray(), r0-r); + return r0 - r; + +} //-------------------------------------------------------------------- + + +double TELoss::GetRold(double e0,double e) +{ + //================================================================== + //== Calculate new energy + //================================================================== + + //double r0 = RE->Eval(e0); + //return ER->Eval(r0 - r); + + double r0 = aitken3(ne, etab.GetArray(), rtab.GetArray(), e0); + double r = aitken3(ne, etab.GetArray(), rtab.GetArray(), e); +// return aitken3(ne, rtab.GetArray(), etab.GetArray(), r0-r); + return r0 - r; + +} //-------------------------------------------------------------------- + + +double TELoss::GetE(double e0,double r) +{ + //================================================================== + //== Calculate new energy using linear interpolation + //================================================================== + +// Double_t r0 = ylinear(ne, e0); + Double_t r0 = linear(ne, etab.GetArray(), rtab.GetArray(), e0); + if (r0 < r) { return 0; } + + return linear(ne, rtab.GetArray(), etab.GetArray(), r0-r); +} //-------------------------------------------------------------------- + +double TELoss::GetE0dE(double de, double r) +{ + //================================================================== + //== Calculate new energy from deltaE using linear interpolation + //================================================================== + + SetDeltaEtab(r); //problem s interpolaci + + if ( de > TMath::MaxElement(ne, detab.GetArray()) ) { return -1; } + + int i0 = 0; + while ( detab[i0] == 0 ) { + i0++; + } + + //vypis +// cout << "i0 = \t" << i0 << "\tdetab[i0] = \t" << detab[i0] << "\tetab[i0] = \t" << etab[i0] << endl; + + int i1 = ne-1; + int ix; + while(i0 < i1 - 1) + { + ix = (i0 + i1) / 2; + if ( de > detab[ix] ) i1 = ix; + else i0 = ix; + } + + +// if (r0 < r) { return 0; } +// cout << "r0 =\t\t" << r0 << endl; +// cout << "r0-r =\t\t" << r0-r << endl; +// cout << "E(r0-r) =\t\t" << xlinear(ne, r0-r) << endl; +// cout << "E(r0-r) =\t\t" << linear(ne, rtab.GetArray(), etab.GetArray(), r0-r) << endl; + return linear(ne, detab.GetArray(), etab.GetArray(), i0, de); +} //-------------------------------------------------------------------- + +double TELoss::GetE0dE(double de) +{ + if ( de > TMath::MaxElement(ne, detab.GetArray()) ) { return -1; } + + int i0 = 0; + while ( detab[i0] == 0 ) { + i0++; + } + +// cout << "detab[i0] je " << detab[i0] << endl; + + int i1 = ne-1; + int ix; + while(i0 < i1 - 1) + { + ix = (i0 + i1) / 2; + if ( de > detab[ix] ) i1 = ix; + else i0 = ix; + } + +// cout << "detab[i0] je " << detab[i0] << endl +// << "detab[i1] je " << detab[i1] << endl; + +// if (r0 < r) { return 0; } +// cout << "r0 =\t\t" << r0 << endl; +// cout << "r0-r =\t\t" << r0-r << endl; +// cout << "E(r0-r) =\t\t" << xlinear(ne, r0-r) << endl; +// cout << "E(r0-r) =\t\t" << linear(ne, rtab.GetArray(), etab.GetArray(), r0-r) << endl; + return linear(ne, detab.GetArray(), etab.GetArray(), i0, de); + + //return linear(ne, detab.GetArray(), etab.GetArray(), de); +} + +double TELoss::GetEold(double e0,double r) +{ + //================================================================== + //== Calculate new energy using aitken interpolation + //================================================================== + + //double r0 = RE->Eval(e0); + //return ER->Eval(r0 - r); + + double r0 = aitken3(ne, etab.GetArray(), rtab.GetArray(), e0); + return aitken3(ne, rtab.GetArray(), etab.GetArray(), r0-r); +} //-------------------------------------------------------------------- + +double TELoss::GetE0(double e0,double r) +{ + //================================================================== + //== Calculate new energy using linear interpolation + //================================================================== + + Double_t r0 = linear(ne, etab.GetArray(), rtab.GetArray(), e0); + return linear(ne, rtab.GetArray(), etab.GetArray(), r0+r); +} //-------------------------------------------------------------------- + +double TELoss::GetE0old(double e,double r) +{ + //================================================================== + //== Calculate new energy + //================================================================== + + //double r0 = RE->Eval(e); + //return ER->Eval(r0 + r); + + double r0 = aitken3(ne, etab.GetArray(), rtab.GetArray(), e); + return aitken3(ne,rtab.GetArray(),etab.GetArray(),r0+r); +} //----------------------------------------------------------------- + +void TELoss::PrintRE() +{ + int i; + for(i = 0; i < ne; ++i) + { + printf("%10.2lf %10.3lf\n",etab[i],rtab[i]); + } +} //----------------------------------------------------------------- + +void TELoss::PrintdEE() +{ + int i; + for(i = 0; i < ne; ++i) + { + printf("%10.3lf %10.3lf\n",etab[i],detab[i]); + } +} //----------------------------------------------------------------- + +void TELoss::PrintREtoFile() +{ + FILE *fw; + fw = fopen("outputRE.txt", "w"); + + int i; + for(i = 0; i < ne; ++i) + { + fprintf(fw, "%10.2lf \t%10.3lf\n",etab[i],rtab[i]); + } + + fclose(fw); +} + +void TELoss::PrintdEEtoFile(const char* outfile) +{ + FILE *fw; + fw = fopen(outfile, "w"); + + int i; + for(i = 0; i < ne; ++i) + { + fprintf(fw, "%10.3lf \t%10.3lf\n",etab[i],detab[i]); + } + + fclose(fw); +} + +double TELoss::aitken3(int ntab, double *xtab, double *ytab, double x) +{ + //==================================================================== + //== Interpolation by 4 points + //==================================================================== + +// int ndeg = 4; + double y[4]; + + int i0,i; + + i0 = bsearch(ntab,xtab,x) - 1; + if(i0 < 0) i0 = 0; + else if(i0 + 3 >= ntab) i0 = ntab - 4; + for(i = 0; i < 4; ++i) y[i] = ytab[i0 +i]; + + + return aitken(3,xtab+i0,y,x); +} //----------------------------------------------------------------- + +int TELoss::bsearch(int ntab, double *xtab, double x) +{ + int i0 = 0; + int i1 = ntab; + int ix; + while(i0 < i1 - 1) + { + ix = (i0 + i1) / 2; + if(x < xtab[ix]) i1 = ix; + else i0 = ix; + } + return i0; +} //----------------------------------------------------------------- + +double TELoss::aitken(int ntab, double *xtab, double *ytab, double x) +{ + int i,j; + for(j = 0; j < ntab; ++j) + { + for(i = j+1; i <= ntab; ++i) + { + ytab[i] = ((x - xtab[j])*ytab[i] - (x - xtab[i])*ytab[j]) + /(xtab[i] - xtab[j]); + } + } + return ytab[ntab]; +} //----------------------------------------------------------------- + +Double_t TELoss::linear(int ntab, Double_t *xtab, Double_t *ytab, double x) +{ + Double_t y; + Double_t a = 0; + Double_t b = 0; + + int i0 = 0; + + i0 = bsearch(ntab, xtab, x) - 1; + if (i0 < 0) { i0 = 0; } + else { + if ( i0+2 >= ntab ) { i0 = i0 - 1; } + } + +// cout << "xtab[i0] = \t" << xtab[i0] << "\txtab[i0+2] = \t" << xtab[i0+2] << endl; +// cout << "ytab[i0] = \t" << ytab[i0] << "\tytab[i0+2] = \t" << ytab[i0+2] << endl; + + a = ( ytab[i0] - ytab[i0+2] )/( xtab[i0] - xtab[i0+2] ); + b = ( ytab[i0+2]*xtab[i0] - ytab[i0]*xtab[i0+2] )/( xtab[i0] - xtab[i0+2] ); + + Double_t lerror = TMath::Abs(( (1/a)*ytab[i0+1] - (b/a) ) - xtab[i0+1]); + if (lerror > 0.01) { + Warning("linear", "Linear interpolation does not give sufficient precision: %f", lerror); + cout << "xtab[i0+1] \t" << xtab[i0+1] << "\tytab[i0+1] \t" << ytab[i0+1] << endl; + } + + y = a*x + b; + + return y; +} + +Double_t TELoss::linear(int ntab, Double_t *xtab, Double_t *ytab, Int_t i0, double x) +{ + Double_t y; + Double_t a = 0; + Double_t b = 0; + + //int i0 = 0; + + //i0 = bsearch(ntab, xtab, x) - 1; + if (i0 < 0) { i0 = 0; } + else { + if ( i0+2 >= ntab ) { i0 = i0 - 1; } + } + +// cout << "xtab[i0] = \t" << xtab[i0] << "\txtab[i0+2] = \t" << xtab[i0+2] << endl; +// cout << "ytab[i0] = \t" << ytab[i0] << "\tytab[i0+2] = \t" << ytab[i0+2] << endl; + + a = ( ytab[i0] - ytab[i0+2] )/( xtab[i0] - xtab[i0+2] ); + b = ( ytab[i0+2]*xtab[i0] - ytab[i0]*xtab[i0+2] )/( xtab[i0] - xtab[i0+2] ); + + Double_t lerror = TMath::Abs(( (1/a)*ytab[i0+1] - (b/a) ) - xtab[i0+1]); + if (lerror > 0.001) { Warning("linear_ext", "Linear interpolation does not give sufficient precision: %f", lerror); } + +// cout << "a je " << a << "\tb je " << b << endl; + + y = a*x + b; + + return y; +} diff --git a/TELoss/TELoss.h b/TELoss/TELoss.h new file mode 100755 index 0000000..80a42df --- /dev/null +++ b/TELoss/TELoss.h @@ -0,0 +1,60 @@ +#pragma once +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +using std::cout; +using std::endl; + +class TELoss : public TObject +{ +private: + int mel; + int nel; + TArrayD zel, ael, wel; + double den; + double zp,ap; + int ne; + TArrayD etab, rtab, detab; //tables: energy, range, deltaE +// TArrayD vtab; + double zw,aw; + double a, b; //linear interpolation coeficients, y = a*x + b + int bsearch(int ntab, double *xtab, double x); + double aitken(int ntab, double *xtab, double *ytab, double x); + double aitken3(int ntab, double *xtab, double *ytab, double x); + Double_t linear(int ntab, Double_t *xtab, Double_t *ytab, double x); + Double_t linear(int ntab, Double_t *xtab, Double_t *ytab, Int_t i0, double x); + +public: + TELoss(void); + TELoss(int _mel, double _den); + virtual ~TELoss(void); + void SetEL(int _mel, double _den); + void SetDen(double _den) {den = _den;} + int AddEL(double _zel, double _ael, double _wel=1.); + void SetZP(double _zp, double _ap); + void SetEtab(int _ne, double e2); //from 0 MeV to e2 MeV, _ne elements + void SetDeltaEtab(double r); //pro kazdou tlostku bude zvlastni tabulka, nebo taky ne + double GetZ() { return zp; }; + double GetA() { return ap; }; + double GetE(double e0, double r); + double GetE0dE(double de, double r); //de in MeV, r in microns + double GetE0dE(double de); //de in MeV + double GetE0(double e, double r); + double GetEold(double e0, double r); + double GetE0old(double e, double r); + double GetR(double e0, double e); + double GetRold(double e0, double e); + void PrintRE(); + void PrintdEE(); + void PrintREtoFile(); + void PrintdEEtoFile(const char* outfile = "outputdEE.txt"); + ClassDef(TELoss, 1) +}; diff --git a/TELoss/TELoss.mk b/TELoss/TELoss.mk new file mode 100755 index 0000000..78b7f09 --- /dev/null +++ b/TELoss/TELoss.mk @@ -0,0 +1,20 @@ +################################################################################ +# TELoss input with some variables +################################################################################ + +TELOSSLIBS := -lCore -lCint -lMathCore -lMatrix -lHist -lgfortran + +# Add inputs and outputs from these tool invocations to the build variables + +TELOSSCPP_SRCS += \ +$(TELOSS)/TELoss.cpp \ +$(TELOSS)/TELossCint.cpp + +TELOSSOBJS += \ +$(TELOSS)/ELOSS.o \ +$(TELOSS)/TELoss.o \ +$(TELOSS)/TELossCint.o + +TELOSSCPP_DEPS += \ +$(TELOSS)/TELoss.d \ +$(TELOSS)/TELossCint.d diff --git a/TELoss/linkdef.h b/TELoss/linkdef.h new file mode 100755 index 0000000..b5518a3 --- /dev/null +++ b/TELoss/linkdef.h @@ -0,0 +1,9 @@ +#ifdef __CINT__ +#pragma link off all globals; +#pragma link off all classes; +#pragma link off all functions; + +#pragma link C++ class TELoss; + + +#endif \ No newline at end of file -- 2.18.1