7.2.2011 Kamil Sedlak
1) Constant fraction discriminator added to the analysis of the optical photon signal. 2) Bug fixes in the optical photon simulation. 3) A few other small improvements.
This commit is contained in:
@ -80,7 +80,8 @@ class musrRootOutput {
|
||||
G4int idVolVertex, G4int idProcVertex, G4int idTrackVertex, G4int particleID) ;
|
||||
|
||||
void SetOPSAinfo (G4int nDetectors, G4int ID, G4int nPhot, G4double timeFirst, G4double timeA,
|
||||
G4double timeB, G4double timeC, G4double timeD, G4double timeE, G4double timeLast);
|
||||
G4double timeB, G4double timeC, G4double timeD, G4double timeE, G4double timeLast,
|
||||
G4double timeCFD, G4double amplCFD);
|
||||
|
||||
void SetSaveDetectorInfo (G4int ID, G4int particleID, G4double ke, G4double x, G4double y, G4double z, G4double time,
|
||||
G4double px, G4double py, G4double pz, G4double polx, G4double poly, G4double polz) ;
|
||||
@ -124,7 +125,7 @@ class musrRootOutput {
|
||||
else {G4cout<<"musrRootOutput.hh::StoreGeantParameter: index="<<i<<" out of range"
|
||||
<<" (maxNGeantParameters=" <<maxNGeantParameters<<")"<<G4endl;}
|
||||
};
|
||||
|
||||
void setRootOutputDirectoryName(char dirName[1000]);
|
||||
|
||||
TH2F *htest1, *htest2;
|
||||
TH1F *htest3, *htest4, *htest5, *htest6, *htest7, *htest8;
|
||||
@ -222,6 +223,8 @@ class musrRootOutput {
|
||||
static G4bool store_odet_timeD;
|
||||
static G4bool store_odet_timeE;
|
||||
static G4bool store_odet_timeLast;
|
||||
static G4bool store_odet_timeCFD;
|
||||
static G4bool store_odet_amplCFD;
|
||||
|
||||
static G4int oldEventNumberInG4EqEMFieldWithSpinFunction;
|
||||
|
||||
@ -230,6 +233,7 @@ class musrRootOutput {
|
||||
TTree* rootTree;
|
||||
static musrRootOutput* pointerToRoot;
|
||||
static const Int_t maxNGeantParameters=30;
|
||||
char rootOutputDirectoryName[1000];
|
||||
Double_t GeantParametersD[maxNGeantParameters]; // parameters transfered from GEANT to Root
|
||||
// 0 ... fieldOption: 0 ... no field, 1 ... uniform, 2 ... gaussian, 3 ... from table
|
||||
// 1 ... fieldValue: intensity of the magnetic field
|
||||
@ -327,6 +331,8 @@ class musrRootOutput {
|
||||
G4double odet_timeD[odet_nMax];
|
||||
G4double odet_timeE[odet_nMax];
|
||||
G4double odet_timeLast[odet_nMax];
|
||||
G4double odet_timeCFD[odet_nMax];
|
||||
G4double odet_amplCFD[odet_nMax];
|
||||
|
||||
public:
|
||||
static const Int_t save_nMax=1000;
|
||||
|
Reference in New Issue
Block a user