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

Weird signal processing output with no peaks and a double track pattern #133

Closed
brettviren opened this issue Oct 20, 2021 · 1 comment
Closed

Comments

@brettviren
Copy link
Member

tl;dr: you need to flip the depo charge sign.

In particular, larsoft and WCT assume different electron sign conventions for "depos". Check if the depo source component you use has a scale or similar configuration parameter and flip its sign.

Details:

You may see something like this simulation output of U plane ("orig" data tier). Wrong:

okay

and it's corresponding SP output ("gauss" data tier). Wrong:

weird

The SP output is obviously weird. Less obvious is that the "orig" waveforms start out negative-going (time is from left to right). Not shown here but the corresponding wrong sign "orig" for "W" is seen to be entirely negative.

To be correct, bipolar "orig" should start out positive and unipolar "orig" should be entirely positive.

Correct U orig and gauss:

u-orig
u-gauss

Correct W orig and gauss:

w-orig
w-gauss

@brettviren
Copy link
Member Author

Not a bug per se, just a reminder since I seem able to keep forgetting this convention difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant