/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitization.hh

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------//
00002 //      BOOST --- BESIII Object_Oreiented Simulation Tool                    //
00003 //---------------------------------------------------------------------------//
00004 //Descpirtion: EMC detector 
00005 //Author: Fu Chengdong
00006 //Created: Dec 15, 2003
00007 //Comment:
00008 //---------------------------------------------------------------------------//
00009 //
00010 #ifndef BesEmcDigitization_h
00011 #define BesEmcDigitization_h 1
00012 
00013 #include "globals.hh"
00014 
00015 class G4Event;
00016 class BesEmcDigitization
00017 {
00018 public:
00019   BesEmcDigitization();
00020   ~BesEmcDigitization();
00021 
00022 public:
00023   G4bool Digitize(const G4Event*, G4double);
00024   G4double GetEmcSignal(G4int, G4int);
00025   G4int GetNSignal(){return fNCrystalSignal;};//amount of crystals
00026                                               // which has signal 
00027   G4double* GetESignal(){return fEnergySignal;};
00028   G4int* GetNThetaSignal(){return fNThetaSignal;};
00029   G4int* GetNPhiSignal(){return fNPhiSignal;};
00030   void Print();
00031 
00032 private:          //memory size needed optimizing
00033   G4int            calorimeterCollID;
00034   G4int            fNHits;
00035   G4double         fTotECrystal;
00036   G4double         fTotLCrystal;
00037   G4double         fSingleECrystal[50][150];
00038   G4int            fNCrystalSignal;
00039   G4double         *fEnergySignal;
00040   G4int            *fNThetaSignal;
00041   G4int            *fNPhiSignal;
00042 
00043 };
00044 #endif

Generated on Tue Nov 29 23:14:25 2016 for BOSS_7.0.2 by  doxygen 1.4.7