Message: LXe histograms? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad LXe histograms? 

Forum: Processes Involving Optical Photons
Date: 07 Feb, 2014
From: Hanan <Hanan>

Hello experts;

I would like some help, I am quite new to Geant4 and still learning. I am working on a code and I have implemented a part of LXe code but I only have 4 PMTs.

I named each PMT since I have one SD file such as follwing (from

G4String PMTSD1name = "PMTSD1"; PMTSD* PMTSD1 = new PMTSD(PMTSD1name); G4SDManager::GetSDMpointer()->AddNewDetector(PMTSD1); fLogicPMT[2]->SetSensitiveDetector(PMTSD1);

Then I named each hits collection as well (from

if(hitCID<0) hitCID = GetCollectionID(0); fPMTHitCollection = new PMTHitsCollection (PMTSD1, PMT1); hitsCE->AddHitsCollection(hitCID,fPMTHitCollection);

Now I am trying to draw a histogram of each PMT hits collection ( I get zero when I drew PMTSD1 and PMT1 .. and so on)

Is the way I named my PMTs wrong or what I am plotting is wrong. Please I need some help with that.

Thank you in advance

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: LXe histograms?   (Gumplinger Peter - 11 Feb, 2014)
 Add Message Add Message
to: "LXe histograms?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews