Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:12:35

0001 // Do NOT change. Changes will be lost next time file is generated
0002 
0003 #define R__DICTIONARY_FILENAME PairMaker_Dict
0004 #define R__NO_DEPRECATION
0005 
0006 /*******************************************************************/
0007 #include <stddef.h>
0008 #include <stdio.h>
0009 #include <stdlib.h>
0010 #include <string.h>
0011 #include <assert.h>
0012 #define G__DICTIONARY
0013 #include "RConfig.h"
0014 #include "TClass.h"
0015 #include "TDictAttributeMap.h"
0016 #include "TInterpreter.h"
0017 #include "TROOT.h"
0018 #include "TBuffer.h"
0019 #include "TMemberInspector.h"
0020 #include "TInterpreter.h"
0021 #include "TVirtualMutex.h"
0022 #include "TError.h"
0023 
0024 #ifndef G__ROOT
0025 #define G__ROOT
0026 #endif
0027 
0028 #include "RtypesImp.h"
0029 #include "TIsAProxy.h"
0030 #include "TFileMergeInfo.h"
0031 #include <algorithm>
0032 #include "TCollectionProxyInfo.h"
0033 /*******************************************************************/
0034 
0035 #include "TDataMember.h"
0036 
0037 // The generated code does not explicitly qualifies STL entities
0038 namespace std {} using namespace std;
0039 
0040 // Header files passed as explicit arguments
0041 #include "/sphenix/u/weihuma/analysis/EventMix/src/PairMaker.h"
0042 
0043 // Header files passed via #pragma extra_include
0044 
0045 namespace ROOT {
0046    static TClass *PairMaker_Dictionary();
0047    static void PairMaker_TClassManip(TClass*);
0048    static void *new_PairMaker(void *p = 0);
0049    static void *newArray_PairMaker(Long_t size, void *p);
0050    static void delete_PairMaker(void *p);
0051    static void deleteArray_PairMaker(void *p);
0052    static void destruct_PairMaker(void *p);
0053 
0054    // Function generating the singleton type initializer
0055    static TGenericClassInfo *GenerateInitInstanceLocal(const ::PairMaker*)
0056    {
0057       ::PairMaker *ptr = 0;
0058       static ::TVirtualIsAProxy* isa_proxy = new ::TIsAProxy(typeid(::PairMaker));
0059       static ::ROOT::TGenericClassInfo 
0060          instance("PairMaker", "", 20,
0061                   typeid(::PairMaker), ::ROOT::Internal::DefineBehavior(ptr, ptr),
0062                   &PairMaker_Dictionary, isa_proxy, 3,
0063                   sizeof(::PairMaker) );
0064       instance.SetNew(&new_PairMaker);
0065       instance.SetNewArray(&newArray_PairMaker);
0066       instance.SetDelete(&delete_PairMaker);
0067       instance.SetDeleteArray(&deleteArray_PairMaker);
0068       instance.SetDestructor(&destruct_PairMaker);
0069       return &instance;
0070    }
0071    TGenericClassInfo *GenerateInitInstance(const ::PairMaker*)
0072    {
0073       return GenerateInitInstanceLocal((::PairMaker*)0);
0074    }
0075    // Static variable to force the class initialization
0076    static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstanceLocal((const ::PairMaker*)0x0); R__UseDummy(_R__UNIQUE_DICT_(Init));
0077 
0078    // Dictionary for non-ClassDef classes
0079    static TClass *PairMaker_Dictionary() {
0080       TClass* theClass =::ROOT::GenerateInitInstanceLocal((const ::PairMaker*)0x0)->GetClass();
0081       PairMaker_TClassManip(theClass);
0082    return theClass;
0083    }
0084 
0085    static void PairMaker_TClassManip(TClass* ){
0086    }
0087 
0088 } // end of namespace ROOT
0089 
0090 namespace ROOT {
0091    // Wrappers around operator new
0092    static void *new_PairMaker(void *p) {
0093       return  p ? new(p) ::PairMaker : new ::PairMaker;
0094    }
0095    static void *newArray_PairMaker(Long_t nElements, void *p) {
0096       return p ? new(p) ::PairMaker[nElements] : new ::PairMaker[nElements];
0097    }
0098    // Wrapper around operator delete
0099    static void delete_PairMaker(void *p) {
0100       delete ((::PairMaker*)p);
0101    }
0102    static void deleteArray_PairMaker(void *p) {
0103       delete [] ((::PairMaker*)p);
0104    }
0105    static void destruct_PairMaker(void *p) {
0106       typedef ::PairMaker current_t;
0107       ((current_t*)p)->~current_t();
0108    }
0109 } // end of namespace ROOT for class ::PairMaker
0110 
0111 namespace {
0112   void TriggerDictionaryInitialization_PairMaker_Dict_Impl() {
0113     static const char* headers[] = {
0114 "0",
0115 0
0116     };
0117     static const char* includePaths[] = {
0118 0
0119     };
0120     static const char* fwdDeclCode = R"DICTFWDDCLS(
0121 #line 1 "PairMaker_Dict dictionary forward declarations' payload"
0122 #pragma clang diagnostic ignored "-Wkeyword-compat"
0123 #pragma clang diagnostic ignored "-Wignored-attributes"
0124 #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
0125 extern int __Cling_AutoLoading_Map;
0126 class PairMaker;
0127 )DICTFWDDCLS";
0128     static const char* payloadCode = R"DICTPAYLOAD(
0129 #line 1 "PairMaker_Dict dictionary payload"
0130 
0131 
0132 #define _BACKWARD_BACKWARD_WARNING_H
0133 // Inline headers
0134 
0135 #ifndef __PAIRMAKER_H__
0136 #define __PAIRMAKER_H__
0137 
0138 #include <fun4all/SubsysReco.h>
0139 
0140 #include "sPHElectronv1.h"
0141 
0142 #include <vector>
0143 
0144 class TFile;
0145 class TH1D;
0146 class TRandom;
0147 class SvtxTrack;
0148 class sPHElectronPairContainerv1;
0149 
0150 
0151 class PairMaker: public SubsysReco {
0152 
0153 public:
0154 
0155   PairMaker(const std::string &name = "PairMaker", const std::string &filename = "test.root");
0156   virtual ~PairMaker() {}
0157 
0158   int Init(PHCompositeNode *topNode);
0159   int InitRun(PHCompositeNode *topNode);
0160   int process_event(PHCompositeNode *topNode);
0161   int End(PHCompositeNode *topNode);
0162 
0163 protected:
0164 
0165   int process_event_test(PHCompositeNode *topNode);
0166   int MakeMixedPairs(std::vector<sPHElectronv1> elepos, sPHElectronPairContainerv1* eePairs, unsigned int centbin);
0167 
0168   bool isElectron(SvtxTrack*);
0169 
0170   std::string outnodename;
0171   static const int NZ = 2;
0172   static const int NCENT = 2;
0173   std::vector<sPHElectronv1> _buffer[NZ][NCENT];
0174   unsigned int _min_buffer_depth;
0175   unsigned int _max_buffer_depth;
0176   double _ZMAX;
0177   double _ZMIN;
0178   std::vector<double> _multbins;
0179 
0180   TRandom* _rng;
0181 
0182   int EventNumber;
0183 
0184 };
0185 
0186 #endif
0187 
0188 
0189 #undef  _BACKWARD_BACKWARD_WARNING_H
0190 )DICTPAYLOAD";
0191     static const char* classesHeaders[] = {
0192 "PairMaker", payloadCode, "@",
0193 nullptr
0194 };
0195     static bool isInitialized = false;
0196     if (!isInitialized) {
0197       TROOT::RegisterModule("PairMaker_Dict",
0198         headers, includePaths, payloadCode, fwdDeclCode,
0199         TriggerDictionaryInitialization_PairMaker_Dict_Impl, {}, classesHeaders, /*hasCxxModule*/false);
0200       isInitialized = true;
0201     }
0202   }
0203   static struct DictInit {
0204     DictInit() {
0205       TriggerDictionaryInitialization_PairMaker_Dict_Impl();
0206     }
0207   } __TheDictionaryInitializer;
0208 }
0209 void TriggerDictionaryInitialization_PairMaker_Dict() {
0210   TriggerDictionaryInitialization_PairMaker_Dict_Impl();
0211 }