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

New mip treatment 2 #113

Closed
wants to merge 9 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new MIP treatment
  • Loading branch information
giamman committed Jul 11, 2013
commit 37333b6c9b62a82cd714c801ceec3b04803cadde
4 changes: 4 additions & 0 deletions FastSimulation/Calorimetry/interface/HCALResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class HCALResponse
// mip = 2 means "mean" response regardless actual mip
double responseHCAL(int _mip, double energy, double eta, int partype);

//Get the energy and eta dependent mip fraction
double getMIPfraction(double energy, double eta);

// legacy methods using simple formulae
double getHCALEnergyResponse(double e, int hit);

Expand Down Expand Up @@ -101,6 +104,7 @@ class HCALResponse
// muon histos
// indices: responseMU[energy][eta][bin]
vec3 responseMU;
vec3 mipfraction;

// Famos random engine
const RandomEngine* random;
Expand Down