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

bring back old Hcal digi/reco chain for testing/debug #1591

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

tomeichlersmith
Copy link
Member

This is a transfer of LDMX-Software/Hcal#75 into this repository.

I am updating ldmx-sw, here are the details.

What are the issues that this addresses?

This resolves #1351

Check List

recHit.setSection(hitID.section());
recHit.setStrip(hitID.strip());
recHit.setLayer(hitID.layer());
recHit.setEnergy(edep);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the setOrientation function like I did in https://github.com/LDMX-Software/ldmx-sw/pull/1577/files please?

: framework::Producer{name, process} {}
~HcalSimpleDigiAndRecProducer() override = default;
void configure(framework::config::Parameters& ps) override;
void SetupRandomNumberGeneration();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt this be lower case, since it's a function, not a class?

Comment on lines +7 to +15
input_coll_name = ps.getParameter<std::string>("input_coll_name");
input_pass_name = ps.getParameter<std::string>("input_pass_name");
output_coll_name = ps.getParameter<std::string>("output_coll_name");
mev_per_mip = ps.getParameter<double>("mev_per_mip");
pe_per_mip = ps.getParameter<double>("pe_per_mip");
attenuation_length = ps.getParameter<double>("attenuation_length");
readout_threshold = ps.getParameter<int>("readout_threshold");
mean_noise = ps.getParameter<double>("mean_noise");
position_resolution = ps.getParameter<double>("position_resolution");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also if we follow our (not-yet-written-down) coding rules, these should end with a trailing underscore, showing that these are global variables

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

Successfully merging this pull request may close these issues.

Bring back the old simple reconstruction chain
3 participants