-
Notifications
You must be signed in to change notification settings - Fork 21
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
base: trunk
Are you sure you want to change the base?
Conversation
This is a transfer of LDMX-Software/Hcal#75 into this repository.
recHit.setSection(hitID.section()); | ||
recHit.setStrip(hitID.strip()); | ||
recHit.setLayer(hitID.layer()); | ||
recHit.setEnergy(edep); |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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?
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"); |
There was a problem hiding this comment.
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
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