ATLAS_2011_S9041966 Class Reference
Inheritance diagram for ATLAS_2011_S9041966:
![]()
Collaboration diagram for ATLAS_2011_S9041966:
![]()
Detailed Description1-lepton and 2-lepton search for first or second generation leptoquarks
Definition at line 18 of file ATLAS_2011_S9041966.cc. Constructor & Destructor Documentation
Constructor. Definition at line 25 of file ATLAS_2011_S9041966.cc. : Analysis("ATLAS_2011_S9041966"), // DEBUG count(0), vetoe(0), Njetscut(0), //dilept(0), candmumujj(0), candeejj(0), //onelept(0), eTmisscut(0), candmvjj(0), candevjj(0), mumujj(0), eejj(0), mTonelept(0), MLQonelept(0), MtLQonelept(0), Stvonelept(0), mTev(0), MLQev(0), MtLQev(0), Stvev(0), muvjj(0), evjj(0), emuvjj(0), cande(0), candmu(0), tmpe(0), tmpmu(0), mumuZCR(0), eeZCR(0), munuW2CR(0), munuttCR(0), enuW2CR(0), enuttCR(0) { } Member Function Documentation
Untemplated function to do the work... Definition at line 33 of file ProjectionApplier.cc. References ProjectionApplier::_allowProjReg, ProjectionApplier::getProjHandler(), ProjectionApplier::name(), Projection::name(), and ProjectionHandler::registerProjection(). Referenced by ProjectionApplier::addProjection(). { if (!_allowProjReg) { cerr << "Trying to register projection '" << proj.name() << "' before init phase in '" << this->name() << "'." << endl; exit(2); } const Projection& reg = getProjHandler().registerProjection(*this, proj, name); return reg; }
Register a data object in the histogram system.
Definition at line 721 of file Analysis.cc. References Analysis::_analysisobjects. Referenced by Analysis::bookHisto1D(), Analysis::bookHisto2D(), Analysis::bookProfile1D(), Analysis::bookProfile2D(), Analysis::bookScatter2D(), and H1_1995_S3167097::finalize(). { _analysisobjects.push_back(ao); }
Register a contained projection. The type of the argument is used to instantiate a new projection internally: this new object is applied to events rather than the argument object. Hence you are advised to only use locally-scoped Projection objects in your Projection and Analysis constructors, and to avoid polymorphism (e.g. handling Definition at line 116 of file ProjectionApplier.hh. References ProjectionApplier::_addProjection(). Referenced by TauFinder::_init(), FastJets::_init1(), FastJets::_init2(), FastJets::_init3(), VetoedFinalState::addVetoOnThisFinalState(), BeamThrust::BeamThrust(), CDF_2009_S8057893::CDF_2009_S8057893::init(), CentralEtHCM::CentralEtHCM(), ChargedFinalState::ChargedFinalState(), ChargedLeptons::ChargedLeptons(), DISFinalState::DISFinalState(), DISKinematics::DISKinematics(), DISLepton::DISLepton(), DressedLeptons::DressedLeptons(), FinalState::FinalState(), FoxWolframMoments::FoxWolframMoments(), FParameter::FParameter(), HadronicFinalState::HadronicFinalState(), HeavyHadrons::HeavyHadrons(), Hemispheres::Hemispheres(), IdentifiedFinalState::IdentifiedFinalState(), ATLAS_2010_S8894728::init(), CMS_2010_S8547297::init(), CMS_2010_S8656010::init(), ALICE_2012_I1181770::init(), ATLAS_2011_S8994773::init(), CMS_2011_S8950903::init(), CMS_2012_PAS_QCD_11_010::init(), ATLAS_2010_CONF_2010_049::init(), ATLAS_2011_I894867::init(), LHCB_2013_I1208105::init(), CMS_2011_S8941262::init(), CMS_2011_S8968497::init(), CMS_2011_S8973270::init(), CMS_2011_S8978280::init(), ATLAS_2014_I1298811::init(), ALICE_2011_S8909580::init(), CMS_2012_I1090423::init(), CMSTOTEM_2014_I1294140::init(), CDF_2007_S7057202::init(), ALICE_2011_S8945144::init(), TOTEM_2012_I1115294::init(), ATLAS_2014_I1282441::init(), CMS_2011_S9086218::init(), CMS_2011_S9215166::init(), CMS_2012_I1087342::init(), CMS_2012_I1184941::init(), CMS_2012_I1193338::init(), ATLAS_2010_S8591806::init(), CMS_2013_I1265659::init(), D0_2011_I895662::init(), LHCF_2012_I1115479::init(), ATLAS_2011_I930220::init(), CMS_2011_I954992::init(), TOTEM_2012_002::init(), CMS_2011_S8957746::init(), CMS_2011_S9088458::init(), ATLAS_2011_S9002537::init(), CMS_2013_I1273574::init(), D0_2010_S8570965::init(), CDF_2012_NOTE10874::init(), STAR_2008_S7993412::init(), UA5_1987_S1640666::init(), CMS_QCD_10_024::init(), CDF_1997_S3541940::init(), ATLAS_2012_I1124167::init(), STAR_2006_S6500200::init(), ATLAS_2011_S9128077::init(), BELLE_2008_I786560::init(), CDF_1993_S2742446::init(), ARGUS_1993_S2789213::init(), CDF_2000_S4155203::init(), CDF_2005_S6080774::init(), CDF_2006_S6450792::init(), SFM_1984_S1178091::init(), BABAR_2007_S7266081::init(), CMS_2013_I1261026::init(), D0_2008_S6879055::init(), ATLAS_2012_I1091481::init(), UA5_1982_S875503::init(), CDF_2008_S7782535::init(), CDF_2008_S8093652::init(), ATLAS_2012_I1204447::init(), STAR_2006_S6870392::init(), ARGUS_1993_S2669951::init(), UA5_1989_S1926373::init(), CMS_2013_I1272853::init(), D0_2000_I499943::init(), ALEPH_1991_S2435284::init(), E735_1998_S3905616::init(), ATLAS_2012_I1183818::init(), ATLAS_2013_I1243871::init(), ATLAS_2014_I1268975::init(), CMS_2012_I1102908::init(), ATLAS_2011_S9035664::init(), ALEPH_2002_S4823664::init(), D0_1996_S3324664::init(), D0_2007_S7075677::init(), CDF_1988_S1865951::init(), CDF_1990_S2089246::init(), DELPHI_1999_S3960137::init(), ATLAS_2010_S8817804::init(), ATLAS_2011_S8924791::init(), ALEPH_1996_S3196992::init(), CDF_2005_S6217184::init(), OPAL_1995_S3198391::init(), OPAL_1996_S3257789::init(), OPAL_1997_S3608263::init(), OPAL_1998_S3702294::init(), OPAL_1998_S3749908::init(), OPAL_2000_S4418603::init(), UA5_1986_S1583476::init(), D0_2001_S4674421::init(), D0_2008_S7554427::init(), CDF_1994_S2952106::init(), H1_1995_S3167097::init(), ATLAS_2014_I1307756::init(), UA1_1990_S2044935::init(), ZEUS_2001_S4815815::init(), LHCB_2011_I919315::init(), ATLAS_2012_I1119557::init(), CDF_2008_S7540469::init(), CDF_2008_S7828950::init(), ATLAS_2012_I1188891::init(), D0_1996_S3214044::init(), STAR_2009_UE_HELEN::init(), STAR_2006_S6860818::init(), CDF_2008_S8095620::init(), DELPHI_1995_S3137023::init(), ALICE_2010_S8624100::init(), JADE_1998_S3612880::init(), JADE_OPAL_2000_S4300807::init(), EXAMPLE::init(), OPAL_1997_S3396100::init(), ALEPH_2004_S5765862::init(), ATLAS_2012_I1125575::init(), ALICE_2010_S8625980::init(), LHCB_2013_I1218996::init(), CMS_2013_I1218372::init(), ALICE_2010_S8706239::init(), CDF_2009_NOTE_9936::init(), D0_2009_S8320160::init(), ATLAS_2011_S8971293::init(), CDF_2009_S8383952::init(), CDF_2009_S8436959::init(), ATLAS_2013_I1263495::init(), CDF_1996_S3108457::init(), CDF_1998_S3618439::init(), CDF_2000_S4266730::init(), CDF_2001_S4563131::init(), DELPHI_2002_069_CONF_603::init(), ALEPH_2001_S4656318::init(), SLD_2002_S4869273::init(), D0_2010_S8566488::init(), CDF_2001_S4517016::init(), D0_2006_S6438750::init(), ATLAS_2012_I1082936::init(), CDF_1996_S3349578::init(), LHCB_2012_I1119400::init(), ATLAS_2011_I921594::init(), CDF_1996_S3418421::init(), UA5_1988_S1867512::init(), LHCB_2011_I917009::init(), SLD_1996_S3398250::init(), ATLAS_2011_S9108483::init(), D0_2008_S7662670::init(), CDF_2008_S7541902::init(), CDF_2006_S6653332::init(), TASSO_1990_S2148048::init(), ATLAS_2012_I1082009::init(), ATLAS_2012_I946427::init(), OPAL_2002_S5361494::init(), ATLAS_2012_I1199269::init(), DELPHI_2000_S4328825::init(), ATLAS_2012_I1084540::init(), CMS_2013_I1224539_DIJET::init(), CDF_2009_S8233977::init(), CDF_2010_S8591881_QCD::init(), D0_2004_S5992206::init(), ATLAS_2010_S8914702::init(), ATLAS_2010_S8918562::init(), D0_2008_S7719523::init(), ATLAS_2011_S9120807::init(), CDF_2001_S4751469::init(), ATLAS_2012_I1094568::init(), DELPHI_1996_S3430090::init(), ALEPH_1996_S3486095::init(), ALEPH_1999_S4193598::init(), ATLAS_2012_I1093738::init(), OPAL_2004_S6132243::init(), OPAL_1994_S2927284::init(), BELLE_2013_I1216515::init(), STAR_2008_S7869363::init(), ATLAS_2011_S9126244::init(), BABAR_2007_S6895344::init(), BELLE_2001_S4598261::init(), BABAR_2005_S6181155::init(), ATLAS_2011_I919017::init(), OPAL_2001_S4553896::init(), BABAR_2013_I1238276::init(), DELPHI_2003_WUD_03_11::init(), CDF_2004_S5839831::init(), BABAR_2003_I593379::init(), ATLAS_2012_I1094061::init(), ARGUS_1993_S2653028::init(), CLEO_2004_S5809304::init(), OPAL_1998_S3780481::init(), ATLAS_2012_I1093734::init(), OPAL_1993_S2692198::init(), ATLAS_2014_I1279489::init(), ATLAS_2012_I1094564::init(), SLD_2004_S5693039::init(), BELLE_2006_S6265367::init(), SLD_1999_S3743934::init(), PDG_HADRON_MULTIPLICITIES::init(), PDG_HADRON_MULTIPLICITIES_RATIOS::init(), JetAlg::JetAlg(), JetShape::JetShape(), LeadingParticlesFinalState::LeadingParticlesFinalState(), LossyFinalState< ConstRandomFilter >::LossyFinalState(), MergedFinalState::MergedFinalState(), MissingMomentum::MissingMomentum(), NeutralFinalState::NeutralFinalState(), NonHadronicFinalState::NonHadronicFinalState(), ParisiTensor::ParisiTensor(), PrimaryHadrons::PrimaryHadrons(), PromptFinalState::PromptFinalState(), Sphericity::Sphericity(), Spherocity::Spherocity(), Thrust::Thrust(), TriggerCDFRun0Run1::TriggerCDFRun0Run1(), TriggerCDFRun2::TriggerCDFRun2(), TriggerUA5::TriggerUA5(), VetoedFinalState::VetoedFinalState(), VisibleFinalState::VisibleFinalState(), WFinder::WFinder(), and ZFinder::ZFinder(). { const Projection& reg = _addProjection(proj, name); const PROJ& rtn = dynamic_cast<const PROJ&>(reg); return rtn; }
List of registered analysis data objects. Definition at line 695 of file Analysis.hh. References Analysis::_analysisobjects. Referenced by Analysis::getAnalysisObject(). { return _analysisobjects; } Perform the per-event analysis. DEBUG Implements Analysis. Definition at line 121 of file ATLAS_2011_S9041966.cc. References Rivet::deltaPhi(), Rivet::deltaR(), FourMomentum::E(), ParticleBase::eta(), Rivet::GeV, Particle::momentum(), Jet::momentum(), MSG_DEBUG, Rivet::particles(), Rivet::Cuts::phi, FourVector::phi(), Rivet::Cuts::pT, ParticleBase::pT(), FourMomentum::pT(), and vetoEvent. { const double weight = event.weight(); ///DEBUG count +=1; //cerr<< "Event " << count << '\n'; // debug Particles veto_e = applyProjection<IdentifiedFinalState>(event, "veto_elecs").particles(); if ( ! veto_e.empty() ) { MSG_DEBUG("electrons in veto region"); vetoEvent; } ++vetoe; Jets cand_jets; foreach ( const Jet& jet, applyProjection<FastJets>(event, "AntiKtJets04").jetsByPt(20.0*GeV) ) { if ( fabs( jet.eta() ) < 2.8 ) { cand_jets.push_back(jet); } } Particles candtemp_e = applyProjection<IdentifiedFinalState>(event, "elecs").particlesByPt(); Particles candtemp_mu = applyProjection<IdentifiedFinalState>(event,"muons").particlesByPt(); Particles cand_mu; Particles cand_e; Particles vfs_particles = applyProjection<VisibleFinalState>(event, "vfs").particles(); // pTcone around muon track foreach ( const Particle & mu, candtemp_mu ) { ++tmpmu; double pTinCone = -mu.pT(); foreach ( const Particle & track, vfs_particles ) { if ( deltaR(mu.momentum(),track.momentum()) < 0.2 ) pTinCone += track.pT(); } if ( pTinCone/mu.pT() < 0.25 ) ++candmu; cand_mu.push_back(mu); } // pTcone around electron foreach ( const Particle e, candtemp_e ) { ++tmpe; double pTinCone = -e.pT(); foreach ( const Particle & track, vfs_particles ) { if ( deltaR(e.momentum(),track.momentum()) < 0.2 ) pTinCone += track.pT(); } if ( pTinCone/e.pT() < 0.2 ) ++cande; cand_e.push_back(e); } if ( cand_e.empty() && cand_mu.empty() ) { //cerr<<" ->Event vetoed. No candidate lept"<<'\n'; vetoEvent; } //DEBUG // else{ // foreach (const Particle & mu, cand_mu) { // cerr << "cand mu: " << "Id " << mu.pid() << " eta " << mu.eta() << " pT " << mu.pT() << '\n'; // } // foreach (const Particle & lepton, cand_e) { // cerr << "cand e: " << "Id " << lepton.pid() << " eta " << lepton.eta() << " pT " << lepton.pT() << '\n'; // }} // debug // pTmiss FourMomentum pTmiss; foreach ( const Particle & p, vfs_particles ) { pTmiss -= p.momentum(); } double eTmiss = pTmiss.pT(); // discard jets that overlap with leptons Jets recon_jets; foreach ( const Jet& jet, cand_jets ) { bool away_from_lept = true; foreach ( const Particle e, cand_e ) { if ( deltaR(e.momentum(),jet.momentum()) <= 0.5 ) { away_from_lept = false; break; } } foreach ( const Particle & mu, cand_mu ) { if ( deltaR(mu.momentum(),jet.momentum()) <= 0.5 ) { away_from_lept = false; break; } } if ( away_from_lept ) recon_jets.push_back( jet ); } //DEBUG // cerr << " Num of recon jets: " << recon_jets.size() << '\n'; // cerr << " Num of cand e: " << cand_e.size() << '\n'; // cerr << " Num of cand mu: " << cand_mu.size() << '\n'; //debug // ================ OBSERVABLES ================ // At least 2 hard jets if ( recon_jets.size() < 2 ) { //cerr << " ->Event vetoed. Not enough hard jets." << '\n'; vetoEvent; } ++Njetscut; // Initialize variables for observables double M_ll=0., M_LQ=0., St_ll=0., Mt_LQ=0., St_v=0., mT=0.; FourMomentum p_l, p_l1, p_l2, p_j[2]; p_j[0] = recon_jets[0].momentum(); p_j[1] = recon_jets[1].momentum(); Particles dilept_pair; bool single_lept = false; if ( cand_mu.size() == 2 && cand_e.empty() ) { ++candmumujj; foreach ( const Particle& mu, cand_mu ) dilept_pair.push_back(mu); } else if ( cand_e.size() == 2 && cand_mu.empty() ) { ++candeejj; foreach ( const Particle& e, cand_e ) dilept_pair.push_back(e); } else if ( cand_mu.size() == 1 && cand_e.empty() ) { ++candmvjj; p_l = cand_mu[0].momentum(); single_lept = true; } else if ( cand_e.size() == 1 && cand_mu.empty() ) { ++candevjj; p_l = cand_e[0].momentum(); single_lept = true; } // Dilepton channel observables if ( ! dilept_pair.empty() ) { double E_l1, E_l2, E_j1, E_j2; double tmpM_LQ1[2], tmpM_LQ2[2], M_LQDiff1, M_LQDiff2; p_l1 = dilept_pair[0].momentum(); p_l2 = dilept_pair[1].momentum(); E_l1 = p_l1.E(); E_l2 = p_l2.E(); E_j1 = p_j[0].E(); E_j2 = p_j[1].E(); // Calculate possible leptoquark mass M_LQ and reconstruct average M_LQ tmpM_LQ1[0] = E_l1 + E_j1; tmpM_LQ1[1] = E_l2 + E_j2; M_LQDiff1 = abs( tmpM_LQ1[0] - tmpM_LQ1[1] ); tmpM_LQ2[0] = E_l1 + E_j2; tmpM_LQ2[1] = E_l2 + E_j1; M_LQDiff2 = abs( tmpM_LQ2[0] - tmpM_LQ2[1] ); if ( M_LQDiff1 > M_LQDiff2 ) M_LQ = ( tmpM_LQ2[0] + tmpM_LQ2[1] ) / 2; else M_LQ = ( tmpM_LQ1[0] + tmpM_LQ1[1] ) / 2; // Calculate event transverse energy St St_ll = p_l1.pT() + p_l2.pT() + p_j[0].pT() + p_j[1].pT(); // Dilept pair invariant mass M_ll M_ll = E_l1 + E_l2; } // 1-lepton channel observables else if ( single_lept ) { double tmpM_LQ[2], tmpMt_LQ[2], dPhi_j[2], M_LQDiff1, M_LQDiff2; // List of possible M_LQ, Mt_LQ pairings for ( int i = 0; i < 2; ++i ) { tmpM_LQ[i] = p_l.E() + p_j[i].E(); dPhi_j[1-i] = deltaPhi( p_j[1-i].phi(), pTmiss.phi() ); tmpMt_LQ[i] = sqrt( 2 * p_j[1-i].pT() * eTmiss * (1 - cos( dPhi_j[1-i] )) ); } // Choose pairing that gives smallest absolute difference M_LQDiff1 = abs( tmpM_LQ[0] - tmpMt_LQ[0] ); M_LQDiff2 = abs( tmpM_LQ[1] - tmpMt_LQ[1] ); if ( M_LQDiff1 > M_LQDiff2 ) { M_LQ = tmpM_LQ[1]; Mt_LQ = tmpMt_LQ[1]; } else { M_LQ = tmpM_LQ[0]; Mt_LQ = tmpMt_LQ[0]; } // Event transverse energy St_v = p_l.pT() + eTmiss + p_j[0].pT() + p_j[1].pT(); // Transverse mass mT double dPhi_l = deltaPhi( p_l.phi(), pTmiss.phi()); mT = sqrt( 2 * p_l.pT() * eTmiss * (1 - cos(dPhi_l)) ); } // ============== CONTROL REGIONS =============== // mumujj, Z control region if ( cand_mu.size() == 2 ) { if ( M_ll >= 81*GeV && M_ll <= 101*GeV ) { ++mumuZCR; _hist_St_mumu_ZCR->fill(St_ll, weight); } } // eejj, Z control region else if ( cand_e.size() == 2 ) { if ( M_ll >= 81*GeV && M_ll <= 101*GeV ) { ++eeZCR; _hist_St_ee_ZCR->fill(St_ll, weight); } } if ( cand_mu.size() == 1 ) { // munujj, W+2jets control region if ( recon_jets.size() == 2 && mT >= 40*GeV && mT <= 150*GeV ) { ++munuW2CR; _hist_MLQ_munu_W2CR->fill(M_LQ, weight); } // munujj, tt control region if ( recon_jets.size() >= 4 && recon_jets[0].pT() > 50*GeV && recon_jets[1].pT() > 40*GeV && recon_jets[2].pT() > 30*GeV ) { ++munuttCR; _hist_MLQ_munu_ttCR->fill(M_LQ, weight); } } if ( cand_e.size() == 1 ) { // enujj, W+2jets control region if ( recon_jets.size() == 2 && mT >= 40*GeV && mT <= 150*GeV ) { ++enuW2CR; _hist_MLQ_enu_W2CR->fill(M_LQ, weight); } // enujj, tt control region if ( recon_jets.size() >= 4 && recon_jets[0].pT() > 50*GeV && recon_jets[1].pT() > 40*GeV && recon_jets[2].pT() > 30*GeV ) { ++enuttCR; _hist_MLQ_enu_ttCR->fill(M_LQ, weight); } } // ========= PRESELECTION ======================= // Single lepton channel cuts if ( single_lept ) { if ( eTmiss <= 25*GeV ) { //cerr << " ->Event vetoed. eTmiss=" << eTmiss << '\n'; vetoEvent; } ++eTmisscut; if ( mT <= 40*GeV ) vetoEvent; //++mTcut; // enujj channel if ( cand_e.size() == 1 && cand_mu.empty() ) { // Triangle cut double dPhi_jet1 = deltaPhi( recon_jets[0].phi(), pTmiss.phi() ); double dPhi_jet2 = deltaPhi( recon_jets[1].phi(), pTmiss.phi() ); if ( dPhi_jet1 <= 1.5 * (1 - eTmiss/45) || dPhi_jet2 <= 1.5 * (1 - eTmiss/45) ) { ++emuvjj; vetoEvent; } } } // ==================== FILL ==================== // mumujj channel if ( cand_mu.size() == 2 ) { if ( M_ll <= 120*GeV || M_LQ <= 150*GeV || p_l1.pT() <= 30*GeV || p_l2.pT() <= 30*GeV || p_j[0].pT() <= 30*GeV || p_j[1].pT() <= 30*GeV || St_ll <= 450*GeV ) { //cerr<<" ->Dilept event vetoed. Table 4 cuts." << '\n'; vetoEvent; } else { ++mumujj; // cerr<< " ->MUMUJJ event selected." << '\n'; _hist_St_mumu->fill(St_ll, weight); _count_mumujj->fill(0.5, weight); } } // eejj channel else if ( cand_e.size() == 2 ) { if ( M_ll <= 120*GeV || M_LQ <= 150*GeV || p_l1.pT() <= 30*GeV || p_l2.pT() <= 30*GeV || p_j[0].pT() <= 30*GeV || p_j[1].pT() <= 30*GeV || St_ll <= 450*GeV ) { //cerr<<" ->Dilept event vetoed. Table 4 cuts." << '\n'; vetoEvent; } else { ++eejj; //cerr<< " ->EEJJ event selected." << '\n'; _hist_St_ee->fill(St_ll, weight); _count_eejj->fill(0.5, weight); } } // muvjj channel else if ( cand_mu.size() == 1 ) { if (M_LQ<=150*GeV) { //cerr<<" ->muvjj event vetoed. Not enough M_LQ: " << M_LQ<< '\n'; vetoEvent; } ++MLQonelept; if (Mt_LQ<=150*GeV) { //cerr<<" ->muvjj event vetoed. Not enough Mt_LQ: " << Mt_LQ<< '\n'; vetoEvent; } ++MtLQonelept; if (St_v<=400*GeV) { //cerr<<" ->muvjj event vetoed. Not enough St_v: " << St_v<< '\n'; vetoEvent; } ++Stvonelept; if (mT<=160*GeV) { //cerr<<" ->muvjj event vetoed. Not enough mT: " << mT<<'\n'; vetoEvent; } ++mTonelept; //else { ++muvjj; //cerr<< " ->MUVJJ event selected." << '\n'; _hist_MLQ_muv->fill(M_LQ, weight); _count_muvjj->fill(0.5, weight); //} } // evjj channel else if ( cand_e.size() == 1 ) { if (M_LQ<=180*GeV) { //cerr<<" ->evjj event vetoed. Not enough M_LQ: " << M_LQ<< '\n'; vetoEvent; } ++MLQev; if (Mt_LQ<=180*GeV) { //cerr<<" ->evjj event vetoed. Not enough Mt_LQ: " << Mt_LQ<< '\n'; vetoEvent; } ++MtLQev; if (St_v<=410*GeV) { //cerr<<" ->evjj event vetoed. Not enough St_v: " << St_v<< '\n'; vetoEvent; } ++Stvev; if (mT<=200*GeV) { //cerr<<" ->evjj event vetoed. Not enough mT: " << mT<<'\n'; vetoEvent; } ++mTev; //else { ++evjj; //cerr<< " ->EVJJ event selected." << '\n'; _hist_MLQ_ev->fill(M_LQ, weight); _count_evjj->fill(0.5, weight); // if ( mT <= 200*GeV || // M_LQ <= 180*GeV || // Mt_LQ <= 180*GeV || // St_v <= 410*GeV ) { // cerr<<" ->evjj event vetoed. Doesn't pass table 4 cuts." << '\n'; // vetoEvent; // } // else { // ++evjj; // cerr<< " ->EVJJ event selected." << '\n'; // _hist_MLQ_ev->fill(M_LQ, weight); // _count_evjj->fill(0.5, weight); // } } }
Apply the supplied projection on event. Definition at line 70 of file ProjectionApplier.hh. References ProjectionApplier::_applyProjection(). Referenced by DISFinalState::project(). { return pcast<PROJ>(_applyProjection(evt, proj)); }
Apply the supplied projection on event. Definition at line 77 of file ProjectionApplier.hh. References ProjectionApplier::_applyProjection(). { return pcast<PROJ>(_applyProjection(evt, proj)); }
Apply the named projection on event. Definition at line 84 of file ProjectionApplier.hh. References ProjectionApplier::_applyProjection(). { return pcast<PROJ>(_applyProjection(evt, name)); }
Helper for histogram asymmetry calculation.
Definition at line 639 of file Analysis.cc. { const string path = s->path(); *s = YODA::asymm(*h1, *h2); s->setPath(path); }
Helper for histogram asymmetry calculation.
Names & emails of paper/analysis authors. Names and email of authors in 'NAME <EMAIL>' format. The first name in the list should be the primary contact person. Definition at line 132 of file Analysis.hh. References AnalysisInfo::authors(), and Analysis::info(). Incoming beam IDs for this run. Definition at line 35 of file Analysis.cc. References AnalysisHandler::beamIds(), and Analysis::handler(). Referenced by UA5_1982_S875503::finalize(), and UA5_1982_S875503::init().
Incoming beams for this run. Definition at line 31 of file Analysis.cc. References AnalysisHandler::beams(), and Analysis::handler(). Referenced by BABAR_2005_S6181155::analyze(), BABAR_2007_S6895344::analyze(), CLEO_2004_S5809304::analyze(), BELLE_2006_S6265367::analyze(), BABAR_2013_I1238276::analyze(), BELLE_2013_I1216515::analyze(), OPAL_1994_S2927284::analyze(), SLD_2004_S5693039::analyze(), OPAL_1998_S3780481::analyze(), SLD_1999_S3743934::analyze(), OPAL_1995_S3198391::analyze(), OPAL_1997_S3608263::analyze(), OPAL_2000_S4418603::analyze(), ALEPH_2002_S4823664::analyze(), OPAL_1996_S3257789::analyze(), OPAL_1998_S3702294::analyze(), DELPHI_1999_S3960137::analyze(), DELPHI_1995_S3137023::analyze(), SLD_2002_S4869273::analyze(), ALEPH_2001_S4656318::analyze(), DELPHI_2002_069_CONF_603::analyze(), OPAL_1998_S3749908::analyze(), OPAL_1997_S3396100::analyze(), ALEPH_1999_S4193598::analyze(), ALEPH_1996_S3486095::analyze(), ALEPH_2004_S5765862::analyze(), DELPHI_1996_S3430090::analyze(), and Analysis::isCompatible().
BibTeX citation key for this article. Definition at line 185 of file Analysis.hh. References AnalysisInfo::bibKey(), and Analysis::info().
BibTeX citation entry for this article. Definition at line 190 of file Analysis.hh. References AnalysisInfo::bibTeX(), and Analysis::info().
Book a 1D histogram with nbins uniformly distributed across the range lower - upper . Definition at line 200 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). Referenced by Analysis::bookHisto1D(), ATLAS_2012_I1118269::init(), LHCB_2010_I867355::init(), CMS_2010_S8547297::init(), CMS_2010_S8656010::init(), ALICE_2012_I1181770::init(), CMS_2011_S8950903::init(), ATLAS_2011_I894867::init(), ATLAS_2010_CONF_2010_049::init(), CMS_2011_S8941262::init(), ATLAS_2014_I1298811::init(), CMS_2011_S8968497::init(), CMS_2011_S8973270::init(), CMS_2011_S8978280::init(), CMS_2012_I1090423::init(), ALICE_2011_S8909580::init(), CMSTOTEM_2014_I1294140::init(), CDF_2007_S7057202::init(), TOTEM_2012_I1115294::init(), CMS_2011_S9086218::init(), CMS_2011_S9215166::init(), CMS_2012_I1087342::init(), ALICE_2011_S8945144::init(), ATLAS_2014_I1282441::init(), CMS_2012_I1184941::init(), CMS_2012_I1193338::init(), D0_2011_I895662::init(), LHCF_2012_I1115479::init(), TOTEM_2012_002::init(), CMS_2011_I954992::init(), CMS_2011_S8957746::init(), ATLAS_2011_I930220::init(), CMS_2013_I1265659::init(), ATLAS_2010_S8591806::init(), D0_2010_S8570965::init(), CMS_2013_I1273574::init(), CDF_1997_S3541940::init(), STAR_2006_S6500200::init(), ATLAS_2012_I1124167::init(), UA5_1987_S1640666::init(), CMS_QCD_10_024::init(), CDF_1993_S2742446::init(), ATLAS_2011_S9128077::init(), ARGUS_1993_S2789213::init(), CDF_2000_S4155203::init(), CDF_2005_S6080774::init(), CDF_2006_S6450792::init(), SFM_1984_S1178091::init(), CMS_2013_I1261026::init(), BABAR_2007_S7266081::init(), BELLE_2008_I786560::init(), ATLAS_2012_I1091481::init(), MC_JetSplittings::init(), MC_PDFS::init(), ARGUS_1993_S2669951::init(), CDF_2008_S8093652::init(), STAR_2006_S6870392::init(), UA5_1982_S875503::init(), UA5_1989_S1926373::init(), ATLAS_2012_I1204447::init(), D0_2008_S6879055::init(), ATLAS_2012_I1183818::init(), ATLAS_2014_I1268975::init(), CMS_2012_I1102908::init(), ATLAS_2011_S9035664::init(), CMS_2013_I1272853::init(), D0_2000_I499943::init(), ALEPH_1991_S2435284::init(), E735_1998_S3905616::init(), CDF_1990_S2089246::init(), DELPHI_1999_S3960137::init(), OPAL_1998_S3702294::init(), MC_ParticleAnalysis::init(), OPAL_1995_S3198391::init(), OPAL_1996_S3257789::init(), OPAL_1997_S3608263::init(), MC_JetAnalysis::init(), ATLAS_2010_S8817804::init(), OPAL_2000_S4418603::init(), ALEPH_1996_S3196992::init(), UA5_1986_S1583476::init(), ALEPH_2002_S4823664::init(), OPAL_1998_S3749908::init(), D0_1996_S3324664::init(), D0_2007_S7075677::init(), CDF_1988_S1865951::init(), CDF_1994_S2952106::init(), H1_1995_S3167097::init(), D0_2001_S4674421::init(), D0_2008_S7554427::init(), LHCB_2011_I919315::init(), ATLAS_2012_I1119557::init(), CDF_2008_S7540469::init(), CDF_2008_S7828950::init(), UA1_1990_S2044935::init(), ZEUS_2001_S4815815::init(), ATLAS_2012_I1188891::init(), OPAL_1997_S3396100::init(), EXAMPLE::init(), STAR_2006_S6860818::init(), ALICE_2010_S8624100::init(), ALEPH_2004_S5765862::init(), JADE_OPAL_2000_S4300807::init(), DELPHI_1995_S3137023::init(), JADE_1998_S3612880::init(), MC_XS::init(), CDF_2008_S8095620::init(), D0_1996_S3214044::init(), LHCB_2013_I1218996::init(), ALICE_2010_S8625980::init(), ALICE_2010_S8706239::init(), CDF_2009_NOTE_9936::init(), CMS_2013_I1218372::init(), CDF_2001_S4563131::init(), CDF_2000_S4266730::init(), CDF_2009_S8383952::init(), CDF_1996_S3108457::init(), CDF_2009_S8436959::init(), CDF_1998_S3618439::init(), ATLAS_2013_I1263495::init(), ATLAS_2011_S8971293::init(), D0_2009_S8320160::init(), ALEPH_2001_S4656318::init(), CDF_2001_S4517016::init(), DELPHI_2002_069_CONF_603::init(), ATLAS_2012_I1082936::init(), CDF_1996_S3349578::init(), D0_2006_S6438750::init(), SLD_2002_S4869273::init(), D0_2010_S8566488::init(), CDF_1996_S3418421::init(), SLD_1996_S3398250::init(), ATLAS_2011_I921594::init(), LHCB_2012_I1119400::init(), CDF_2008_S7541902::init(), D0_2008_S7662670::init(), CDF_2006_S6653332::init(), ATLAS_2011_S9108483::init(), ATLAS_2012_I1199269::init(), TASSO_1990_S2148048::init(), ATLAS_2012_I1082009::init(), ATLAS_2012_I946427::init(), ATLAS_2012_I1084540::init(), CMS_2013_I1224539_DIJET::init(), CDF_2009_S8233977::init(), D0_2004_S5992206::init(), ATLAS_2010_S8914702::init(), D0_2008_S7719523::init(), ATLAS_2011_S9120807::init(), ATLAS_2010_S8918562::init(), CDF_2001_S4751469::init(), DELPHI_1996_S3430090::init(), ALEPH_1996_S3486095::init(), ALEPH_1999_S4193598::init(), ATLAS_2012_I1093738::init(), OPAL_2004_S6132243::init(), OPAL_1994_S2927284::init(), BELLE_2013_I1216515::init(), STAR_2008_S7869363::init(), BABAR_2007_S6895344::init(), BABAR_2005_S6181155::init(), BELLE_2001_S4598261::init(), ATLAS_2011_I919017::init(), OPAL_2001_S4553896::init(), BABAR_2013_I1238276::init(), DELPHI_2003_WUD_03_11::init(), CDF_2004_S5839831::init(), BABAR_2003_I593379::init(), ARGUS_1993_S2653028::init(), CLEO_2004_S5809304::init(), OPAL_1998_S3780481::init(), OPAL_1993_S2692198::init(), ATLAS_2012_I1094564::init(), SLD_2004_S5693039::init(), BELLE_2006_S6265367::init(), SLD_1999_S3743934::init(), PDG_HADRON_MULTIPLICITIES::init(), PDG_HADRON_MULTIPLICITIES_RATIOS::init(), ATLAS_2014_I1279489::initialisePlots(), ATLAS_2012_I1125575::initializeHistograms(), ATLAS_2012_I1094568::initializePlots(), and ATLAS_2011_S9126244::initializePlots(). { const string path = histoPath(hname); Histo1DPtr hist( new Histo1D(nbins, lower, upper, path, title) ); addAnalysisObject(hist); MSG_TRACE("Made histogram " << hname << " for " << name()); hist->setAnnotation("XLabel", xtitle); hist->setAnnotation("YLabel", ytitle); return hist; }
Book a 1D histogram with non-uniform bins defined by the vector of bin edges binedges . Definition at line 215 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Histo1DPtr hist( new Histo1D(binedges, path, title) ); addAnalysisObject(hist); MSG_TRACE("Made histogram " << hname << " for " << name()); hist->setAnnotation("XLabel", xtitle); hist->setAnnotation("YLabel", ytitle); return hist; }
Book a 1D histogram with binning from a reference scatter. Definition at line 230 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Histo1DPtr hist( new Histo1D(refscatter, path) ); addAnalysisObject(hist); MSG_TRACE("Made histogram " << hname << " for " << name()); hist->setTitle(title); hist->setAnnotation("XLabel", xtitle); hist->setAnnotation("YLabel", ytitle); return hist; }
Book a 1D histogram, using the binnings in the reference data histogram. Definition at line 246 of file Analysis.cc. References Analysis::bookHisto1D(), and Analysis::refData(). { const Scatter2D& refdata = refData(hname); return bookHisto1D(hname, refdata, title, xtitle, ytitle); }
Book a 1D histogram, using the binnings in the reference data histogram. The paper, dataset and x/y-axis IDs will be used to build the histo name in the HepData standard way. Definition at line 255 of file Analysis.cc. References Analysis::bookHisto1D(), and Analysis::makeAxisCode(). { const string axisCode = makeAxisCode(datasetId, xAxisId, yAxisId); return bookHisto1D(axisCode, title, xtitle, ytitle); }
Book a 2D histogram with nxbins and nybins uniformly distributed across the ranges xlower - xupper and ylower - yupper respectively along the x- and y-axis.
Definition at line 270 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). Referenced by MC_PDFS::init(). { const string path = histoPath(hname); Histo2DPtr hist( new Histo2D(nxbins, xlower, xupper, nybins, ylower, yupper, path, title) ); addAnalysisObject(hist); MSG_TRACE("Made 2D histogram " << hname << " for " << name()); hist->setAnnotation("XLabel", xtitle); hist->setAnnotation("YLabel", ytitle); hist->setAnnotation("ZLabel", ztitle); return hist; }
Book a 2D histogram with non-uniform bins defined by the vectorx of bin edges xbinedges and ybinedges. Definition at line 289 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Histo2DPtr hist( new Histo2D(xbinedges, ybinedges, path, title) ); addAnalysisObject(hist); MSG_TRACE("Made 2D histogram " << hname << " for " << name()); hist->setAnnotation("XLabel", xtitle); hist->setAnnotation("YLabel", ytitle); hist->setAnnotation("ZLabel", ztitle); return hist; }
Book a 1D profile histogram with nbins uniformly distributed across the range lower - upper . Definition at line 349 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). Referenced by Analysis::bookProfile1D(), ATLAS_2010_S8894728::init(), CMS_2012_PAS_QCD_11_010::init(), ATLAS_2011_S8994773::init(), ATLAS_2014_I1298811::init(), ALICE_2011_S8945144::init(), ATLAS_2010_S8591806::init(), CDF_2012_NOTE10874::init(), ATLAS_2012_I1124167::init(), STAR_2008_S7993412::init(), CMS_2013_I1261026::init(), CDF_2008_S7782535::init(), ATLAS_2013_I1243871::init(), CDF_2005_S6217184::init(), ATLAS_2011_S8924791::init(), D0_1996_S3324664::init(), UA1_1990_S2044935::init(), STAR_2009_UE_HELEN::init(), STAR_2006_S6860818::init(), ALICE_2010_S8706239::init(), ALEPH_2001_S4656318::init(), DELPHI_2002_069_CONF_603::init(), CDF_2009_S8233977::init(), CDF_2010_S8591881_QCD::init(), CDF_2001_S4751469::init(), ATLAS_2010_S8918562::init(), DELPHI_1996_S3430090::init(), CDF_2004_S5839831::init(), ATLAS_2014_I1279489::initialisePlots(), ATLAS_2011_S9126244::initializePlots(), and ATLAS_2012_I1125575::initializeProfiles(). { const string path = histoPath(hname); Profile1DPtr prof( new Profile1D(nbins, lower, upper, path, title) ); addAnalysisObject(prof); MSG_TRACE("Made profile histogram " << hname << " for " << name()); prof->setAnnotation("XLabel", xtitle); prof->setAnnotation("YLabel", ytitle); return prof; }
Book a 1D profile histogram with non-uniform bins defined by the vector of bin edges binedges . Definition at line 364 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Profile1DPtr prof( new Profile1D(binedges, path, title) ); addAnalysisObject(prof); MSG_TRACE("Made profile histogram " << hname << " for " << name()); prof->setAnnotation("XLabel", xtitle); prof->setAnnotation("YLabel", ytitle); return prof; }
Book a 1D profile histogram with binning from a reference scatter. Definition at line 379 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Profile1DPtr prof( new Profile1D(refscatter, path) ); addAnalysisObject(prof); MSG_TRACE("Made profile histogram " << hname << " for " << name()); prof->setTitle(title); prof->setAnnotation("XLabel", xtitle); prof->setAnnotation("YLabel", ytitle); return prof; }
Book a 1D profile histogram, using the binnings in the reference data histogram. Definition at line 395 of file Analysis.cc. References Analysis::bookProfile1D(), and Analysis::refData(). { const Scatter2D& refdata = refData(hname); return bookProfile1D(hname, refdata, title, xtitle, ytitle); }
Book a 1D profile histogram, using the binnings in the reference data histogram. The paper, dataset and x/y-axis IDs will be used to build the histo name in the HepData standard way. Definition at line 404 of file Analysis.cc. References Analysis::bookProfile1D(), and Analysis::makeAxisCode(). { const string axisCode = makeAxisCode(datasetId, xAxisId, yAxisId); return bookProfile1D(axisCode, title, xtitle, ytitle); }
Book a 2D profile histogram with nxbins and nybins uniformly distributed across the ranges xlower - xupper and ylower - yupper respectively along the x- and y-axis. Definition at line 417 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Profile2DPtr prof( new Profile2D(nxbins, xlower, xupper, nybins, ylower, yupper, path, title) ); addAnalysisObject(prof); MSG_TRACE("Made 2D profile histogram " << hname << " for " << name()); prof->setAnnotation("XLabel", xtitle); prof->setAnnotation("YLabel", ytitle); prof->setAnnotation("ZLabel", ztitle); return prof; }
Book a 2D profile histogram with non-uniform bins defined by the vectorx of bin edges xbinedges and ybinedges. Definition at line 436 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). { const string path = histoPath(hname); Profile2DPtr prof( new Profile2D(xbinedges, ybinedges, path, title) ); addAnalysisObject(prof); MSG_TRACE("Made 2D profile histogram " << hname << " for " << name()); prof->setAnnotation("XLabel", xtitle); prof->setAnnotation("YLabel", ytitle); prof->setAnnotation("ZLabel", ztitle); return prof; }
Book a 2-dimensional data point set with the given name.
Definition at line 506 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, Analysis::name(), Analysis::refData(), and Rivet::s. Referenced by Analysis::bookScatter2D(), MC_JetAnalysis::finalize(), MC_ParticleAnalysis::finalize(), OPAL_2002_S5361494::finalize(), DELPHI_2000_S4328825::finalize(), BABAR_2007_S7266081::finalize(), LHCB_2011_I917009::finalize(), ARGUS_1993_S2669951::finalize(), ALEPH_2004_S5765862::finalize(), SLD_2004_S5693039::finalize(), ATLAS_2011_S9126244::finalize(), SLD_1999_S3743934::finalize(), ATLAS_2014_I1279489::finalizeEfficiencies(), ATLAS_2010_S8894728::init(), ALICE_2012_I1181770::init(), ALICE_2011_S8909580::init(), CMS_2011_S8978280::init(), LHCB_2013_I1208105::init(), CMS_2011_S9088458::init(), ATLAS_2011_S9002537::init(), STAR_2006_S6500200::init(), ATLAS_2011_S9128077::init(), MC_JetSplittings::init(), CDF_2008_S7782535::init(), CMS_2012_I1102908::init(), CDF_2005_S6217184::init(), MC_ParticleAnalysis::init(), MC_JetAnalysis::init(), CDF_1994_S2952106::init(), D0_2001_S4674421::init(), ATLAS_2012_I1188891::init(), MC_XS::init(), STAR_2006_S6860818::init(), CMS_2013_I1218372::init(), UA5_1988_S1867512::init(), CDF_1996_S3418421::init(), LHCB_2012_I1119400::init(), CDF_2008_S7541902::init(), D0_2008_S7719523::init(), ATLAS_2012_I1093734::init(), SLD_2004_S5693039::init(), SLD_1999_S3743934::init(), ATLAS_2012_I1094568::initializePlots(), ATLAS_2011_S9126244::initializePlots(), and SLD_1996_S3398250::multiplicity_subtract(). { Scatter2DPtr s; const string path = histoPath(hname); if (copy_pts) { const Scatter2D& refdata = refData(hname); s.reset( new Scatter2D(refdata, path) ); foreach (Point2D& p, s->points()) p.setY(0, 0); } else { s.reset( new Scatter2D(path) ); } addAnalysisObject(s); MSG_TRACE("Made scatter " << hname << " for " << name()); s->setTitle(title); s->setAnnotation("XLabel", xtitle); s->setAnnotation("YLabel", ytitle); return s; }
Book a 2-dimensional data point set, using the binnings in the reference data histogram. The paper, dataset and x/y-axis IDs will be used to build the histo name in the HepData standard way.
Definition at line 496 of file Analysis.cc. References Analysis::bookScatter2D(), and Analysis::makeAxisCode(). { const string axisCode = makeAxisCode(datasetId, xAxisId, yAxisId); return bookScatter2D(axisCode, copy_pts, title, xtitle, ytitle); }
Book a 2-dimensional data point set with equally spaced x-points in a range. The y values and errors will be set to 0. Definition at line 529 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, Analysis::name(), and Rivet::s. { const string path = histoPath(hname); Scatter2DPtr s( new Scatter2D(path) ); const double binwidth = (upper-lower)/npts; for (size_t pt = 0; pt < npts; ++pt) { const double bincentre = lower + (pt + 0.5) * binwidth; s->addPoint(bincentre, 0, binwidth/2.0, 0); } addAnalysisObject(s); MSG_TRACE("Made scatter " << hname << " for " << name()); s->setTitle(title); s->setAnnotation("XLabel", xtitle); s->setAnnotation("YLabel", ytitle); return s; }
Book a 2-dimensional data point set based on provided contiguous "bin edges". The y values and errors will be set to 0. Definition at line 550 of file Analysis.cc. References Analysis::addAnalysisObject(), Analysis::histoPath(), MSG_TRACE, Analysis::name(), and Rivet::s. { const string path = histoPath(hname); Scatter2DPtr s( new Scatter2D(path) ); for (size_t pt = 0; pt < binedges.size()-1; ++pt) { const double bincentre = (binedges[pt] + binedges[pt+1]) / 2.0; const double binwidth = binedges[pt+1] - binedges[pt]; s->addPoint(bincentre, 0, binwidth/2.0, 0); } addAnalysisObject(s); MSG_TRACE("Made scatter " << hname << " for " << name()); s->setTitle(title); s->setAnnotation("XLabel", xtitle); s->setAnnotation("YLabel", ytitle); return s; }
Collider on which the experiment ran. Definition at line 170 of file Analysis.hh. References AnalysisInfo::collider(), and Analysis::info().
Get the process cross-section in pb. Throws if this hasn't been set. Definition at line 155 of file Analysis.cc. References Analysis::_crossSection, Analysis::_gotCrossSection, and Analysis::name(). Referenced by MC_JetSplittings::finalize(), MC_JetAnalysis::finalize(), MC_ParticleAnalysis::finalize(), CDF_2006_S6450792::finalize(), TOTEM_2012_002::finalize(), CMS_2011_S9086218::finalize(), CDF_2008_S7828950::finalize(), MC_XS::finalize(), CDF_2000_S4155203::finalize(), CDF_2008_S8093652::finalize(), BELLE_2013_I1216515::finalize(), CMS_2011_S8941262::finalize(), CDF_2001_S4563131::finalize(), CDF_1998_S3618439::finalize(), CMS_2012_I1087342::finalize(), CMS_2011_I954992::finalize(), CMS_2012_I1184941::finalize(), ATLAS_2012_I1118269::finalize(), BABAR_2005_S6181155::finalize(), CDF_2009_S8383952::finalize(), D0_2010_S8566488::finalize(), STAR_2006_S6870392::finalize(), ATLAS_2011_I894867::finalize(), LHCB_2010_I867355::finalize(), CDF_2000_S4266730::finalize(), CDF_2009_S8436959::finalize(), CDF_2001_S4517016::finalize(), D0_2011_I895662::finalize(), CMS_2012_I1193338::finalize(), CDF_2005_S6080774::finalize(), ATLAS_2014_I1282441::finalize(), D0_2006_S6438750::finalize(), CMS_2013_I1273574::finalize(), D0_2000_I499943::finalize(), ALICE_2012_I1181770::finalize(), CLEO_2004_S5809304::finalize(), ATLAS_2011_S9035664::finalize(), D0_2008_S7662670::finalize(), ATLAS_2010_CONF_2010_049::finalize(), CDF_2009_S8233977::finalize(), LHCB_2013_I1218996::finalize(), D0_2010_S8570965::finalize(), CMS_2011_S8973270::finalize(), ATLAS_2012_I946427::finalize(), CDF_2008_S7541902::finalize(), ATLAS_2011_I921594::finalize(), ATLAS_2013_I1263495::finalize(), CDF_2006_S6653332::finalize(), D0_2008_S7719523::finalize(), ATLAS_2014_I1307756::finalize(), ATLAS_2011_S9108483::finalize(), CDF_2008_S7540469::finalize(), ATLAS_2012_I1199269::finalize(), ATLAS_2010_S8914702::finalize(), ATLAS_2011_S9120807::finalize(), BELLE_2006_S6265367::finalize(), ATLAS_2012_I1084540::finalize(), ATLAS_2012_I1093738::finalize(), ATLAS_2012_I1204447::finalize(), and ATLAS_2011_I919017::finalize(). { if (!_gotCrossSection || std::isnan(_crossSection)) { string errMsg = "You did not set the cross section for the analysis " + name(); throw Error(errMsg); } return _crossSection; }
Get the process cross-section per generated event in pb. Throws if this hasn't been set. Definition at line 163 of file Analysis.cc. References Analysis::_crossSection, and Analysis::sumOfWeights(). Referenced by CDF_2007_S7057202::finalize(), CDF_1988_S1865951::finalize(), LHCB_2011_I919315::finalize(), ATLAS_2014_I1268975::finalize(), ATLAS_2010_S8817804::finalize(), ATLAS_2012_I1082936::finalize(), ATLAS_2011_I930220::finalize(), UA1_1990_S2044935::finalize(), D0_2001_S4674421::finalize(), and ATLAS_2011_S9128077::finalize(). { const double sumW = sumOfWeights(); assert(sumW != 0.0); return _crossSection / sumW; }
Get a full description of the analysis. Full textual description of this analysis, what it is useful for, what experimental techniques are applied, etc. Should be treated as a chunk of restructuredText (http://docutils.sourceforge.net/rst.html), with equations to be rendered as LaTeX with amsmath operators. Definition at line 151 of file Analysis.hh. References AnalysisInfo::description(), and Analysis::info(). { return info().description(); }
Helper for histogram division.
Definition at line 574 of file Analysis.cc. Referenced by MC_JetAnalysis::finalize(), MC_ParticleAnalysis::finalize(), CMS_2011_S9088458::finalize(), ATLAS_2012_I1094061::HistoPair::finalize(), CDF_1996_S3418421::finalize(), ALICE_2011_S8909580::finalize(), STAR_2006_S6500200::finalize(), CMS_2011_S8978280::finalize(), ALICE_2012_I1181770::finalize(), LHCB_2011_I917009::finalize(), ATLAS_2012_I1188891::finalize(), D0_2008_S7719523::finalize(), STAR_2006_S6860818::finalize(), LHCB_2012_I1119400::finalize(), CMS_2013_I1218372::finalize(), ATLAS_2011_S9128077::finalize(), SLD_2004_S5693039::finalize(), ATLAS_2011_S9126244::finalize(), SLD_1999_S3743934::finalize(), and ATLAS_2014_I1279489::finalizeEfficiencies().
Helper for histogram division with raw YODA objects.
Helper for profile histogram division.
Helper for profile histogram division with raw YODA objects.
Helper for 2D histogram division.
Helper for 2D histogram division with raw YODA objects.
Helper for 2D profile histogram division.
Helper for 2D profile histogram division with raw YODA objects
Helper for histogram efficiency calculation.
Definition at line 626 of file Analysis.cc. Referenced by CMS_2012_I1102908::finalize(). { const string path = s->path(); *s = YODA::efficiency(*h1, *h2); s->setPath(path); }
Helper for histogram efficiency calculation.
Experiment which performed and published this analysis. Definition at line 165 of file Analysis.hh. References AnalysisInfo::experiment(), and Analysis::info(). { return info().experiment(); }
Finalize this analysis object. A concrete class should here make all necessary operations on the histograms. Writing the histograms to a file is, however, done by the Rivet class. An overridden function must make sure it first calls the base class function. Reimplemented from Analysis. Definition at line 570 of file ATLAS_2011_S9041966.cc. { // cerr << '\n' << "Of " << count << " events, saw " // << vetoe << " (after veto region cut), " // << Njetscut << " (after 2jet req). " // << '\n' // << "For " << dilept << " dilept events: " // << candmumujj << " cand mumujj events, " // << candeejj << " cand eejj events." // << '\n' // << "For " << onelept << " onelept events: " // << candmvjj << " preselected mvjj events, " // << candevjj << " preselected evjj events; " // << eTmisscut << " (eTmiss req); " // << emuvjj << " leftover; " // << MLQonelept << " (muvjj M_LQ cut), " // << MtLQonelept << " (muvjj Mt_LQ cut), " // << Stvonelept << " (muvjj St_v cut), " // << mTonelept << " (muvjj mT cut); " // << MLQev << " (evjj M_LQ cut), " // << MtLQev << " (evjj Mt_LQ cut), " // << Stvev << " (evjj St_v cut), " // << mTev << " (evjj mT cut). " // << '\n'<<'\n' // ; // cerr << "CR - " << "mumu Z: " << mumuZCR << " ee Z: " << eeZCR << " munu W+2jets: " << munuW2CR << " munu tt: " << munuttCR << " enu W+2jets: " << enuW2CR << " enu tt: " << enuttCR << '\n'; // cerr << "mumujj: " << mumujj << " eejj: " << eejj << " muvjj: " << muvjj << " evjj: " << evjj << '\n'; scale( _hist_St_ee, 120. * 35. * crossSection()/sumOfWeights() ); scale( _hist_St_mumu, 120. * 35. * crossSection()/sumOfWeights() ); scale( _hist_MLQ_muv, 50. * 35. * crossSection()/sumOfWeights() ); scale( _hist_MLQ_ev, 50. * 35. * crossSection()/sumOfWeights() ); scale( _hist_St_mumu_ZCR, 20. * 35. * crossSection()/sumOfWeights() ); scale( _hist_St_ee_ZCR, 20. * 35. * crossSection()/sumOfWeights() ); scale( _hist_MLQ_munu_W2CR, 20. * 35. * crossSection()/sumOfWeights() ); scale( _hist_MLQ_enu_W2CR, 20. * 35. * crossSection()/sumOfWeights() ); scale( _hist_MLQ_munu_ttCR, 20. * 35. * crossSection()/sumOfWeights() ); scale( _hist_MLQ_enu_ttCR, 20. * 35. * crossSection()/sumOfWeights() ); /* scale( _hist_eTmiss_mu, binwidth*luminosity* crossSection()/sumOfWeights() ); */ }
Get a data object from the histogram system
Definition at line 712 of file Analysis.hh. References Analysis::analysisObjects(), and Analysis::histoPath(). { foreach (const AnalysisObjectPtr& ao, analysisObjects()) { if (ao->path() == histoPath(name)) return dynamic_pointer_cast<AO>(ao); } throw Exception("Data object " + histoPath(name) + " not found"); }
Get a data object from the histogram system (non-const)
Definition at line 723 of file Analysis.hh. References Analysis::analysisObjects(), and Analysis::histoPath(). { foreach (const AnalysisObjectPtr& ao, analysisObjects()) { if (ao->path() == histoPath(name)) return dynamic_pointer_cast<AO>(ao); } throw Exception("Data object " + histoPath(name) + " not found"); }
Get a named Histo1D object from the histogram system. Definition at line 738 of file Analysis.hh. References Analysis::name(). { return getAnalysisObject<Histo1D>(name); }
Get a named Histo1D object from the histogram system (non-const) Definition at line 743 of file Analysis.hh. References Analysis::name(). { return getAnalysisObject<Histo1D>(name); }
Get a Histo1D object from the histogram system by axis ID codes (non-const) Definition at line 748 of file Analysis.hh. References Analysis::makeAxisCode(). { return getAnalysisObject<Histo1D>(makeAxisCode(datasetId, xAxisId, yAxisId)); }
Get a Histo1D object from the histogram system by axis ID codes (non-const) Definition at line 753 of file Analysis.hh. References Analysis::makeAxisCode(). { return getAnalysisObject<Histo1D>(makeAxisCode(datasetId, xAxisId, yAxisId)); } Get a Log object based on the name() property of the calling analysis object. Reimplemented from ProjectionApplier. Definition at line 82 of file Analysis.cc. References Analysis::name(). { string logname = "Rivet.Analysis." + name(); return Log::getLog(logname); }
Get a named Profile1D object from the histogram system. Definition at line 780 of file Analysis.hh. References Analysis::name(). { return getAnalysisObject<Profile1D>(name); }
Get a named Profile1D object from the histogram system (non-const) Definition at line 785 of file Analysis.hh. References Analysis::name(). { return getAnalysisObject<Profile1D>(name); }
Get a Profile1D object from the histogram system by axis ID codes (non-const) Definition at line 790 of file Analysis.hh. References Analysis::makeAxisCode(). { return getAnalysisObject<Profile1D>(makeAxisCode(datasetId, xAxisId, yAxisId)); }
Get a Profile1D object from the histogram system by axis ID codes (non-const) Definition at line 795 of file Analysis.hh. References Analysis::makeAxisCode(). { return getAnalysisObject<Profile1D>(makeAxisCode(datasetId, xAxisId, yAxisId)); }
Get the named projection, specifying return type via a template argument. Definition at line 52 of file ProjectionApplier.hh. References ProjectionHandler::getProjection(), and ProjectionApplier::getProjHandler(). Referenced by ProjectionApplier::_applyProjection(), Rivet::pcmp(), and Hemispheres::project(). { const Projection& p = getProjHandler().getProjection(*this, name); return pcast<PROJ>(p); }
Get the named projection (non-templated, so returns as a reference to a Projection base class). Definition at line 60 of file ProjectionApplier.hh. References ProjectionHandler::getProjection(), and ProjectionApplier::getProjHandler(). { return getProjHandler().getProjection(*this, name); }
Get the contained projections, including recursion. Definition at line 45 of file ProjectionApplier.hh. References ProjectionHandler::DEEP, ProjectionHandler::getChildProjections(), and ProjectionApplier::getProjHandler(). Referenced by Projection::beamPairs(). { return getProjHandler().getChildProjections(*this, ProjectionHandler::DEEP); }
Get a reference to the ProjectionHandler for this thread. Definition at line 97 of file ProjectionApplier.hh. References ProjectionApplier::_projhandler. Referenced by ProjectionApplier::_addProjection(), ProjectionApplier::getProjection(), ProjectionApplier::getProjections(), and ProjectionApplier::~ProjectionApplier(). { return _projhandler; }
Get a named Scatter2D object from the histogram system. Definition at line 822 of file Analysis.hh. References Analysis::name(). Referenced by ATLAS_2014_I1279489::finalizeEfficiencies(). { return getAnalysisObject<Scatter2D>(name); }
Get a named Scatter2D object from the histogram system (non-const) Definition at line 827 of file Analysis.hh. References Analysis::name(). { return getAnalysisObject<Scatter2D>(name); }
Get a Scatter2D object from the histogram system by axis ID codes (non-const) Definition at line 832 of file Analysis.hh. References Analysis::makeAxisCode(). { return getAnalysisObject<Scatter2D>(makeAxisCode(datasetId, xAxisId, yAxisId)); }
Get a Scatter2D object from the histogram system by axis ID codes (non-const) Definition at line 837 of file Analysis.hh. References Analysis::makeAxisCode(). { return getAnalysisObject<Scatter2D>(makeAxisCode(datasetId, xAxisId, yAxisId)); }
Access the controlling AnalysisHandler object. Definition at line 288 of file Analysis.hh. References Analysis::_analysishandler. Referenced by Analysis::beamIds(), Analysis::beams(), Analysis::histoDir(), Analysis::numEvents(), Analysis::sqrtS(), and Analysis::sumOfWeights(). { return *_analysishandler; }
Get the canonical histogram "directory" path for this analysis.
Definition at line 40 of file Analysis.cc. References Analysis::handler(), Analysis::name(), and AnalysisHandler::runName(). Referenced by Analysis::histoPath().
Get the canonical histogram path for the named histogram in this analysis. Definition at line 56 of file Analysis.cc. References Analysis::histoDir(). Referenced by Analysis::bookHisto1D(), Analysis::bookHisto2D(), Analysis::bookProfile1D(), Analysis::bookProfile2D(), Analysis::bookScatter2D(), ATLAS_2012_I1094061::HistoPair::finalize(), H1_1995_S3167097::finalize(), and Analysis::getAnalysisObject(). { const string path = histoDir() + "/" + hname; return path; }
Get the canonical histogram path for the numbered histogram in this analysis. Definition at line 62 of file Analysis.cc. References Analysis::histoDir(), and Analysis::makeAxisCode(). { return histoDir() + "/" + makeAxisCode(datasetId, xAxisId, yAxisId); }
Get the actual AnalysisInfo object in which all this metadata is stored. Definition at line 104 of file Analysis.hh. References Analysis::_info. Referenced by Analysis::authors(), Analysis::bibKey(), Analysis::bibTeX(), Analysis::collider(), Analysis::description(), Analysis::experiment(), Analysis::inspireId(), Analysis::name(), Analysis::needsCrossSection(), Analysis::references(), Analysis::requiredBeams(), Analysis::requiredEnergies(), Analysis::runInfo(), Analysis::setNeedsCrossSection(), Analysis::setRequiredBeams(), Analysis::setRequiredEnergies(), Analysis::spiresId(), Analysis::status(), Analysis::summary(), Analysis::todos(), and Analysis::year().
Get the actual AnalysisInfo object in which all this metadata is stored (non-const). Definition at line 246 of file Analysis.hh. References Analysis::_info.
Book histograms and initialize projections before the run. DEBUG Book histograms Reimplemented from Analysis. Definition at line 51 of file ATLAS_2011_S9041966.cc. References IdentifiedFinalState::acceptIdPair(), VetoedFinalState::addVetoPairDetail(), FastJets::ANTIKT, Rivet::PID::ELECTRON, Rivet::Cuts::etaIn(), Rivet::GeV, Rivet::PID::MUON, and Rivet::Cuts::pT. { // projection to find the electrons IdentifiedFinalState elecs(etaIn(-2.47, 2.47) & (pT >= 20.0*GeV)); elecs.acceptIdPair(PID::ELECTRON); addProjection(elecs, "elecs"); // veto region electrons Cut vetocut = etaIn(-1.52, -1.35) | etaIn( 1.35, 1.52); IdentifiedFinalState veto_elecs(vetocut & (pT >= 10.0*GeV)); veto_elecs.acceptIdPair(PID::ELECTRON); addProjection(veto_elecs, "veto_elecs"); ///DEBUG // projection to find all leptons IdentifiedFinalState all_mu_e; all_mu_e.acceptIdPair(PID::MUON); all_mu_e.acceptIdPair(PID::ELECTRON); addProjection(all_mu_e, "all_mu_e"); //debug // projection to find the muons IdentifiedFinalState muons(etaIn(-2.4, 2.4) & (pT >= 20.0*GeV)); muons.acceptIdPair(PID::MUON); addProjection(muons, "muons"); // Jet finder VetoedFinalState vfs; vfs.addVetoPairDetail(PID::MUON,20*GeV,7000*GeV); vfs.addVetoPairDetail(PID::ELECTRON,20*GeV,7000*GeV); addProjection(FastJets(vfs, FastJets::ANTIKT, 0.4), "AntiKtJets04"); // all tracks (to do deltaR with leptons) addProjection(ChargedFinalState(-3.0,3.0,0.5*GeV),"cfs"); // for pTmiss addProjection(VisibleFinalState(-4.9,4.9),"vfs"); /// Book histograms _count_mumujj = bookHisto1D("count_2muons_dijet", 1, 0., 1.); _count_eejj = bookHisto1D("count_2elecs_dijet", 1, 0., 1.); _count_muvjj = bookHisto1D("count_muon_neutrino_dijet", 1, 0., 1.); _count_evjj = bookHisto1D("count_elec_neutrino_dijet", 1, 0., 1.); _hist_St_mumu = bookHisto1D("hist_mumujj_St", 10, 450., 1650.); _hist_St_ee = bookHisto1D("hist_eejj_St", 10, 450., 1650.); _hist_MLQ_muv = bookHisto1D("hist_munujj_MLQ", 9, 150., 600.); _hist_MLQ_ev = bookHisto1D("hist_enujj_MLQ", 9, 150., 600.); _hist_St_mumu_ZCR = bookHisto1D("CR_Zjets_St_mumu", 40, 0., 800.); _hist_St_ee_ZCR = bookHisto1D("CR_Zjets_Stee", 40, 0., 800.); _hist_MLQ_munu_W2CR = bookHisto1D("CR_W2jets_MLQ_munu", 20, 0., 400.); _hist_MLQ_enu_W2CR = bookHisto1D("CR_W2jets_MLQ_enu", 20, 0., 400.); _hist_MLQ_munu_ttCR = bookHisto1D("CR_tt_MLQ_munu", 35, 0., 700.); _hist_MLQ_enu_ttCR = bookHisto1D("CR_tt_MLQ_enu", 35, 0., 700.); }
Get the Inspire ID code for this analysis. Definition at line 119 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::inspireId().
Helper for converting a differential histo to an integral one.
Definition at line 700 of file Analysis.cc.
Helper for converting a differential histo to an integral one.
Definition at line 707 of file Analysis.cc.
Check if analysis is compatible with the provided beam particle IDs and energies. Definition at line 101 of file Analysis.cc. Referenced by Analysis::isCompatible(). { return isCompatible(beams.first.pid(), beams.second.pid(), beams.first.energy(), beams.second.energy()); }
Check if analysis is compatible with the provided beam particle IDs and energies. Definition at line 107 of file Analysis.cc. References Analysis::beams(), and Analysis::isCompatible(). { PdgIdPair beams(beam1, beam2); pair<double,double> energies(e1, e2); return isCompatible(beams, energies); }
Check if analysis is compatible with the provided beam particle IDs and energies.
Get the internal histogram name for given d, x and y (cf. HepData) Definition at line 67 of file Analysis.cc. Referenced by Analysis::bookHisto1D(), Analysis::bookProfile1D(), Analysis::bookScatter2D(), Analysis::getHisto1D(), Analysis::getProfile1D(), Analysis::getScatter2D(), Analysis::histoPath(), and Analysis::refData(). { stringstream axisCode; axisCode << "d"; if (datasetId < 10) axisCode << 0; axisCode << datasetId; axisCode << "-x"; if (xAxisId < 10) axisCode << 0; axisCode << xAxisId; axisCode << "-y"; if (yAxisId < 10) axisCode << 0; axisCode << yAxisId; return axisCode.str(); }
Get the name of the analysis. By default this is computed by combining the results of the experiment, year and Spires ID metadata methods and you should only override it if there's a good reason why those won't work. Implements ProjectionApplier. Definition at line 114 of file Analysis.hh. References Analysis::_defaultname, Analysis::info(), and AnalysisInfo::name(). Referenced by Analysis::_cacheRefData(), Analysis::Analysis(), Analysis::bookHisto1D(), Analysis::bookHisto2D(), Analysis::bookProfile1D(), Analysis::bookProfile2D(), Analysis::bookScatter2D(), Analysis::crossSection(), Analysis::getHisto1D(), Analysis::getLog(), Analysis::getProfile1D(), Analysis::getScatter2D(), Analysis::histoDir(), Analysis::normalize(), Analysis::refData(), and Analysis::scale(). { return (info().name().empty()) ? _defaultname : info().name(); }
Return true if this analysis needs to know the process cross-section.
Definition at line 229 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::needsCrossSection(). { return info().needsCrossSection(); }
Normalize the given histogram, histo, to area = norm.
Definition at line 652 of file Analysis.cc. References MSG_ERROR, MSG_TRACE, MSG_WARNING, and Analysis::name(). Referenced by CMS_2011_S8950903::finalize(), TOTEM_2012_002::finalize(), CMS_2011_S8968497::finalize(), CMS_2012_I1090423::finalize(), D0_2007_S7075677::finalize(), D0_2008_S7554427::finalize(), CDF_2009_NOTE_9936::finalize(), BABAR_2005_S6181155::finalize(), CMS_2013_I1265659::finalize(), ALICE_2010_S8624100::finalize(), ATLAS_2011_S8971293::finalize(), ALICE_2010_S8625980::finalize(), CDF_1996_S3418421::finalize(), D0_2009_S8320160::finalize(), CMS_2011_S8957746::finalize(), D0_1996_S3324664::finalize(), ATLAS_2012_I1119557::finalize(), DELPHI_1995_S3137023::finalize(), CMS_2013_I1273574::finalize(), CDF_1993_S2742446::finalize(), SLD_2002_S4869273::finalize(), CMS_2013_I1272853::finalize(), D0_2008_S6879055::finalize(), D0_1996_S3214044::finalize(), CDF_1996_S3108457::finalize(), EXAMPLE::finalize(), CDF_1994_S2952106::finalize(), JADE_1998_S3612880::finalize(), CMS_2013_I1224539_DIJET::finalize(), ALEPH_2001_S4656318::finalize(), DELPHI_2002_069_CONF_603::finalize(), D0_2004_S5992206::finalize(), OPAL_1997_S3396100::finalize(), D0_2001_S4674421::finalize(), OPAL_2001_S4553896::finalize(), TASSO_1990_S2148048::finalize(), STAR_2008_S7869363::finalize(), OPAL_1998_S3780481::finalize(), CDF_1997_S3541940::finalize(), DELPHI_2003_WUD_03_11::finalize(), JADE_OPAL_2000_S4300807::finalize(), ATLAS_2014_I1298811::finalize(), ATLAS_2012_I1124167::finalize(), BELLE_2006_S6265367::finalize(), CDF_2001_S4751469::finalize(), ALEPH_2004_S5765862::finalize(), CDF_2004_S5839831::finalize(), CDF_1996_S3349578::finalize(), ATLAS_2012_I1094564::finalize(), ALEPH_1996_S3486095::finalize(), DELPHI_1996_S3430090::finalize(), ATLAS_2014_I1279489::finalizePlots(), and ATLAS_2011_I919017::safeinvscale(). { if (!histo) { MSG_ERROR("Failed to normalize histo=NULL in analysis " << name() << " (norm=" << norm << ")"); return; } MSG_TRACE("Normalizing histo " << histo->path() << " to " << norm); try { histo->normalize(norm, includeoverflows); } catch (YODA::Exception& we) { MSG_WARNING("Could not normalize histo " << histo->path()); return; } }
Normalize the given histogram, histo, to area = norm.
Get the number of events seen (via the analysis handler). Use in the finalize phase only. Definition at line 88 of file Analysis.cc. References Analysis::handler(), and AnalysisHandler::numEvents(). Referenced by STAR_2008_S7993412::analyze(), STAR_2006_S6870392::analyze(), CDF_2008_S7540469::analyze(), and ATLAS_2014_I1307756::finalize().
Get reference data for a named histo. Definition at line 183 of file Analysis.cc. References Analysis::_cacheRefData(), Analysis::_refdata, MSG_ERROR, MSG_TRACE, and Analysis::name(). Referenced by ATLAS_2011_S8994773::analyze(), CDF_2001_S4751469::analyze(), ATLAS_2010_S8894728::analyze(), Analysis::bookHisto1D(), Analysis::bookProfile1D(), Analysis::bookScatter2D(), OPAL_2002_S5361494::finalize(), DELPHI_2000_S4328825::finalize(), ATLAS_2011_S9128077::finalize(), ALEPH_2004_S5765862::finalize(), ATLAS_2010_S8894728::init(), LHCB_2013_I1208105::init(), ALICE_2011_S8909580::init(), ATLAS_2011_S9002537::init(), CMS_2011_S9088458::init(), STAR_2006_S6500200::init(), ATLAS_2011_S9128077::init(), CMS_2012_I1102908::init(), CDF_1994_S2952106::init(), ATLAS_2012_I1188891::init(), CMS_2013_I1218372::init(), CDF_1996_S3418421::init(), LHCB_2012_I1119400::init(), LHCB_2011_I917009::init(), ATLAS_2012_I1093734::init(), SLD_1999_S3743934::init(), ATLAS_2014_I1279489::initialisePlots(), ATLAS_2012_I1125575::initializeHistograms(), ATLAS_2012_I1094568::initializePlots(), ATLAS_2011_S9126244::initializePlots(), and Analysis::refData().
Get reference data for a numbered histo. Definition at line 194 of file Analysis.cc. References Analysis::makeAxisCode(), and Analysis::refData(). { const string hname = makeAxisCode(datasetId, xAxisId, yAxisId); return refData(hname); }
Journal, and preprint references. Definition at line 180 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::references(). { return info().references(); }
Unregister a data object from the histogram system (by name) Definition at line 725 of file Analysis.cc. References Analysis::_analysisobjects. Referenced by ATLAS_2014_I1279489::finalizeEfficiencies(). { for (vector<AnalysisObjectPtr>::iterator it = _analysisobjects.begin(); it != _analysisobjects.end(); ++it) { if ((*it)->path() == path) { _analysisobjects.erase(it); break; } } }
Unregister a data object from the histogram system (by pointer) Definition at line 734 of file Analysis.cc. References Analysis::_analysisobjects. { for (vector<AnalysisObjectPtr>::iterator it = _analysisobjects.begin(); it != _analysisobjects.end(); ++it) { if (*it == ao) { _analysisobjects.erase(it); break; } } }
Return the allowed pairs of incoming beams required by this analysis. Definition at line 206 of file Analysis.hh. References AnalysisInfo::beams(), and Analysis::info().
Sets of valid beam energy pairs, in GeV. Definition at line 217 of file Analysis.hh. References AnalysisInfo::energies(), and Analysis::info(). Referenced by Analysis::setRequiredEnergies().
Information about the events needed as input for this analysis. Event types, energies, kinematic cuts, particles to be considered stable, etc. etc. Should be treated as a restructuredText bullet list (http://docutils.sourceforge.net/rst.html) Definition at line 160 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::runInfo().
Multiplicatively scale the given histogram, histo, by factor scale.
Definition at line 667 of file Analysis.cc. References MSG_ERROR, MSG_TRACE, MSG_WARNING, and Analysis::name(). Referenced by MC_JetSplittings::finalize(), MC_JetAnalysis::finalize(), MC_ParticleAnalysis::finalize(), ALEPH_1991_S2435284::finalize(), CDF_2006_S6450792::finalize(), TOTEM_2012_I1115294::finalize(), E735_1998_S3905616::finalize(), ATLAS_2010_S8591806::finalize(), MC_XS::finalize(), UA5_1987_S1640666::finalize(), BELLE_2013_I1216515::finalize(), CDF_2008_S8093652::finalize(), CDF_2000_S4155203::finalize(), CMS_2011_S8941262::finalize(), BABAR_2007_S6895344::finalize(), CDF_2001_S4563131::finalize(), CMS_2012_I1087342::finalize(), BELLE_2008_I786560::finalize(), CDF_1998_S3618439::finalize(), CDF_1990_S2089246::finalize(), CDF_2007_S7057202::finalize(), CMS_2010_S8656010::finalize(), CMS_2011_I954992::finalize(), CDF_1988_S1865951::finalize(), CMS_2012_I1184941::finalize(), ATLAS_2012_I1118269::finalize(), UA5_1982_S875503::finalize(), BABAR_2005_S6181155::finalize(), CMSTOTEM_2014_I1294140::finalize(), CDF_2009_S8383952::finalize(), STAR_2006_S6870392::finalize(), CMS_QCD_10_024::finalize(), ATLAS_2011_I894867::finalize(), LHCB_2010_I867355::finalize(), BELLE_2001_S4598261::finalize(), CMS_2010_S8547297::finalize(), OPAL_1995_S3198391::finalize(), CDF_2000_S4266730::finalize(), CDF_2009_S8436959::finalize(), OPAL_1994_S2927284::finalize(), OPAL_1997_S3608263::finalize(), OPAL_2000_S4418603::finalize(), LHCB_2011_I919315::finalize(), ALICE_2010_S8625980::finalize(), D0_2011_I895662::finalize(), MC_PDFS::finalize(), ALEPH_2002_S4823664::finalize(), ALICE_2010_S8706239::finalize(), CMS_2012_I1193338::finalize(), OPAL_1996_S3257789::finalize(), UA5_1989_S1926373::finalize(), CDF_2005_S6080774::finalize(), ATLAS_2014_I1282441::finalize(), ALICE_2011_S8945144::finalize(), BABAR_2013_I1238276::finalize(), DELPHI_1999_S3960137::finalize(), OPAL_1998_S3702294::finalize(), D0_2006_S6438750::finalize(), CMS_2013_I1273574::finalize(), ALICE_2011_S8909580::finalize(), STAR_2006_S6500200::finalize(), UA5_1986_S1583476::finalize(), D0_2000_I499943::finalize(), CMS_2011_S8978280::finalize(), BABAR_2003_I593379::finalize(), H1_1995_S3167097::finalize(), ALICE_2012_I1181770::finalize(), CLEO_2004_S5809304::finalize(), ARGUS_1993_S2653028::finalize(), D0_2008_S7662670::finalize(), ATLAS_2011_S9035664::finalize(), CMS_2011_S9215166::finalize(), D0_2008_S6879055::finalize(), ATLAS_2010_CONF_2010_049::finalize(), BABAR_2007_S7266081::finalize(), ALEPH_1999_S4193598::finalize(), CDF_2009_S8233977::finalize(), CMS_2013_I1261026::finalize(), SLD_1996_S3398250::finalize(), ATLAS_2011_I930220::finalize(), SFM_1984_S1178091::finalize(), OPAL_1998_S3749908::finalize(), D0_2010_S8570965::finalize(), CMS_2011_S8973270::finalize(), ATLAS_2012_I946427::finalize(), ATLAS_2012_I1082009::finalize(), CDF_2008_S7541902::finalize(), ARGUS_1993_S2669951::finalize(), ATLAS_2011_I921594::finalize(), UA1_1990_S2044935::finalize(), ATLAS_2013_I1263495::finalize(), CDF_2006_S6653332::finalize(), ATLAS_2012_I1091481::finalize(), ALEPH_1996_S3196992::finalize(), OPAL_1993_S2692198::finalize(), D0_2008_S7719523::finalize(), CDF_2008_S8095620::finalize(), OPAL_1998_S3780481::finalize(), STAR_2006_S6860818::finalize(), CMS_2013_I1218372::finalize(), ATLAS_2011_S9128077::finalize(), ATLAS_2010_S8918562::finalize(), JADE_OPAL_2000_S4300807::finalize(), ATLAS_2011_S9108483::finalize(), CDF_2008_S7540469::finalize(), ATLAS_2012_I1199269::finalize(), ATLAS_2010_S8914702::finalize(), ATLAS_2012_I1183818::finalize(), OPAL_2004_S6132243::finalize(), ARGUS_1993_S2789213::finalize(), ATLAS_2011_S9120807::finalize(), BELLE_2006_S6265367::finalize(), ATLAS_2012_I1084540::finalize(), ALEPH_2004_S5765862::finalize(), ATLAS_2012_I1093738::finalize(), SLD_2004_S5693039::finalize(), ALEPH_1996_S3486095::finalize(), DELPHI_1996_S3430090::finalize(), SLD_1999_S3743934::finalize(), ATLAS_2012_I1204447::finalize(), PDG_HADRON_MULTIPLICITIES_RATIOS::finalize(), PDG_HADRON_MULTIPLICITIES::finalize(), ATLAS_2012_I1125575::finalizeHistograms(), ATLAS_2011_I919017::safeinvscale(), and BinnedHistogram< T >::scale(). { if (!histo) { MSG_ERROR("Failed to scale histo=NULL in analysis " << name() << " (scale=" << scale << ")"); return; } if (std::isnan(scale) || std::isinf(scale)) { MSG_ERROR("Failed to scale histo=" << histo->path() << " in analysis: " << name() << " (invalid scale factor = " << scale << ")"); scale = 0; } MSG_TRACE("Scaling histo " << histo->path() << " by factor " << scale); try { histo->scaleW(scale); } catch (YODA::Exception& we) { MSG_WARNING("Could not scale histo " << histo->path()); return; } // // Transforming the histo into a scatter after scaling // vector<double> x, y, ex, ey; // for (size_t i = 0, N = histo->numBins(); i < N; ++i) { // x.push_back( histo->bin(i).midpoint() ); // ex.push_back(histo->bin(i).width()*0.5); // y.push_back(histo->bin(i).height()*scale); // ey.push_back(histo->bin(i).heightErr()*scale); // } // string title = histo->title(); // Scatter2DPtr dps( new Scatter2D(x, y, ex, ey, hpath, title) ); // addAnalysisObject(dps); }
Multiplicatively scale the given histogram, histo, by factor scale.
Set the cross section from the generator. Definition at line 149 of file Analysis.cc. References Analysis::_crossSection, and Analysis::_gotCrossSection. { _crossSection = xs; _gotCrossSection = true; return *this; }
Declare whether this analysis needs to know the process cross-section from the generator.
Definition at line 234 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::setNeedsCrossSection(). Referenced by MC_JetAnalysis::MC_JetAnalysis(), MC_JetSplittings::MC_JetSplittings(), and MC_ParticleAnalysis::MC_ParticleAnalysis(). { info().setNeedsCrossSection(needed); return *this; }
Declare the allowed pairs of incoming beams required by this analysis. Definition at line 210 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::setBeams().
Declare the list of valid beam energy pairs, in GeV. Definition at line 221 of file Analysis.hh. References Analysis::info(), Analysis::requiredEnergies(), and AnalysisInfo::setEnergies(). { info().setEnergies(requiredEnergies); return *this; }
Get the SPIRES ID code for this analysis (~deprecated). Definition at line 124 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::spiresId().
Centre of mass energy for this run. Definition at line 27 of file Analysis.cc. References Analysis::handler(), and AnalysisHandler::sqrtS(). Referenced by ATLAS_2011_I894867::analyze(), PDG_HADRON_MULTIPLICITIES::analyze(), PDG_HADRON_MULTIPLICITIES_RATIOS::analyze(), CMS_2012_I1193338::analyze(), TOTEM_2012_002::analyze(), SLD_2004_S5693039::analyze(), CMS_2012_I1184941::analyze(), CMS_2011_I954992::analyze(), ALICE_2012_I1181770::analyze(), CMS_2011_S9215166::analyze(), SFM_1984_S1178091::analyze(), ALICE_2010_S8625980::analyze(), UA1_1990_S2044935::analyze(), CMS_2013_I1218372::analyze(), JADE_1998_S3612880::analyze(), TASSO_1990_S2148048::analyze(), ATLAS_2010_S8894728::analyze(), ATLAS_2010_S8918562::analyze(), ALEPH_2004_S5765862::analyze(), CDF_2004_S5839831::analyze(), ALICE_2010_S8625980::finalize(), DELPHI_2000_S4328825::finalize(), OPAL_2002_S5361494::finalize(), JADE_1998_S3612880::finalize(), UA1_1990_S2044935::finalize(), ATLAS_2010_S8918562::finalize(), ATLAS_2012_I1093734::finalize(), ALEPH_2004_S5765862::finalize(), CDF_2004_S5839831::finalize(), PDG_HADRON_MULTIPLICITIES_RATIOS::finalize(), PDG_HADRON_MULTIPLICITIES::finalize(), CMS_2010_S8547297::init(), ATLAS_2010_S8894728::init(), ALICE_2012_I1181770::init(), ATLAS_2011_S8994773::init(), CMSTOTEM_2014_I1294140::init(), CMS_2011_S8978280::init(), CMS_2011_S9215166::init(), CDF_2012_NOTE10874::init(), CMS_QCD_10_024::init(), SFM_1984_S1178091::init(), ATLAS_2012_I1091481::init(), UA5_1989_S1926373::init(), MC_JetSplittings::init(), MC_JetAnalysis::init(), UA5_1986_S1583476::init(), MC_ParticleAnalysis::init(), CDF_1988_S1865951::init(), CDF_1990_S2089246::init(), UA1_1990_S2044935::init(), ALEPH_2004_S5765862::init(), JADE_OPAL_2000_S4300807::init(), JADE_1998_S3612880::init(), ALICE_2010_S8624100::init(), CMS_2013_I1218372::init(), ALICE_2010_S8625980::init(), UA5_1988_S1867512::init(), LHCB_2012_I1119400::init(), LHCB_2011_I917009::init(), TASSO_1990_S2148048::init(), ATLAS_2010_S8918562::init(), OPAL_2004_S6132243::init(), CDF_2004_S5839831::init(), ATLAS_2012_I1094061::init(), ATLAS_2012_I1093734::init(), PDG_HADRON_MULTIPLICITIES::init(), and PDG_HADRON_MULTIPLICITIES_RATIOS::init().
Whether this analysis is trusted (in any way!) Definition at line 195 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::status().
Get a short description of the analysis. Short (one sentence) description used as an index entry. Use description() to provide full descriptive paragraphs of analysis details. Definition at line 141 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::summary().
Get the sum of event weights seen (via the analysis handler). Use in the finalize phase only. Definition at line 93 of file Analysis.cc. References Analysis::handler(), and AnalysisHandler::sumOfWeights(). Referenced by Analysis::crossSectionPerEvent(), MC_JetSplittings::finalize(), MC_JetAnalysis::finalize(), MC_ParticleAnalysis::finalize(), ALEPH_1991_S2435284::finalize(), CDF_2006_S6450792::finalize(), CMS_2011_S9086218::finalize(), CDF_2008_S7828950::finalize(), LHCF_2012_I1115479::finalize(), MC_XS::finalize(), CDF_2000_S4155203::finalize(), CDF_2008_S8093652::finalize(), BELLE_2013_I1216515::finalize(), CMS_2011_S8941262::finalize(), BABAR_2007_S6895344::finalize(), CDF_2001_S4563131::finalize(), CDF_1998_S3618439::finalize(), CMS_2012_I1087342::finalize(), CMS_2010_S8656010::finalize(), CMS_2011_I954992::finalize(), ATLAS_2012_I1118269::finalize(), CMS_2012_I1184941::finalize(), BABAR_2005_S6181155::finalize(), CDF_2009_S8383952::finalize(), STAR_2006_S6870392::finalize(), D0_2010_S8566488::finalize(), LHCB_2010_I867355::finalize(), ATLAS_2011_I894867::finalize(), CDF_2000_S4266730::finalize(), OPAL_1995_S3198391::finalize(), CMS_2010_S8547297::finalize(), CDF_2001_S4517016::finalize(), OPAL_1994_S2927284::finalize(), OPAL_1997_S3608263::finalize(), OPAL_2000_S4418603::finalize(), CDF_2009_S8436959::finalize(), D0_2011_I895662::finalize(), MC_PDFS::finalize(), ALEPH_2002_S4823664::finalize(), CMS_2012_I1193338::finalize(), OPAL_1996_S3257789::finalize(), CDF_2005_S6080774::finalize(), DELPHI_1999_S3960137::finalize(), OPAL_1998_S3702294::finalize(), ATLAS_2014_I1282441::finalize(), ALICE_2011_S8945144::finalize(), BABAR_2013_I1238276::finalize(), D0_2006_S6438750::finalize(), DELPHI_1995_S3137023::finalize(), CMS_2013_I1273574::finalize(), ALICE_2011_S8909580::finalize(), D0_2000_I499943::finalize(), CMS_2011_S8978280::finalize(), ALICE_2012_I1181770::finalize(), CLEO_2004_S5809304::finalize(), ATLAS_2011_S9035664::finalize(), D0_2008_S7662670::finalize(), ATLAS_2010_CONF_2010_049::finalize(), CDF_2009_S8233977::finalize(), LHCB_2013_I1218996::finalize(), OPAL_1998_S3749908::finalize(), OPAL_1997_S3396100::finalize(), D0_2010_S8570965::finalize(), CMS_2011_S8973270::finalize(), ATLAS_2012_I946427::finalize(), CDF_2008_S7541902::finalize(), ATLAS_2011_I921594::finalize(), ATLAS_2013_I1263495::finalize(), CDF_2006_S6653332::finalize(), ALEPH_1996_S3196992::finalize(), ATLAS_2012_I1091481::finalize(), OPAL_1993_S2692198::finalize(), D0_2008_S7719523::finalize(), OPAL_1998_S3780481::finalize(), STAR_2006_S6860818::finalize(), ATLAS_2014_I1307756::finalize(), JADE_OPAL_2000_S4300807::finalize(), ATLAS_2011_S9108483::finalize(), CDF_2008_S7540469::finalize(), ATLAS_2012_I1199269::finalize(), ATLAS_2010_S8914702::finalize(), ATLAS_2011_S9120807::finalize(), BELLE_2006_S6265367::finalize(), ATLAS_2012_I1084540::finalize(), ALEPH_2004_S5765862::finalize(), ATLAS_2012_I1093738::finalize(), SLD_2004_S5693039::finalize(), ALEPH_1996_S3486095::finalize(), SLD_1999_S3743934::finalize(), ATLAS_2012_I1204447::finalize(), and PDG_HADRON_MULTIPLICITIES::finalize(). { return handler().sumOfWeights(); }
Any work to be done on this analysis. Definition at line 200 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::todos().
When the original experimental analysis was published. Definition at line 175 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::year(). Member Data Documentation
Flag to forbid projection registration in analyses until the init phase. Definition at line 143 of file ProjectionApplier.hh. Referenced by ProjectionApplier::_addProjection(), and Analysis::Analysis().
Definition at line 625 of file ATLAS_2011_S9041966.cc.
Definition at line 627 of file ATLAS_2011_S9041966.cc.
Definition at line 624 of file ATLAS_2011_S9041966.cc.
Definition at line 626 of file ATLAS_2011_S9041966.cc.
Definition at line 639 of file ATLAS_2011_S9041966.cc.
Definition at line 637 of file ATLAS_2011_S9041966.cc.
Definition at line 632 of file ATLAS_2011_S9041966.cc.
Definition at line 638 of file ATLAS_2011_S9041966.cc.
Definition at line 636 of file ATLAS_2011_S9041966.cc.
Definition at line 631 of file ATLAS_2011_S9041966.cc.
Definition at line 630 of file ATLAS_2011_S9041966.cc.
Definition at line 635 of file ATLAS_2011_S9041966.cc.
Definition at line 629 of file ATLAS_2011_S9041966.cc.
Definition at line 634 of file ATLAS_2011_S9041966.cc.
Definition at line 671 of file ATLAS_2011_S9041966.cc.
Definition at line 653 of file ATLAS_2011_S9041966.cc.
Definition at line 657 of file ATLAS_2011_S9041966.cc.
Definition at line 672 of file ATLAS_2011_S9041966.cc.
Definition at line 652 of file ATLAS_2011_S9041966.cc.
Definition at line 656 of file ATLAS_2011_S9041966.cc.
Definition at line 648 of file ATLAS_2011_S9041966.cc.
Definition at line 659 of file ATLAS_2011_S9041966.cc.
Definition at line 676 of file ATLAS_2011_S9041966.cc.
Definition at line 670 of file ATLAS_2011_S9041966.cc.
Definition at line 680 of file ATLAS_2011_S9041966.cc.
Definition at line 679 of file ATLAS_2011_S9041966.cc.
Definition at line 655 of file ATLAS_2011_S9041966.cc.
Definition at line 669 of file ATLAS_2011_S9041966.cc.
Definition at line 665 of file ATLAS_2011_S9041966.cc.
Definition at line 661 of file ATLAS_2011_S9041966.cc.
Definition at line 664 of file ATLAS_2011_S9041966.cc.
Definition at line 666 of file ATLAS_2011_S9041966.cc.
Definition at line 662 of file ATLAS_2011_S9041966.cc.
Definition at line 660 of file ATLAS_2011_S9041966.cc.
Definition at line 658 of file ATLAS_2011_S9041966.cc.
Definition at line 675 of file ATLAS_2011_S9041966.cc.
Definition at line 678 of file ATLAS_2011_S9041966.cc.
Definition at line 677 of file ATLAS_2011_S9041966.cc.
Definition at line 668 of file ATLAS_2011_S9041966.cc.
Definition at line 650 of file ATLAS_2011_S9041966.cc.
Definition at line 667 of file ATLAS_2011_S9041966.cc.
Definition at line 663 of file ATLAS_2011_S9041966.cc.
Definition at line 673 of file ATLAS_2011_S9041966.cc.
Definition at line 674 of file ATLAS_2011_S9041966.cc.
Definition at line 649 of file ATLAS_2011_S9041966.cc. The documentation for this class was generated from the following file: Generated on Tue Sep 30 2014 19:46:16 for The Rivet MC analysis system by ![]() |