Skip to content

Commit

Permalink
Merge pull request cms-sw#10132 from ssekmen/fastsim-calomngr-indenta…
Browse files Browse the repository at this point in the history
…tion

fixed FastSimulation/Calorimetry indentation
  • Loading branch information
davidlange6 committed Jul 13, 2015
2 parents 2240aec + 57196bd commit 777d097
Show file tree
Hide file tree
Showing 10 changed files with 1,343 additions and 1,343 deletions.
16 changes: 8 additions & 8 deletions FastSimulation/Calorimetry/interface/CalorimetryManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,29 @@ class CalorimetryManager{
// Does the real job
void reconstruct(RandomEngineAndDistribution const*);

// Return the address of the Calorimeter
// Return the address of the Calorimeter
CaloGeometryHelper * getCalorimeter() const {return myCalorimeter_;}

// Return the address of the FastHFShowerLibrary
FastHFShowerLibrary * getHFShowerLibrary() const {return theHFShowerLibrary;}

// load container from edm::Event
void loadFromEcalBarrel(edm::PCaloHitContainer & c) const;

void loadFromEcalEndcap(edm::PCaloHitContainer & c) const;

void loadFromHcal(edm::PCaloHitContainer & c) const;

void loadFromPreshower(edm::PCaloHitContainer & c) const;

void loadMuonSimTracks(edm::SimTrackContainer & m) const;

private:
// Simulation of electromagnetic showers in PS, ECAL, HCAL
void EMShowerSimulation(const FSimTrack& myTrack, RandomEngineAndDistribution const*);

void reconstructHCAL(const FSimTrack& myTrack, RandomEngineAndDistribution const*);

void MuonMipSimulation(const FSimTrack & myTrack, RandomEngineAndDistribution const*);

/// Hadronic Shower Simulation
Expand Down
6 changes: 3 additions & 3 deletions FastSimulation/Calorimetry/interface/HCALResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace edm {

class HCALResponse
{
public:
public:
HCALResponse(const edm::ParameterSet& pset);
~HCALResponse(){ }

Expand All @@ -38,7 +38,7 @@ class HCALResponse
double responseHCAL(int _mip, double energy, double eta, int partype, RandomEngineAndDistribution const*);

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

// legacy methods using simple formulae
double getHCALEnergyResponse(double e, int hit, RandomEngineAndDistribution const*);
Expand All @@ -47,7 +47,7 @@ class HCALResponse
void correctHF(double e, int type);
vec1 & getCorrHF() {return corrHF;}

private:
private:

// calculates interpolated-extrapolated response smearing factors
// for hadrons, muons, and e/gamma (the last in HF specifically)
Expand Down
360 changes: 180 additions & 180 deletions FastSimulation/Calorimetry/python/Calorimetry_cff.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion FastSimulation/Calorimetry/python/HSParameters_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
nDepthSteps = cms.int32(10),
maxTRfactor = cms.double(4.0),
criticalHDEnergy = cms.double(3.0)
)
)
)

1,566 changes: 783 additions & 783 deletions FastSimulation/Calorimetry/python/HcalResponse_cfi.py

Large diffs are not rendered by default.

Loading

0 comments on commit 777d097

Please sign in to comment.