Skip to content

Commit

Permalink
updating the relevant trigger indices!
Browse files Browse the repository at this point in the history
  • Loading branch information
awhitbeck committed Feb 22, 2017
1 parent 277f80f commit 2314942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fragmentationFits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ int main(int argc, char** argv){
if( ( reg == skimSamples::kLDP || reg == skimSamples::kPhotonLDP || reg == skimSamples::kDYeLDP || reg == skimSamples::kDYmLDP ) && !RA2bLDPBaselineCut(ntuple) ) continue;
if( ( reg == skimSamples::kPhoton || reg == skimSamples::kPhotonLDP ) && ntuple->Photons->at(0).Pt()<200. ) continue;

if( ntuple->TriggerPass->size() < 44 || !ntuple->TriggerPass->at(51) ) continue;
if( ntuple->TriggerPass->size() < 53 || !ntuple->TriggerPass->at(52) ) continue;

analysisBin = Bins46plot.fillData(ntuple);
nJetBin = NJetsplot.fillData(ntuple);
Expand Down
2 changes: 1 addition & 1 deletion src/plotPurityProperties.cc
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ int main(int argc, char** argv){
ntuple->GetEntry(iEvt);
if( iEvt % 1000000 == 0 ) cout << "data: " << iEvt << "/" << numEvents << endl;

if( ntuple->TriggerPass->size() < 50 || !ntuple->TriggerPass->at(51) ) continue;
if( ntuple->TriggerPass->size() < 53 || !ntuple->TriggerPass->at(52) ) continue;

if( ntuple->Photons->size() == 0 || (ntuple->Photons->size() > 0 && ntuple->Photons->at(0).Pt()<200.) ) continue;
if( ((skims.regionNames[regInt] == "photonLDPLoose"||skims.regionNames[regInt] == "photonLDP")&&!RA2bLDPBaselineCut(ntuple)) ||
Expand Down

0 comments on commit 2314942

Please sign in to comment.