Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optical Library problem with Geometry v02 #243

Open
ggamezdiego opened this issue Dec 20, 2021 · 3 comments
Open

Optical Library problem with Geometry v02 #243

ggamezdiego opened this issue Dec 20, 2021 · 3 comments
Assignees
Labels
geometry Geometry related issue simulation genie or geant4 (g4)

Comments

@ggamezdiego
Copy link
Contributor

The optical library generated with the new SBND geometry v02 presents unexpected values for the visibilities for some PMTs in the voxels intersecting with them. A sample of 30 PMTs in the TPC with X>0 and in the central APA-windows see a lot of more light than its symmetric situation for TPC with X<0:
Captura de pantalla 2021-12-17 a las 23 11 16

To debug the issue, I have compared the result of the simulation for PMT-141 (a problematic one) and PMT 9 (a good one) (PMT layout below)
Captura de pantalla 2021-12-17 a las 23 12 27

When I track the photons generated inside the PMT-141 (in the vacuum material), it typically results in the following:
ID Pre_PV Pre_material Pos_PV Pos_material OpBoundary Process
884 vol_PMT_in_PV matVacuum volOpDetSensitive_PV LAr NoGeomBoundary OpDetReadoutScoringProcess
884 volOpDetSensitive_PV LAr volPMT_PV LAr NoGeomBoundary OpDetReadoutScoringProcess
This means that those photons are being detected (and they should not! --> NO photon generated in a material different than LAr should survive/be tracked). It seems the photon does not see the boundary between the different volumes.

While the same simulation for the case of PMT-9 results typically in:
ID Pre_PV Pre_material Pos_PV Pos_material OpBoundary Process
884 vol_PMT_in_PV matVacuum volOpDetSensitive_PV LAr NoRINDEX CoupledTransportation
And in this case the photon is not detected/tracked, as should be!

I am using sbndcode v09_36_00 and geometry sbnd_v02_00.gdml (with wires). Without wires the issue is the same.
My impression is that it could be related with the geometry. To test this, I have done the same simulation for PMT-141 with another version of the geometry v02, and the problem is not present! This other geometry is a version that @gustavogx gave to me “in private” some months ago, before the new v02 geometry was published in sbndcode.

@pgreen135
Copy link
Member

The optical library has now been updated in #245 and sbnd_data v01_11_00. The underlying problem with the geometry remains however and needs resolving to avoid issues with future library generation and/or full optical simulation.

@marcodeltutto
Copy link
Member

Hi @gustavogx, @mrguzzo, just wondering if you have any update on this?

@marcodeltutto marcodeltutto added geometry Geometry related issue simulation genie or geant4 (g4) labels Jun 9, 2022
@bear-is-asleep
Copy link
Contributor

Update - this issue persists still and will need to be fixed if the need arises to run the full optical simulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geometry Geometry related issue simulation genie or geant4 (g4)
Projects
None yet
Development

No branches or pull requests

6 participants