20.5.2011 Kamil Sedlak
1) Implementation of variables odet_timeSecond and odep_timeThird (optical photons). Documentatin updated accordingly.
This commit is contained in:
@ -79,9 +79,10 @@ class musrRootOutput {
|
||||
G4double ekVertex, G4double xVertex, G4double yVertex, G4double zVertex,
|
||||
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 timeMean, G4double timeLast,
|
||||
G4double timeCFD, G4double amplCFD);
|
||||
void SetOPSAinfo (G4int nDetectors, G4int ID, G4int nPhot, G4double timeFirst, G4double timeSecond,
|
||||
G4double timeThird, G4double timeA, G4double timeB, G4double timeC, G4double timeD,
|
||||
G4double timeMean, G4double timeLast, G4double timeCFD, G4double amplCFD);
|
||||
|
||||
void SetCFDSpecialInfo (G4int n, G4double time);
|
||||
|
||||
void SetSaveDetectorInfo (G4int ID, G4int particleID, G4double ke, G4double x, G4double y, G4double z, G4double time,
|
||||
@ -218,6 +219,8 @@ class musrRootOutput {
|
||||
static G4bool store_odet_ID;
|
||||
static G4bool store_odet_nPhot;
|
||||
static G4bool store_odet_timeFirst;
|
||||
static G4bool store_odet_timeSecond;
|
||||
static G4bool store_odet_timeThird;
|
||||
static G4bool store_odet_timeA;
|
||||
static G4bool store_odet_timeB;
|
||||
static G4bool store_odet_timeC;
|
||||
@ -327,6 +330,8 @@ class musrRootOutput {
|
||||
G4int odet_ID[odet_nMax];
|
||||
G4int odet_nPhot[odet_nMax];
|
||||
G4double odet_timeFirst[odet_nMax];
|
||||
G4double odet_timeSecond[odet_nMax];
|
||||
G4double odet_timeThird[odet_nMax];
|
||||
G4double odet_timeA[odet_nMax];
|
||||
G4double odet_timeB[odet_nMax];
|
||||
G4double odet_timeC[odet_nMax];
|
||||
|
@ -33,18 +33,19 @@ class G4HCofThisEvent;
|
||||
|
||||
class signalInfo {
|
||||
public:
|
||||
signalInfo(G4int id, G4int nP, G4double tFirst,
|
||||
signalInfo(G4int id, G4int nP, G4double tFirst, G4double tSecond, G4double tThird,
|
||||
G4double tA, G4double tB, G4double tC, G4double tD, G4double tE, G4double tLast,
|
||||
G4double tCFD, G4double aCFD, G4double tCFDarray[1000])
|
||||
{
|
||||
detID=id; nPhot=nP; timeFirst=tFirst;
|
||||
detID=id; nPhot=nP; timeFirst=tFirst; timeSecond=tSecond; timeThird=tThird;
|
||||
timeA=tA; timeB=tB; timeC=tC; timeD=tD; timeE=tE; timeLast=tLast;
|
||||
timeCFD=tCFD; amplCFD=aCFD;
|
||||
if (musrRootOutput::store_odet_timeCFDarray) {for(int i=0;i<1000;i++) {timeCFDarray[i]=tCFDarray[i];}}
|
||||
}
|
||||
~signalInfo() {}
|
||||
void transferDataToRoot(musrRootOutput* myRootOut, G4int nn) {
|
||||
myRootOut->SetOPSAinfo(nn,detID,nPhot,timeFirst,timeA,timeB,timeC,timeD,timeE,timeLast,timeCFD,amplCFD);
|
||||
myRootOut->SetOPSAinfo(nn,detID,nPhot,timeFirst,timeSecond,timeThird,
|
||||
timeA,timeB,timeC,timeD,timeE,timeLast,timeCFD,amplCFD);
|
||||
for (Int_t kk=0; kk<13; kk++) {
|
||||
for (Int_t ll=0; ll<5; ll++) {
|
||||
int index = (ll+1)*100+kk;
|
||||
@ -60,6 +61,8 @@ class signalInfo {
|
||||
G4int nPhot_refl;
|
||||
G4int nPhot_other;
|
||||
G4double timeFirst;
|
||||
G4double timeSecond;
|
||||
G4double timeThird;
|
||||
G4double timeA;
|
||||
G4double timeB;
|
||||
G4double timeC;
|
||||
|
Reference in New Issue
Block a user