6 for (
unsigned int i=0;
i<5; ++
i){
13 std::vector<EventMonitor::Entry>::iterator itr = counters.begin();
14 while (itr != counters.end() && itr->name !=
name) itr++;
16 if ( itr == counters.end() ){
17 counters.push_back(
Entry());
18 entry = &counters.back();
33 std::vector<HypothesisType> hypType;
34 hypType.push_back(
MM);
35 hypType.push_back(
EE);
36 hypType.push_back(
EM);
37 hypType.push_back(
ME);
39 for(
unsigned int hypIdx = 0; hypIdx < hypType.size(); hypIdx++){
43 monitor.
count(hypType.at(hypIdx),
"opposite sign" , 0.0);
44 monitor.
count(hypType.at(hypIdx),
"full lepton selection" , 0.0);
45 monitor.
count(hypType.at(hypIdx),
"extra lepton veto" , 0.0);
48 monitor.
count(hypType.at(hypIdx),
"|mll - mZ| > 15 GeV" , 0.0);
49 monitor.
count(hypType.at(hypIdx),
"minMET > 20 GeV" , 0.0);
50 monitor.
count(hypType.at(hypIdx),
"minMET > 40 GeV for ee/mm" , 0.0);
51 monitor.
count(hypType.at(hypIdx),
"dPhiDiLepJet < 165 dg for ee/mm" , 0.0);
54 monitor.
count(hypType.at(hypIdx),
"ptll > 45 GeV" , 0.0);
56 monitor.
count(hypType.at(hypIdx),
"max(lep1.pt(),lep2.pt())>30" , 0.0);
57 monitor.
count(hypType.at(hypIdx),
"min(lep1.pt(),lep2.pt())>25" , 0.0);
59 monitor.
count(hypType.at(hypIdx),
"njets == 2 or 3" , 0.0);
60 monitor.
count(hypType.at(hypIdx),
"abs(jet1.eta())<4.7 && abs(jet2.eta())<4.7", 0.0);
61 monitor.
count(hypType.at(hypIdx),
"no central jets" , 0.0);
void count(HypothesisType type, const char *name, double weight=1.0)