Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46431
b: "refs/heads/CMSSW_7_1_X"
c: 57b806b
h: "refs/heads/CMSSW_7_1_X"
i:
  46429: 487131c
  46427: f3b569f
  46423: e263f16
  46415: 45c6ac6
  46399: 96f4a39
v: v3
  • Loading branch information
Chiara Ilaria Rovelli committed Jun 24, 2008
1 parent e11d725 commit 1788057
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: ac155dadd83efa75cad55c0508a57a2b9dd3d66c
"refs/heads/CMSSW_7_1_X": fd0024064e2b2fe3758461ee855cfb4cdbd67aaf
"refs/heads/CMSSW_7_1_X": 57b806b9903e1ecee14923d722fe1d3ef03c5af9
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ EcalDigiProducer::EcalDigiProducer(const edm::ParameterSet& params)
theEcalResponse = new CaloHitResponse(theParameterMap, theEcalShape);
theESResponse = new CaloHitResponse(theParameterMap, theESShape);

// further phase for cosmics studies
cosmicsPhase = params.getParameter<bool>("cosmicsPhase");
cosmicsShift = params.getParameter<double>("cosmicsShift");
if (cosmicsPhase) {
theEcalResponse->setPhaseShift(1.+cosmicsShift);
}

EcalCorrMatrix thisMatrix;

std::vector<double> corrNoiseMatrix = params.getParameter< std::vector<double> >("CorrelatedNoiseMatrix");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ class EcalDigiProducer : public edm::EDProducer
double EBs25notCont;
double EEs25notCont;

bool cosmicsPhase;
double cosmicsShift;

bool doFast;
};

Expand Down
3 changes: 3 additions & 0 deletions trunk/SimCalorimetry/EcalSimProducers/python/ecaldigi_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
from SimCalorimetry.EcalSimProducers.ecalElectronicsSim_cff import *
from SimCalorimetry.EcalSimProducers.esElectronicsSim_cff import *
from SimCalorimetry.EcalSimProducers.ecalNotContainmentSim_cff import *
from SimCalorimetry.EcalSimProducers.ecalCosmicsSim_cff import *
simEcalUnsuppressedDigis = cms.EDProducer("EcalDigiProducer",
ecal_electronics_sim,
ecal_cosmics_sim,
ecal_sim_parameter_map,
ecal_notCont_sim,
es_electronics_sim,
Expand Down Expand Up @@ -46,3 +48,4 @@
)



0 comments on commit 1788057

Please sign in to comment.