Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions Calibration/interface/KalmanMuonCalibrator.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef KalmanMuonCalibrator_h
#define KalmanMuonCalibrator_h

#include "TFile.h"
#include "TH3F.h"
#include "TH2F.h"
Expand Down Expand Up @@ -77,3 +80,5 @@ class KalmanMuonCalibrator {


};

#endif // #define KalmanMuonCalibrator_h
4 changes: 2 additions & 2 deletions Derivation/src/DataEBEEstimator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void DataEBEEstimator::processTree(const std::string&fileName,const std::string&
float x=0.0;


TRandom *random = new TRandom(10101982);
// TRandom *random = new TRandom(10101982);

for (int i=0;i<entries;++i) {
reduced->GetEntry(i);
Expand Down Expand Up @@ -144,7 +144,7 @@ void DataEBEEstimator::processTree(const std::string&fileName,const std::string&
x=genMass;


histoMap_[bin2]->Fill(x);
histoMap_[bin2]->Fill(x);

if (i % 1000000==0)
printf("Processed %d \%d entries\n",i,entries);
Expand Down
2 changes: 1 addition & 1 deletion Derivation/src/RooGaussianSumPdfWithSigma.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Double_t RooGaussianSumPdfWithSigma::evaluate() const
//protection!
if (error<=0.0)
continue;
error=sqrt(error);
error=sqrt(error);
arg = (mass-scale*masses[i])/(error);
sum=sum+weights[i]*exp(-0.5*arg*arg)/(rootPiTimes2*error);
sumw=sumw+weights[i];
Expand Down