ATLAS_2011_S9126244 Class Reference
Inheritance diagram for ATLAS_2011_S9126244:
![]()
Collaboration diagram for ATLAS_2011_S9126244:
![]()
Detailed DescriptionDefinition at line 49 of file ATLAS_2011_S9126244.cc. Constructor & Destructor Documentation
Constructor. Definition at line 53 of file ATLAS_2011_S9126244.cc. : Analysis("ATLAS_2011_S9126244") { } 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; }
Add a plot object to the final output list.
Definition at line 475 of file Analysis.cc. References Analysis::_plotobjects. Referenced by Analysis::bookHisto1D(), Analysis::bookProfile1D(), and Analysis::bookScatter2D(). { _plotobjects.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 113 of file ProjectionApplier.hh. References ProjectionApplier::_addProjection(). Referenced by ZFinder::_init(), WFinder::_init(), VetoedFinalState::addVetoOnThisFinalState(), BeamThrust::BeamThrust(), CDF_2009_S8057893::CDF_2009_S8057893::init(), CentralEtHCM::CentralEtHCM(), ChargedFinalState::ChargedFinalState(), ChargedLeptons::ChargedLeptons(), ClusteredPhotons::ClusteredPhotons(), DISFinalState::DISFinalState(), DISKinematics::DISKinematics(), DISLepton::DISLepton(), FinalState::FinalState(), FoxWolframMoments::FoxWolframMoments(), FParameter::FParameter(), HadronicFinalState::HadronicFinalState(), Hemispheres::Hemispheres(), IdentifiedFinalState::IdentifiedFinalState(), ATLAS_2010_S8894728::init(), CMS_2010_S8547297::init(), CMS_2010_S8656010::init(), CMS_2011_S8968497::init(), ATLAS_2011_S8994773::init(), ATLAS_2011_I894867::init(), CMS_2011_S8950903::init(), ATLAS_2010_CONF_2010_049::init(), CMS_2012_I1087342::init(), ALICE_2011_S8909580::init(), ALICE_2011_S8945144::init(), CMS_2011_S8941262::init(), CMS_2011_S8973270::init(), CMS_2011_S8978280::init(), CMS_2011_S9086218::init(), CMS_2011_S9088458::init(), CMS_2011_S9215166::init(), CMS_2012_I1107658::init(), LHCF_2012_I1115479::init(), CDF_2007_S7057202::init(), TOTEM_2012_I1115294::init(), ATLAS_2010_S8591806::init(), D0_2011_I895662::init(), CMS_2011_S8957746::init(), MC_JETS::init(), CDF_2012_NOTE10874::init(), CMS_QCD_10_024::init(), ATLAS_2011_S9002537::init(), CDF_1997_S3541940::init(), UA5_1987_S1640666::init(), MC_DIJET::init(), STAR_2006_S6500200::init(), STAR_2008_S7993412::init(), CDF_2000_S4155203::init(), CDF_2005_S6080774::init(), CDF_2006_S6450792::init(), MC_DIPHOTON::init(), SFM_1984_S1178091::init(), UA5_1982_S875503::init(), H1_1995_S3167097::init(), MC_HJETS::init(), CDF_2008_S8093652::init(), MC_ZJETS::init(), STAR_2006_S6870392::init(), UA5_1989_S1926373::init(), D0_2008_S6879055::init(), CDF_1993_S2742446::init(), CMS_2012_I1102908::init(), CDF_1988_S1865951::init(), E735_1998_S3905616::init(), MC_PHOTONJETS::init(), MC_TTBAR::init(), MC_ZZJETS::init(), CDF_2008_S7782535::init(), ATLAS_2012_I1091481::init(), ATLAS_2012_I1183818::init(), D0_1996_S3324664::init(), ALEPH_1991_S2435284::init(), ATLAS_2010_S8817804::init(), DELPHI_1999_S3960137::init(), CDF_1990_S2089246::init(), OPAL_1998_S3749908::init(), UA5_1986_S1583476::init(), ALEPH_1996_S3196992::init(), MC_IDENTIFIED::init(), MC_LEADJETUE::init(), ALEPH_2002_S4823664::init(), MC_PHOTONJETUE::init(), MC_WJETS::init(), MC_WWJETS::init(), OPAL_1995_S3198391::init(), OPAL_1996_S3257789::init(), OPAL_1997_S3608263::init(), OPAL_1998_S3702294::init(), OPAL_2000_S4418603::init(), ATLAS_2011_S8924791::init(), D0_2010_S8570965::init(), CDF_1994_S2952106::init(), JADE_OPAL_2000_S4300807::init(), MC_GENERIC::init(), CDF_2005_S6217184::init(), ATLAS_2011_I954993::init(), D0_2001_S4674421::init(), D0_2007_S7075677::init(), LHCB_2011_I919315::init(), CDF_2008_S7540469::init(), CDF_2008_S7828950::init(), ATLAS_2011_I925932::init(), UA1_1990_S2044935::init(), ZEUS_2001_S4815815::init(), D0_1996_S3214044::init(), ALICE_2010_S8624100::init(), D0_2008_S7554427::init(), D0_2008_S7863608::init(), D0_2010_S8671338::init(), DELPHI_1995_S3137023::init(), ATLAS_2011_S9131140::init(), JADE_1998_S3612880::init(), MC_PHOTONS::init(), OPAL_1997_S3396100::init(), STAR_2006_S6860818::init(), STAR_2009_UE_HELEN::init(), ALEPH_2004_S5765862::init(), D0_2009_S8202443::init(), D0_2009_S8349509::init(), CDF_2008_S8095620::init(), MC_SUSY::init(), EXAMPLE::init(), ATLAS_2011_S9128077::init(), ALICE_2010_S8706239::init(), CDF_2009_NOTE_9936::init(), D0_2000_S4480767::init(), ALICE_2010_S8625980::init(), D0_2009_S8320160::init(), ATLAS_2011_S8971293::init(), CDF_1996_S3108457::init(), CDF_2001_S4563131::init(), CDF_2009_S8383952::init(), CDF_2009_S8436959::init(), CDF_1998_S3618439::init(), CDF_2000_S4266730::init(), D0_2006_S6438750::init(), D0_2008_S7837160::init(), D0_2010_S8566488::init(), DELPHI_2002_069_CONF_603::init(), ATLAS_2012_I1082936::init(), ATLAS_2011_I926145::init(), SLD_2002_S4869273::init(), CDF_1996_S3349578::init(), ALEPH_2001_S4656318::init(), CDF_2001_S4517016::init(), D0_2010_S8821313::init(), MC_WPOL::init(), CDF_1996_S3418421::init(), ATLAS_2011_I944826::init(), D0_2008_S7662670::init(), ATLAS_2010_S8919674::init(), ATLAS_2012_I1083318::init(), UA5_1988_S1867512::init(), ATLAS_2011_S9108483::init(), ATLAS_2012_I1125961::init(), ATLAS_2011_S9212183::init(), CDF_2006_S6653332::init(), CDF_2008_S7541902::init(), ATLAS_2011_S9225137::init(), ATLAS_2012_CONF_2012_104::init(), ATLAS_2011_S8983313::init(), ATLAS_2012_I943401::init(), ATLAS_2012_I1112263::init(), ATLAS_2011_S9212353::init(), ATLAS_2011_CONF_2011_090::init(), ATLAS_2012_CONF_2012_001::init(), DELPHI_2000_S4328825::init(), OPAL_2002_S5361494::init(), ATLAS_2012_CONF_2012_103::init(), ATLAS_2012_I946427::init(), ATLAS_2012_I1095236::init(), ATLAS_2012_CONF_2012_105::init(), ATLAS_2012_CONF_2012_109::init(), ATLAS_2012_I1190891::init(), SLD_1996_S3398250::init(), ATLAS_2011_S9019561::init(), TASSO_1990_S2148048::init(), ATLAS_2012_I1117704::init(), ATLAS_2012_I1180197::init(), ATLAS_2012_I1084540::init(), ATLAS_2012_I1186556::init(), ATLAS_2011_CONF_2011_098::init(), D0_2008_S7719523::init(), ATLAS_2012_I1082009::init(), ATLAS_2012_I1126136::init(), CDF_2009_S8233977::init(), ATLAS_2012_CONF_2012_153::init(), CDF_2008_NOTE_9351::init(), CDF_2010_S8591881_DY::init(), CDF_2010_S8591881_QCD::init(), CDF_2008_LEADINGJETS::init(), D0_2004_S5992206::init(), ATLAS_2010_S8914702::init(), ATLAS_2011_S9120807::init(), CDF_2001_S4751469::init(), ATLAS_2010_S8918562::init(), LHCB_2011_I917009::init(), ATLAS_2011_I945498::init(), ATLAS_2011_S9041966::init(), DELPHI_1996_S3430090::init(), ALEPH_1996_S3486095::init(), ALEPH_1999_S4193598::init(), ATLAS_2012_I1094568::init(), OPAL_2004_S6132243::init(), ATLAS_2012_I1093738::init(), OPAL_1994_S2927284::init(), ATLAS_2011_S9126244::init(), STAR_2008_S7869363::init(), BABAR_2007_S6895344::init(), MC_VH2BB::init(), BABAR_2005_S6181155::init(), BELLE_2001_S4598261::init(), ATLAS_2011_I919017::init(), OPAL_2001_S4553896::init(), DELPHI_2003_WUD_03_11::init(), CDF_2004_S5839831::init(), CLEO_2004_S5809304::init(), ARGUS_1993_S2653028::init(), OPAL_1998_S3780481::init(), BABAR_2007_S7266081::init(), OPAL_1993_S2692198::init(), ARGUS_1993_S2669951::init(), H1_1994_S2919893::init(), H1_2000_S4129130::init(), ARGUS_1993_S2789213::init(), SLD_2004_S5693039::init(), BELLE_2006_S6265367::init(), SLD_1999_S3743934::init(), PDG_HADRON_MULTIPLICITIES::init(), PDG_HADRON_MULTIPLICITIES_RATIOS::init(), IsolationProjection< PROJ1, PROJ2, EST >::IsolationProjection(), JetAlg::JetAlg(), JetShape::JetShape(), LeadingParticlesFinalState::LeadingParticlesFinalState(), LeptonClusters::LeptonClusters(), LossyFinalState< ConstRandomFilter >::LossyFinalState(), MergedFinalState::MergedFinalState(), MissingMomentum::MissingMomentum(), Multiplicity::Multiplicity(), NeutralFinalState::NeutralFinalState(), NonHadronicFinalState::NonHadronicFinalState(), ParisiTensor::ParisiTensor(), Sphericity::Sphericity(), Spherocity::Spherocity(), Thrust::Thrust(), TriggerCDFRun0Run1::TriggerCDFRun0Run1(), TriggerCDFRun2::TriggerCDFRun2(), TriggerUA5::TriggerUA5(), VetoedFinalState::VetoedFinalState(), and VisibleFinalState::VisibleFinalState(). { const Projection& reg = _addProjection(proj, name); const PROJ& rtn = dynamic_cast<const PROJ&>(reg); return rtn; } Perform the per-event analysis. Implements Analysis. Definition at line 175 of file ATLAS_2011_S9126244.cc. References ATLAS_2011_S9126244::analyzeJets(), Rivet::GeV, ATLAS_2011_S9126244::m_selectionPlots, Jet::momentum(), Rivet::pT(), FourMomentum::rapidity(), and Rivet::rapidity(). { const double weight = event.weight(); // Get minimal list of jets needed to be considered double minimumJetPtBar = 50.0*GeV; //of interval defining jets vector<FourMomentum> acceptJets; foreach (const Jet& jet, applyProjection<FastJets>(event, "AntiKtJets06").jetsByPt(20.0*GeV)) { if (fabs(jet.momentum().rapidity()) < 4.4) { acceptJets.push_back(jet.momentum()); } } // If can't form an interval drop out of the analysis early if (acceptJets.size() < 2) { return; } // Analyze leading jet case if ((acceptJets[0].pT() + acceptJets[1].pT())/2.0 > minimumJetPtBar) { analyzeJets(acceptJets, m_selectionPlots[0], weight, 20.0*GeV); } // Re-order jets to have forward backward selection unsigned int minRapidityJet = 0; unsigned int maxRapidityJet = 0; for (size_t j=1; j<acceptJets.size(); j++) { if (acceptJets[j].rapidity() > acceptJets[maxRapidityJet].rapidity()) { maxRapidityJet=j; } if (acceptJets[j].rapidity() < acceptJets[minRapidityJet].rapidity()) { minRapidityJet=j; } } vector<FourMomentum> fwdBkwdJets; fwdBkwdJets.push_back(acceptJets[maxRapidityJet]); fwdBkwdJets.push_back(acceptJets[minRapidityJet]); for (size_t j=0; j<acceptJets.size(); j++) { if (j==minRapidityJet or j==maxRapidityJet){ continue; } fwdBkwdJets.push_back(acceptJets[j]); } if ((fwdBkwdJets[0].pT() + fwdBkwdJets[1].pT())/2.0 > minimumJetPtBar) { //Use most forward/backward jets in rapidity to define the interval analyzeJets(fwdBkwdJets, m_selectionPlots[1], weight, 20.0*GeV); //As before but now using PtBar of interval to define veto threshold analyzeJets(fwdBkwdJets, m_selectionPlots[2], weight, (fwdBkwdJets[0].pT()+fwdBkwdJets[1].pT())/2.0); } }
Definition at line 238 of file ATLAS_2011_S9126244.cc. References ATLAS_2011_S9126244_Plots::_h_gapVsDeltaYInc, ATLAS_2011_S9126244_Plots::_h_gapVsDeltaYVeto, ATLAS_2011_S9126244_Plots::_h_gapVsPtBarInc, ATLAS_2011_S9126244_Plots::_h_gapVsPtBarVeto, ATLAS_2011_S9126244_Plots::_h_vetoPt, ATLAS_2011_S9126244_Plots::_h_vetoPtTotalSum, ATLAS_2011_S9126244_Plots::_p_avgJetVsDeltaY, ATLAS_2011_S9126244_Plots::_p_avgJetVsPtBar, BinnedHistogram< T >::fill(), Rivet::GeV, ATLAS_2011_S9126244_Plots::m_avgNJetDeltaYSlices, ATLAS_2011_S9126244_Plots::m_avgNJetPtBarSlices, ATLAS_2011_S9126244_Plots::m_gapFractionQ0SlicesDeltaY, ATLAS_2011_S9126244_Plots::m_gapFractionQ0SlicesPtBar, and Rivet::rapidity(). Referenced by ATLAS_2011_S9126244::analyze(). { // Calculate the interval size, ptBar and veto Pt (if any) double intervalSize; double ptBar; double vetoPt = 0.0*GeV; intervalSize = fabs(jets[0].rapidity()-jets[1].rapidity()); ptBar = (jets[0].pT()+jets[1].pT())/2.0; double minY; double maxY; if (jets[0].rapidity() > jets[1].rapidity()) { minY = jets[1].rapidity(); maxY = jets[0].rapidity(); } else { minY = jets[0].rapidity(); maxY = jets[1].rapidity(); } for (size_t j=2; j<jets.size(); j++){ if (jets[j].rapidity() > minY && jets[j].rapidity() < maxY && jets[j].pT() > vetoPt){ vetoPt = jets[j].pT(); } } // Fill the gap fraction vs delta Y histograms plots._h_gapVsDeltaYInc.fill(ptBar/GeV, intervalSize, weight); if (vetoPt < vetoPtThreshold) { plots._h_gapVsDeltaYVeto.fill(ptBar/GeV, intervalSize, weight); } // Fill the gap fraction vs pt Bar histograms plots._h_gapVsPtBarInc.fill(intervalSize, ptBar/GeV, weight); if (vetoPt < vetoPtThreshold) { plots._h_gapVsPtBarVeto.fill(intervalSize, ptBar/GeV, weight); } // Count the number of veto jets present int vetoJetsCount=0; for (size_t j=2; j<jets.size(); j++){ if (jets[j].rapidity() > minY && jets[j].rapidity() < maxY && jets[j].pT() > vetoPtThreshold){ vetoJetsCount += 1; } } // Fill the avg NJet, deltaY slices for (int i=0; i<(int)plots.m_avgNJetPtBarSlices.size()-1; i++) { if ( intervalSize >= plots.m_avgNJetPtBarSlices[i] && intervalSize < plots.m_avgNJetPtBarSlices[i+1]) { plots._p_avgJetVsPtBar[i]->fill(ptBar/GeV, vetoJetsCount, weight); } } // Fill the avg NJet, ptBar slices for (int i=0; i<(int)plots.m_avgNJetDeltaYSlices.size()-1; i++) { if ( ptBar/GeV >= plots.m_avgNJetDeltaYSlices[i] && ptBar/GeV < plots.m_avgNJetDeltaYSlices[i+1] ) { plots._p_avgJetVsDeltaY[i]->fill(intervalSize, vetoJetsCount, weight); } } // Fill the veto pt plots int q0PlotCount = 0; for (int x=0; x<((int)plots.m_gapFractionQ0SlicesPtBar.size()/2); x++) { for (int y=0; y<((int)plots.m_gapFractionQ0SlicesDeltaY.size()/2); y++) { // Check if it should be filled if ( ptBar/GeV < plots.m_gapFractionQ0SlicesPtBar[x*2] || ptBar/GeV >= plots.m_gapFractionQ0SlicesPtBar[x*2+1] ) { q0PlotCount++; continue; } if ( intervalSize < plots.m_gapFractionQ0SlicesDeltaY[y*2] || intervalSize >= plots.m_gapFractionQ0SlicesDeltaY[y*2+1] ) { q0PlotCount++; continue; } plots._h_vetoPt[q0PlotCount]->fill(vetoPt, weight); plots._h_vetoPtTotalSum[q0PlotCount] += weight; q0PlotCount++; } } }
Apply the supplied projection on event. Definition at line 67 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 74 of file ProjectionApplier.hh. References ProjectionApplier::_applyProjection(). { return pcast<PROJ>(_applyProjection(evt, proj)); }
Apply the named projection on event. Definition at line 81 of file ProjectionApplier.hh. References ProjectionApplier::_applyProjection(). { return pcast<PROJ>(_applyProjection(evt, name)); }
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 136 of file Analysis.hh. References AnalysisInfo::authors(), and Analysis::info(). Incoming beam IDs for this run. Definition at line 32 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 28 of file Analysis.cc. References AnalysisHandler::beams(), and Analysis::handler(). Referenced by BABAR_2005_S6181155::analyze(), BABAR_2007_S6895344::analyze(), BELLE_2006_S6265367::analyze(), CLEO_2004_S5809304::analyze(), OPAL_1994_S2927284::analyze(), SLD_2004_S5693039::analyze(), SLD_1999_S3743934::analyze(), OPAL_1998_S3780481::analyze(), OPAL_1995_S3198391::analyze(), OPAL_1997_S3608263::analyze(), OPAL_2000_S4418603::analyze(), ALEPH_2002_S4823664::analyze(), DELPHI_1999_S3960137::analyze(), OPAL_1996_S3257789::analyze(), OPAL_1998_S3702294::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(), MC_WPOL::analyze(), ALEPH_1996_S3486095::analyze(), ALEPH_2004_S5765862::analyze(), DELPHI_1996_S3430090::analyze(), MC_WPOL::init(), and Analysis::isCompatible().
BibTeX citation key for this article. Definition at line 189 of file Analysis.hh. References AnalysisInfo::bibKey(), and Analysis::info().
BibTeX citation entry for this article. Definition at line 194 of file Analysis.hh. References AnalysisInfo::bibTeX(), and Analysis::info().
Book a 1D histogram with nbins uniformly distributed across the range lower - upper . (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 213 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). Referenced by Analysis::bookHisto1D(), CMS_2010_S8547297::init(), CMS_2010_S8656010::init(), CMS_2011_S8968497::init(), CMS_2011_S8950903::init(), ATLAS_2011_I894867::init(), ATLAS_2010_CONF_2010_049::init(), ALICE_2011_S8909580::init(), ALICE_2011_S8945144::init(), CMS_2011_S8941262::init(), CMS_2011_S8973270::init(), CMS_2011_S8978280::init(), CMS_2011_S9086218::init(), CMS_2011_S9088458::init(), CMS_2012_I1087342::init(), LHCF_2012_I1115479::init(), CDF_2007_S7057202::init(), TOTEM_2012_I1115294::init(), CMS_2011_S9215166::init(), CMS_2012_I1107658::init(), D0_2011_I895662::init(), ATLAS_2010_S8591806::init(), CMS_2011_S8957746::init(), ATLAS_2011_S9002537::init(), MC_DIJET::init(), CDF_1997_S3541940::init(), STAR_2006_S6500200::init(), UA5_1987_S1640666::init(), CMS_QCD_10_024::init(), MC_DIPHOTON::init(), MC_JetAnalysis::init(), CDF_2000_S4155203::init(), CDF_2006_S6450792::init(), SFM_1984_S1178091::init(), CDF_2005_S6080774::init(), UA5_1982_S875503::init(), CDF_1993_S2742446::init(), H1_1995_S3167097::init(), MC_HJETS::init(), MC_ZJETS::init(), STAR_2006_S6870392::init(), CDF_2008_S8093652::init(), UA5_1989_S1926373::init(), D0_2008_S6879055::init(), E735_1998_S3905616::init(), CDF_1988_S1865951::init(), MC_PDFS::init(), MC_PHOTONJETS::init(), MC_TTBAR::init(), MC_ZZJETS::init(), ATLAS_2012_I1091481::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(), ALEPH_2002_S4823664::init(), D0_1996_S3324664::init(), ATLAS_2012_I1183818::init(), DELPHI_1999_S3960137::init(), ALEPH_1991_S2435284::init(), CDF_1990_S2089246::init(), ATLAS_2010_S8817804::init(), MC_IDENTIFIED::init(), ALEPH_1996_S3196992::init(), MC_PHOTONJETUE::init(), MC_WJETS::init(), MC_WWJETS::init(), D0_2010_S8570965::init(), JADE_OPAL_2000_S4300807::init(), MC_GENERIC::init(), CDF_1994_S2952106::init(), ATLAS_2011_I954993::init(), LHCB_2011_I919315::init(), CDF_2008_S7540469::init(), CDF_2008_S7828950::init(), UA1_1990_S2044935::init(), ZEUS_2001_S4815815::init(), ATLAS_2011_I925932::init(), D0_2007_S7075677::init(), D0_2001_S4674421::init(), D0_2008_S7863608::init(), D0_2010_S8671338::init(), ALICE_2010_S8624100::init(), DELPHI_1995_S3137023::init(), JADE_1998_S3612880::init(), MC_PHOTONS::init(), ATLAS_2011_S9131140::init(), STAR_2006_S6860818::init(), OPAL_1997_S3396100::init(), D0_1996_S3214044::init(), ALEPH_2004_S5765862::init(), D0_2008_S7554427::init(), D0_2009_S8202443::init(), D0_2009_S8349509::init(), CDF_2008_S8095620::init(), EXAMPLE::init(), ALICE_2010_S8625980::init(), ATLAS_2011_S9128077::init(), MC_SUSY::init(), MC_XS::init(), ALICE_2010_S8706239::init(), CDF_2009_NOTE_9936::init(), D0_2000_S4480767::init(), ATLAS_2011_S8971293::init(), CDF_1998_S3618439::init(), CDF_2000_S4266730::init(), D0_2009_S8320160::init(), CDF_1996_S3108457::init(), CDF_2001_S4563131::init(), CDF_2009_S8436959::init(), CDF_2009_S8383952::init(), DELPHI_2002_069_CONF_603::init(), CDF_1996_S3349578::init(), ALEPH_2001_S4656318::init(), ATLAS_2012_I1082936::init(), SLD_2002_S4869273::init(), ATLAS_2011_I926145::init(), D0_2010_S8566488::init(), D0_2008_S7837160::init(), CDF_2001_S4517016::init(), D0_2006_S6438750::init(), D0_2010_S8821313::init(), CDF_1996_S3418421::init(), MC_WPOL::init(), ATLAS_2010_S8919674::init(), ATLAS_2012_I1083318::init(), ATLAS_2011_I944826::init(), D0_2008_S7662670::init(), ATLAS_2011_S9108483::init(), ATLAS_2011_S9212183::init(), CDF_2006_S6653332::init(), CDF_2008_S7541902::init(), ATLAS_2012_I1125961::init(), ATLAS_2012_CONF_2012_109::init(), ATLAS_2011_CONF_2011_090::init(), ATLAS_2012_I1180197::init(), ATLAS_2012_I946427::init(), ATLAS_2011_S9212353::init(), ATLAS_2012_I1190891::init(), ATLAS_2012_I1117704::init(), ATLAS_2012_I1112263::init(), ATLAS_2012_I943401::init(), ATLAS_2012_CONF_2012_103::init(), ATLAS_2012_CONF_2012_104::init(), ATLAS_2012_CONF_2012_001::init(), ATLAS_2011_S9225137::init(), ATLAS_2012_CONF_2012_105::init(), TASSO_1990_S2148048::init(), ATLAS_2011_S8983313::init(), ATLAS_2012_I1095236::init(), ATLAS_2011_S9019561::init(), ATLAS_2012_I1186556::init(), D0_2008_S7719523::init(), ATLAS_2011_CONF_2011_098::init(), ATLAS_2012_I1082009::init(), ATLAS_2012_I1084540::init(), CDF_2009_S8233977::init(), ATLAS_2012_I1126136::init(), ATLAS_2012_CONF_2012_153::init(), D0_2004_S5992206::init(), ATLAS_2010_S8914702::init(), ATLAS_2011_S9120807::init(), ATLAS_2010_S8918562::init(), CDF_2001_S4751469::init(), ATLAS_2011_I945498::init(), ATLAS_2011_S9041966::init(), DELPHI_1996_S3430090::init(), ALEPH_1996_S3486095::init(), ALEPH_1999_S4193598::init(), OPAL_2004_S6132243::init(), OPAL_1994_S2927284::init(), ATLAS_2012_I1093738::init(), STAR_2008_S7869363::init(), BABAR_2007_S6895344::init(), MC_VH2BB::init(), BELLE_2001_S4598261::init(), BABAR_2005_S6181155::init(), ATLAS_2011_I919017::init(), OPAL_2001_S4553896::init(), DELPHI_2003_WUD_03_11::init(), CDF_2004_S5839831::init(), CLEO_2004_S5809304::init(), ARGUS_1993_S2653028::init(), OPAL_1998_S3780481::init(), BABAR_2007_S7266081::init(), OPAL_1993_S2692198::init(), ARGUS_1993_S2669951::init(), H1_1994_S2919893::init(), H1_2000_S4129130::init(), ARGUS_1993_S2789213::init(), SLD_2004_S5693039::init(), BELLE_2006_S6265367::init(), SLD_1999_S3743934::init(), PDG_HADRON_MULTIPLICITIES::init(), PDG_HADRON_MULTIPLICITIES_RATIOS::init(), ATLAS_2011_S9126244::initializePlots(), and ATLAS_2012_I1094568::InitializePlots().
Book a 1D histogram with non-uniform bins defined by the vector of bin edges binedges . (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 227 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, and Analysis::name().
Book a 1D histogram based on the name in the corresponding AIDA file. The binnings will be obtained by reading the bundled AIDA data record file with the same filename as the analysis' name() property. Definition at line 198 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, Analysis::name(), and Analysis::referenceData(). { const Scatter2D & refdata = referenceData(hname); const string path = histoPath(hname); Histo1DPtr hist( new Histo1D(refdata, path) ); addPlot(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 based on the paper, dataset and x/y-axis IDs in the corresponding HepData record. The binnings will be obtained by reading the bundled AIDA data record file of the same filename as the analysis' name() property. Definition at line 189 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 1D profile histogram with nbins uniformly distributed across the range lower - upper . (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 304 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). Referenced by Analysis::bookProfile1D(), ATLAS_2010_S8894728::init(), ATLAS_2011_S8994773::init(), ALICE_2011_S8945144::init(), CMS_2012_I1107658::init(), ATLAS_2010_S8591806::init(), CDF_2012_NOTE10874::init(), STAR_2008_S7993412::init(), CDF_2008_S7782535::init(), D0_1996_S3324664::init(), MC_LEADJETUE::init(), MC_PHOTONJETUE::init(), ATLAS_2011_S8924791::init(), CDF_2005_S6217184::init(), MC_GENERIC::init(), UA1_1990_S2044935::init(), STAR_2006_S6860818::init(), STAR_2009_UE_HELEN::init(), MC_PHOTONS::init(), ALICE_2010_S8706239::init(), ALEPH_2001_S4656318::init(), DELPHI_2002_069_CONF_603::init(), MC_WPOL::init(), CDF_2009_S8233977::init(), CDF_2008_NOTE_9351::init(), CDF_2010_S8591881_DY::init(), CDF_2010_S8591881_QCD::init(), CDF_2008_LEADINGJETS::init(), ATLAS_2010_S8918562::init(), CDF_2001_S4751469::init(), DELPHI_1996_S3430090::init(), CDF_2004_S5839831::init(), H1_1994_S2919893::init(), H1_2000_S4129130::init(), and ATLAS_2011_S9126244::initializePlots().
Book a 1D profile histogram with non-uniform bins defined by the vector of bin edges binedges . (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 318 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, and Analysis::name().
Book a 1D profile histogram based on the name in the corresponding AIDA file. The binnings will be obtained by reading the bundled AIDA data record file with the same filename as the analysis' name() property. Definition at line 289 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, Analysis::name(), and Analysis::referenceData(). { const Scatter2D & refdata = referenceData(hname); const string path = histoPath(hname); Profile1DPtr prof( new Profile1D(refdata, path) ); addPlot(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 based on the paper, dataset and x/y-axis IDs in the corresponding HepData record. The binnings will be obtained by reading the bundled AIDA data record file of the same filename as the analysis' name() property. Definition at line 281 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 2-dimensional data point set. (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 343 of file Analysis.cc. References Analysis::addPlot(), Analysis::histoPath(), MSG_TRACE, and Analysis::name(). Referenced by Analysis::bookScatter2D(), ALEPH_2004_S5765862::finalize(), ATLAS_2010_S8894728::init(), ALICE_2011_S8909580::init(), CMS_2011_S8978280::init(), CMS_2011_S9088458::init(), ATLAS_2011_S9002537::init(), STAR_2006_S6500200::init(), MC_JetAnalysis::init(), CDF_2008_S7782535::init(), CMS_2012_I1102908::init(), MC_WJETS::init(), MC_GENERIC::init(), CDF_1994_S2952106::init(), CDF_2005_S6217184::init(), D0_2001_S4674421::init(), STAR_2006_S6860818::init(), ATLAS_2011_S9128077::init(), MC_XS::init(), D0_2008_S7837160::init(), CDF_1996_S3418421::init(), UA5_1988_S1867512::init(), ATLAS_2012_I1083318::init(), ATLAS_2011_I944826::init(), CDF_2008_S7541902::init(), D0_2008_S7719523::init(), ATLAS_2011_I945498::init(), SLD_2004_S5693039::init(), SLD_1999_S3743934::init(), ATLAS_2011_S9126244::initializePlots(), and ATLAS_2012_I1094568::InitializePlots().
Book a 2-dimensional data point set with equally spaced points in a range. (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 355 of file Analysis.cc. References Analysis::bookScatter2D(). { Scatter2DPtr dps = bookScatter2D(hname, title, xtitle, ytitle); const double binwidth = (upper-lower)/npts; for (size_t pt = 0; pt < npts; ++pt) { const double bincentre = lower + (pt + 0.5) * binwidth; // @todo YODA check dps->addPoint(bincentre, 0, binwidth/2.0, 0); // IMeasurement* meas = dps->point(pt)->coordinate(0); // meas->setValue(bincentre); // meas->setErrorPlus(binwidth/2.0); // meas->setErrorMinus(binwidth/2.0); } return dps; }
Book a 2-dimensional data point set based on the corresponding AIDA data file. The binnings (x-errors) will be obtained by reading the bundled AIDA data record file of the same filename as the analysis' name() property.
Book a 2-dimensional data point set based on the paper, dataset and x/y-axis IDs in the corresponding HepData record. The binnings (x-errors) will be obtained by reading the bundled AIDA data record file of the same filename as the analysis' name() property. Definition at line 335 of file Analysis.cc. References Analysis::bookScatter2D(), and Analysis::makeAxisCode(). { const string axisCode = makeAxisCode(datasetId, xAxisId, yAxisId); return bookScatter2D(axisCode, title, xtitle, ytitle); }
Collider on which the experiment ran. Definition at line 174 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 145 of file Analysis.cc. References Analysis::_crossSection, Analysis::_gotCrossSection, and Analysis::name(). Referenced by MC_JetAnalysis::finalize(), CDF_2006_S6450792::finalize(), CMS_2011_S9086218::finalize(), CDF_2008_S7828950::finalize(), D0_2000_S4480767::finalize(), MC_XS::finalize(), CDF_2008_S8093652::finalize(), CDF_2000_S4155203::finalize(), CMS_2011_S8941262::finalize(), CDF_2001_S4563131::finalize(), CMS_2012_I1087342::finalize(), CDF_1998_S3618439::finalize(), BABAR_2005_S6181155::finalize(), D0_2010_S8566488::finalize(), STAR_2006_S6870392::finalize(), CDF_2009_S8383952::finalize(), CDF_2000_S4266730::finalize(), CDF_2001_S4517016::finalize(), CDF_2009_S8436959::finalize(), ATLAS_2011_I894867::finalize(), D0_2011_I895662::finalize(), MC_HJETS::finalize(), MC_ZJETS::finalize(), MC_DIPHOTON::finalize(), CDF_2005_S6080774::finalize(), D0_2006_S6438750::finalize(), CLEO_2004_S5809304::finalize(), D0_2008_S7662670::finalize(), D0_2008_S7863608::finalize(), ATLAS_2010_CONF_2010_049::finalize(), CDF_2009_S8233977::finalize(), MC_WJETS::finalize(), ATLAS_2011_I954993::finalize(), CMS_2011_S8973270::finalize(), ATLAS_2012_I946427::finalize(), CDF_2008_S7541902::finalize(), D0_2010_S8570965::finalize(), D0_2008_S7719523::finalize(), CDF_2006_S6653332::finalize(), ATLAS_2011_I926145::finalize(), ATLAS_2011_S9108483::finalize(), CDF_2008_S7540469::finalize(), MC_WWJETS::finalize(), ATLAS_2010_S8919674::finalize(), ATLAS_2010_S8914702::finalize(), MC_ZZJETS::finalize(), ATLAS_2012_I1083318::finalize(), ATLAS_2012_CONF_2012_105::finalize(), ATLAS_2011_S9120807::finalize(), BELLE_2006_S6265367::finalize(), ATLAS_2012_I1084540::finalize(), ATLAS_2012_CONF_2012_104::finalize(), ATLAS_2012_I1186556::finalize(), MC_VH2BB::finalize(), ATLAS_2012_CONF_2012_103::finalize(), ATLAS_2012_I1117704::finalize(), ATLAS_2012_I1125961::finalize(), ATLAS_2011_CONF_2011_098::finalize(), ATLAS_2012_I1095236::finalize(), ATLAS_2011_S9019561::finalize(), ATLAS_2012_I1190891::finalize(), ATLAS_2012_I1126136::finalize(), ATLAS_2012_I1093738::finalize(), ATLAS_2011_S9212183::finalize(), ATLAS_2011_S8983313::finalize(), ATLAS_2012_I1112263::finalize(), ATLAS_2012_CONF_2012_109::finalize(), ATLAS_2011_CONF_2011_090::finalize(), ATLAS_2012_CONF_2012_001::finalize(), ATLAS_2011_S9225137::finalize(), ATLAS_2012_I943401::finalize(), ATLAS_2012_I1180197::finalize(), ATLAS_2012_CONF_2012_153::finalize(), ATLAS_2011_S9212353::finalize(), ATLAS_2011_S9041966::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 153 of file Analysis.cc. References Analysis::_crossSection, and Analysis::sumOfWeights(). Referenced by D0_2010_S8671338::finalize(), CDF_2007_S7057202::finalize(), CDF_1988_S1865951::finalize(), LHCB_2011_I919315::finalize(), ATLAS_2010_S8817804::finalize(), MC_PHOTONJETS::finalize(), ATLAS_2012_I1082936::finalize(), D0_2009_S8349509::finalize(), UA1_1990_S2044935::finalize(), D0_2001_S4674421::finalize(), MC_WPOL::finalize(), ATLAS_2011_S9128077::finalize(), and ATLAS_2011_I945498::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 155 of file Analysis.hh. References AnalysisInfo::description(), and Analysis::info(). { return info().description(); }
Helper for histogram division. Preserves the path information of the target. Definition at line 399 of file Analysis.cc. Referenced by CMS_2011_S8978280::finalize(), ALICE_2011_S8909580::finalize(), STAR_2006_S6500200::finalize(), D0_2008_S7837160::finalize(), MC_WJETS::finalize(), D0_2008_S7719523::finalize(), STAR_2006_S6860818::finalize(), ATLAS_2011_S9128077::finalize(), SLD_2004_S5693039::finalize(), and SLD_1999_S3743934::finalize().
Helper for profile histogram division. Preserves the path information of the target. Definition at line 406 of file Analysis.cc.
Helper for histogram division. Preserves the path information of the target. Definition at line 413 of file Analysis.cc.
Helper for profile histogram division. Preserves the path information of the target. Definition at line 422 of file Analysis.cc.
Experiment which performed and published this analysis. Definition at line 169 of file Analysis.hh. References AnalysisInfo::experiment(), and Analysis::info(). { return info().experiment(); }
Derive final distributions for each selection.
for (size_t x=0; x<plots._h_gapVsPtBarVeto.getHistograms().size(); x++) { histogramFactory().divide(histoPath(makeAxisCode(plots.m_gapFractionPtBarHistIndex+x, 1, plots.selectionType)), (plots._h_gapVsPtBarVeto.getHistograms()[x]), (plots._h_gapVsPtBarInc.getHistograms()[x])); histogramFactory().destroy(plots._h_gapVsPtBarVeto.getHistograms()[x]); histogramFactory().destroy(plots._h_gapVsPtBarInc.getHistograms()[x]); } for (size_t h=0; h<plots._d_vetoPtGapFraction.size(); h++) { Get the number of bins needed for this slice const BinEdges q0Edges = binEdges(plots.m_gapFractionQ0HistIndex+h, 1, plots.selectionType); finalizeQ0GapFraction(plots._h_vetoPtTotalSum[h], plots._d_vetoPtGapFraction[h], plots._h_vetoPt[h], q0Edges.size()); } } Reimplemented from Analysis. Definition at line 331 of file ATLAS_2011_S9126244.cc. { /// \todo YODA divide and binEdges /// foreach (const ATLAS_2011_S9126244_Plots& plots, m_selectionPlots) { /// // Calculate the gap fraction for each slice /// for (size_t x=0; x<plots._h_gapVsDeltaYVeto.getHistograms().size(); x++) { /// histogramFactory().divide(histoPath(makeAxisCode(plots.m_gapFractionDeltaYHistIndex+x, 1, plots.selectionType)), /// *(plots._h_gapVsDeltaYVeto.getHistograms()[x]), /// *(plots._h_gapVsDeltaYInc.getHistograms()[x])); /// histogramFactory().destroy(plots._h_gapVsDeltaYVeto.getHistograms()[x]); /// histogramFactory().destroy(plots._h_gapVsDeltaYInc.getHistograms()[x]); /// } /// for (size_t x=0; x<plots._h_gapVsPtBarVeto.getHistograms().size(); x++) { /// histogramFactory().divide(histoPath(makeAxisCode(plots.m_gapFractionPtBarHistIndex+x, 1, plots.selectionType)), /// *(plots._h_gapVsPtBarVeto.getHistograms()[x]), /// *(plots._h_gapVsPtBarInc.getHistograms()[x])); /// histogramFactory().destroy(plots._h_gapVsPtBarVeto.getHistograms()[x]); /// histogramFactory().destroy(plots._h_gapVsPtBarInc.getHistograms()[x]); /// } /// for (size_t h=0; h<plots._d_vetoPtGapFraction.size(); h++) { /// //Get the number of bins needed for this slice /// const BinEdges q0Edges = binEdges(plots.m_gapFractionQ0HistIndex+h, 1, plots.selectionType); /// finalizeQ0GapFraction(plots._h_vetoPtTotalSum[h], /// plots._d_vetoPtGapFraction[h], /// plots._h_vetoPt[h], /// q0Edges.size()); /// } /// } } Get a Log object based on the name() property of the calling analysis object. Reimplemented from ProjectionApplier. Definition at line 76 of file Analysis.cc. References Analysis::name(). { string logname = "Rivet.Analysis." + name(); return Log::getLog(logname); }
Get the named projection, specifying return type via a template argument. Definition at line 49 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 57 of file ProjectionApplier.hh. References ProjectionHandler::getProjection(), and ProjectionApplier::getProjHandler(). { return getProjHandler().getProjection(*this, name); }
Get the contained projections, including recursion. Definition at line 42 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 94 of file ProjectionApplier.hh. References ProjectionApplier::_projhandler. Referenced by ProjectionApplier::_addProjection(), ProjectionApplier::getProjection(), ProjectionApplier::getProjections(), and ProjectionApplier::~ProjectionApplier(). { return _projhandler; }
Access the controlling AnalysisHandler object. Definition at line 291 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 37 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 50 of file Analysis.cc. References Analysis::histoDir(). Referenced by Analysis::bookHisto1D(), Analysis::bookProfile1D(), and Analysis::bookScatter2D(). { const string path = histoDir() + "/" + hname; return path; }
Get the canonical histogram path for the numbered histogram in this analysis. Definition at line 56 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 108 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 250 of file Analysis.hh. References Analysis::_info.
Book histograms and initialise projections before the run. Reimplemented from Analysis. Definition at line 61 of file ATLAS_2011_S9126244.cc. References ProjectionApplier::addProjection(), FastJets::ANTIKT, ATLAS_2011_S9126244::initializePlots(), ATLAS_2011_S9126244_Plots::intermediateHistName, ATLAS_2011_S9126244_Plots::m_avgNJetDeltaYHistIndex, ATLAS_2011_S9126244_Plots::m_avgNJetDeltaYSlices, ATLAS_2011_S9126244_Plots::m_avgNJetPtBarHistIndex, ATLAS_2011_S9126244_Plots::m_avgNJetPtBarSlices, ATLAS_2011_S9126244_Plots::m_gapFractionDeltaYHistIndex, ATLAS_2011_S9126244_Plots::m_gapFractionDeltaYSlices, ATLAS_2011_S9126244_Plots::m_gapFractionPtBarHistIndex, ATLAS_2011_S9126244_Plots::m_gapFractionPtBarSlices, ATLAS_2011_S9126244_Plots::m_gapFractionQ0HistIndex, ATLAS_2011_S9126244_Plots::m_gapFractionQ0SlicesDeltaY, ATLAS_2011_S9126244_Plots::m_gapFractionQ0SlicesPtBar, ATLAS_2011_S9126244::m_q0BinEdges, ATLAS_2011_S9126244::m_selectionPlots, and ATLAS_2011_S9126244_Plots::selectionType. { // Initialize the lone projection required addProjection(FastJets(FinalState(), FastJets::ANTIKT, 0.6), "AntiKtJets06"); // Make Q0 bins 0->20 then 20 to 195.0 in steps of 5 m_q0BinEdges += 0.0; for (unsigned int x=0; x<36; x++){ m_q0BinEdges += 20.0 + x*5.0 ; } // Initialize plots for each selection type m_selectionPlots[0].intermediateHistName = "highestPt"; m_selectionPlots[0].selectionType = 1; m_selectionPlots[0].m_gapFractionDeltaYHistIndex = 6; m_selectionPlots[0].m_gapFractionPtBarHistIndex = 1; m_selectionPlots[0].m_gapFractionQ0HistIndex = 13; m_selectionPlots[0].m_avgNJetDeltaYHistIndex = 37; m_selectionPlots[0].m_avgNJetPtBarHistIndex = 26; m_selectionPlots[0].m_gapFractionDeltaYSlices += 70.0, 90.0, 120.0, 150.0, 180.0, 210.0, 240.0, 270.0; m_selectionPlots[0].m_gapFractionPtBarSlices += 1.0, 2.0, 3.0, 4.0, 5.0, 6.0; m_selectionPlots[0].m_gapFractionQ0SlicesPtBar += 70.0, 90.0, 120.0, 150.0, 210.0, 240.0; m_selectionPlots[0].m_gapFractionQ0SlicesDeltaY += 2.0, 3.0, 4.0, 5.0; m_selectionPlots[0].m_avgNJetPtBarSlices += 1.0, 2.0, 3.0, 4.0, 5.0; m_selectionPlots[0].m_avgNJetDeltaYSlices += 70.0, 90.0, 120.0, 150.0, 180.0, 210.0, 240.0, 270.0; initializePlots(m_selectionPlots[0]); m_selectionPlots[1].intermediateHistName = "forwardBackward"; m_selectionPlots[1].selectionType = 2; m_selectionPlots[1].m_gapFractionDeltaYHistIndex = 6; m_selectionPlots[1].m_gapFractionPtBarHistIndex = 1; m_selectionPlots[1].m_gapFractionQ0HistIndex = 13; m_selectionPlots[1].m_avgNJetDeltaYHistIndex = 37; m_selectionPlots[1].m_avgNJetPtBarHistIndex = 26; m_selectionPlots[1].m_gapFractionDeltaYSlices += 70.0, 90.0, 120.0, 150.0, 180.0, 210.0, 240.0, 270.0; m_selectionPlots[1].m_gapFractionPtBarSlices += 1.0, 2.0, 3.0, 4.0, 5.0, 6.0; m_selectionPlots[1].m_gapFractionQ0SlicesPtBar += 70.0, 90.0, 120.0, 150.0, 210.0, 240.0; m_selectionPlots[1].m_gapFractionQ0SlicesDeltaY += 2.0, 3.0, 4.0, 5.0; m_selectionPlots[1].m_avgNJetPtBarSlices += 1.0, 2.0, 3.0, 4.0, 5.0; m_selectionPlots[1].m_avgNJetDeltaYSlices += 70.0, 90.0, 120.0, 150.0, 180.0, 210.0, 240.0, 270.0; initializePlots(m_selectionPlots[1]); m_selectionPlots[2].intermediateHistName = "forwardBackward_PtBarVeto"; m_selectionPlots[2].selectionType = 1; m_selectionPlots[2].m_gapFractionDeltaYHistIndex = 19; m_selectionPlots[2].m_avgNJetDeltaYHistIndex = 30; m_selectionPlots[2].m_gapFractionDeltaYSlices += 70.0, 90.0, 120.0, 150.0, 180.0, 210.0, 240.0, 270.0; m_selectionPlots[2].m_avgNJetDeltaYSlices += 70.0, 90.0, 120.0, 150.0, 180.0, 210.0, 240.0, 270.0; initializePlots(m_selectionPlots[2]); }
Definition at line 113 of file ATLAS_2011_S9126244.cc. References ATLAS_2011_S9126244_Plots::_d_vetoPtGapFraction, ATLAS_2011_S9126244_Plots::_h_gapVsDeltaYInc, ATLAS_2011_S9126244_Plots::_h_gapVsDeltaYVeto, ATLAS_2011_S9126244_Plots::_h_gapVsPtBarInc, ATLAS_2011_S9126244_Plots::_h_gapVsPtBarVeto, ATLAS_2011_S9126244_Plots::_h_vetoPt, ATLAS_2011_S9126244_Plots::_h_vetoPtTotalSum, ATLAS_2011_S9126244_Plots::_p_avgJetVsDeltaY, ATLAS_2011_S9126244_Plots::_p_avgJetVsPtBar, BinnedHistogram< T >::addHistogram(), Analysis::bookHisto1D(), Analysis::bookProfile1D(), Analysis::bookScatter2D(), ATLAS_2011_S9126244_Plots::intermediateHistName, ATLAS_2011_S9126244_Plots::m_avgNJetDeltaYHistIndex, ATLAS_2011_S9126244_Plots::m_avgNJetDeltaYSlices, ATLAS_2011_S9126244_Plots::m_avgNJetPtBarHistIndex, ATLAS_2011_S9126244_Plots::m_avgNJetPtBarSlices, ATLAS_2011_S9126244_Plots::m_gapFractionDeltaYHistIndex, ATLAS_2011_S9126244_Plots::m_gapFractionDeltaYSlices, ATLAS_2011_S9126244_Plots::m_gapFractionPtBarHistIndex, ATLAS_2011_S9126244_Plots::m_gapFractionPtBarSlices, ATLAS_2011_S9126244_Plots::m_gapFractionQ0HistIndex, ATLAS_2011_S9126244_Plots::m_gapFractionQ0SlicesDeltaY, ATLAS_2011_S9126244_Plots::m_gapFractionQ0SlicesPtBar, ATLAS_2011_S9126244::m_q0BinEdges, and ATLAS_2011_S9126244_Plots::selectionType. Referenced by ATLAS_2011_S9126244::init(). { // Gap Fraction Vs DeltaY for (int x=0; x<((int)plots.m_gapFractionDeltaYSlices.size()-1); x++) { std::stringstream vetoHistName; std::stringstream inclusiveHistName; vetoHistName << "gapDeltaYVeto_" << plots.intermediateHistName << "_" << x; inclusiveHistName << "gapDeltaYInclusive_" << plots.intermediateHistName << "_" << x; plots._h_gapVsDeltaYVeto.addHistogram(plots.m_gapFractionDeltaYSlices[x], plots.m_gapFractionDeltaYSlices[x+1], bookHisto1D(plots.m_gapFractionDeltaYHistIndex+x, 1, plots.selectionType, vetoHistName.str())); plots._h_gapVsDeltaYInc.addHistogram(plots.m_gapFractionDeltaYSlices[x], plots.m_gapFractionDeltaYSlices[x+1], bookHisto1D(plots.m_gapFractionDeltaYHistIndex+x, 1, plots.selectionType, inclusiveHistName.str())); } // Average NJet Vs DeltaY for (int x=0; x<((int)plots.m_avgNJetDeltaYSlices.size()-1); x++) { plots._p_avgJetVsDeltaY += bookProfile1D(plots.m_avgNJetDeltaYHistIndex+x, 1, plots.selectionType); } // Gap Fraction Vs PtBar for (int x=0; x<((int)plots.m_gapFractionPtBarSlices.size()-1); x++) { std::stringstream vetoHistName; std::stringstream inclusiveHistName; vetoHistName << "gapPtBarVeto_" << plots.intermediateHistName << "_" << x; inclusiveHistName << "gapPtBarInclusive_" << plots.intermediateHistName << "_" << x; plots._h_gapVsPtBarVeto.addHistogram(plots.m_gapFractionPtBarSlices[x], plots.m_gapFractionPtBarSlices[x+1], bookHisto1D(plots.m_gapFractionPtBarHistIndex+x, 1, plots.selectionType, vetoHistName.str())); plots._h_gapVsPtBarInc.addHistogram(plots.m_gapFractionPtBarSlices[x], plots.m_gapFractionPtBarSlices[x+1], bookHisto1D(plots.m_gapFractionPtBarHistIndex+x, 1, plots.selectionType, inclusiveHistName.str())); } // Average NJet Vs PtBar for (int x=0; x<((int)plots.m_avgNJetPtBarSlices.size()-1); x++) { plots._p_avgJetVsPtBar += bookProfile1D(plots.m_avgNJetPtBarHistIndex+x, 1, plots.selectionType); } // Gap fraction Vs Q0 int q0PlotCount = 0; for (int x=0; x<((int)plots.m_gapFractionQ0SlicesPtBar.size()/2); x++) { for (int y=0; y<((int)plots.m_gapFractionQ0SlicesDeltaY.size()/2); y++) { std::stringstream vetoPtHistName; std::stringstream vetoPtGapDataPointName; vetoPtHistName << "vetoPt_" << plots.intermediateHistName << "_" << q0PlotCount; vetoPtGapDataPointName << "gapQ0GapFractionDataPoints_" << plots.intermediateHistName << "_" << q0PlotCount; plots._h_vetoPt += bookHisto1D(vetoPtHistName.str(), m_q0BinEdges); plots._d_vetoPtGapFraction += bookScatter2D(plots.m_gapFractionQ0HistIndex+q0PlotCount, 1, plots.selectionType); plots._h_vetoPtTotalSum += 0.0; q0PlotCount++; } } }
Get the Inspire ID code for this analysis. Definition at line 123 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::inspireId().
Check if analysis is compatible with the provided beam particle IDs and energies. Definition at line 95 of file Analysis.cc. Referenced by Analysis::isCompatible(). { return isCompatible(beams.first.pdgId(), beams.second.pdgId(), beams.first.energy(), beams.second.energy()); }
Check if analysis is compatible with the provided beam particle IDs and energies. Definition at line 101 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 61 of file Analysis.cc. Referenced by Analysis::bookHisto1D(), Analysis::bookProfile1D(), Analysis::bookScatter2D(), Analysis::histoPath(), and Analysis::referenceData(). { 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 118 of file Analysis.hh. References Analysis::_defaultname, Analysis::info(), and AnalysisInfo::name(). Referenced by Analysis::_cacheRefData(), Analysis::Analysis(), Analysis::bookHisto1D(), Analysis::bookProfile1D(), Analysis::bookScatter2D(), Analysis::crossSection(), Analysis::getLog(), Analysis::histoDir(), Analysis::normalize(), Analysis::referenceData(), HistoHandler::registerAnalysisObject(), 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 233 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::needsCrossSection(). { return info().needsCrossSection(); }
Normalize the given histogram, histo, to area = norm. NB. The histogram is no longer invalidated by this procedure. Definition at line 431 of file Analysis.cc. References MSG_ERROR, MSG_TRACE, MSG_WARNING, and Analysis::name(). Referenced by CMS_2011_S8950903::finalize(), CMS_2011_S8968497::finalize(), D0_2010_S8671338::finalize(), CDF_2009_NOTE_9936::finalize(), D0_2007_S7075677::finalize(), BABAR_2005_S6181155::finalize(), D0_2008_S7554427::finalize(), ALICE_2010_S8624100::finalize(), ATLAS_2011_S8971293::finalize(), ALICE_2010_S8625980::finalize(), D0_2009_S8320160::finalize(), CMS_2011_S8957746::finalize(), DELPHI_1995_S3137023::finalize(), CDF_1993_S2742446::finalize(), D0_1996_S3324664::finalize(), SLD_2002_S4869273::finalize(), CDF_1996_S3418421::finalize(), D0_2008_S6879055::finalize(), D0_2010_S8821313::finalize(), EXAMPLE::finalize(), CDF_1996_S3108457::finalize(), CDF_1994_S2952106::finalize(), JADE_1998_S3612880::finalize(), ALEPH_2001_S4656318::finalize(), D0_1996_S3214044::finalize(), ATLAS_2011_I925932::finalize(), DELPHI_2002_069_CONF_603::finalize(), D0_2004_S5992206::finalize(), OPAL_1997_S3396100::finalize(), MC_PHOTONS::finalize(), CMS_2012_I1107658::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(), H1_1994_S2919893::finalize(), BELLE_2006_S6265367::finalize(), CDF_2001_S4751469::finalize(), MC_TTBAR::finalize(), ALEPH_2004_S5765862::finalize(), CDF_2004_S5839831::finalize(), CDF_1996_S3349578::finalize(), ALEPH_1996_S3486095::finalize(), DELPHI_1996_S3430090::finalize(), 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::WeightError& we) { MSG_WARNING("Could not normalize histo " << histo->path()); return; } }
Get the number of events seen (via the analysis handler). Use in the finalize phase only. Definition at line 82 of file Analysis.cc. References Analysis::handler(), and AnalysisHandler::numEvents().
List of registered plot objects. Definition at line 521 of file Analysis.hh. References Analysis::_plotobjects. { return _plotobjects; }
Get reference data for a named histo. Definition at line 173 of file Analysis.cc. References Analysis::_cacheRefData(), Analysis::_refdata, MSG_ERROR, MSG_TRACE, and Analysis::name(). Referenced by ATLAS_2011_S8994773::analyze(), ATLAS_2010_S8894728::analyze(), Analysis::bookHisto1D(), Analysis::bookProfile1D(), ATLAS_2010_S8894728::init(), CMS_2012_I1102908::init(), CDF_1994_S2952106::init(), and Analysis::referenceData().
Get reference data for a numbered histo. Definition at line 183 of file Analysis.cc. References Analysis::makeAxisCode(), and Analysis::referenceData(). { const string hname = makeAxisCode(datasetId, xAxisId, yAxisId); return referenceData(hname); }
Journal, and preprint references. Definition at line 184 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::references(). { return info().references(); }
Return the allowed pairs of incoming beams required by this analysis. Definition at line 210 of file Analysis.hh. References AnalysisInfo::beams(), and Analysis::info().
Sets of valid beam energy pairs, in GeV. Definition at line 221 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 164 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::runInfo().
Multiplicatively scale the given histogram, histo, by factor scale. NB. The histogram is no longer invalidated by this procedure. Definition at line 446 of file Analysis.cc. References MSG_ERROR, MSG_TRACE, MSG_WARNING, and Analysis::name(). Referenced by MC_JetAnalysis::finalize(), CDF_2006_S6450792::finalize(), ALEPH_1991_S2435284::finalize(), TOTEM_2012_I1115294::finalize(), E735_1998_S3905616::finalize(), ATLAS_2010_S8591806::finalize(), D0_2000_S4480767::finalize(), UA5_1987_S1640666::finalize(), D0_2010_S8671338::finalize(), MC_XS::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(), CDF_1998_S3618439::finalize(), CDF_1990_S2089246::finalize(), CDF_2007_S7057202::finalize(), CDF_1988_S1865951::finalize(), CMS_2010_S8656010::finalize(), UA5_1982_S875503::finalize(), BABAR_2005_S6181155::finalize(), CMS_QCD_10_024::finalize(), STAR_2006_S6870392::finalize(), BELLE_2001_S4598261::finalize(), CDF_2009_S8383952::finalize(), CDF_2000_S4266730::finalize(), CMS_2010_S8547297::finalize(), OPAL_1995_S3198391::finalize(), OPAL_1997_S3608263::finalize(), OPAL_2000_S4418603::finalize(), CDF_2009_S8436959::finalize(), LHCB_2011_I919315::finalize(), ALICE_2010_S8625980::finalize(), OPAL_1994_S2927284::finalize(), ATLAS_2011_I894867::finalize(), MC_PDFS::finalize(), D0_2011_I895662::finalize(), ALEPH_2002_S4823664::finalize(), ALICE_2010_S8706239::finalize(), CMS_2011_S8978280::finalize(), OPAL_1996_S3257789::finalize(), UA5_1989_S1926373::finalize(), MC_HJETS::finalize(), MC_ZJETS::finalize(), ALICE_2011_S8945144::finalize(), MC_IDENTIFIED::finalize(), OPAL_1998_S3702294::finalize(), CDF_2005_S6080774::finalize(), DELPHI_1999_S3960137::finalize(), MC_DIPHOTON::finalize(), ALICE_2011_S8909580::finalize(), D0_2006_S6438750::finalize(), BABAR_2007_S7266081::finalize(), ATLAS_2011_S9131140::finalize(), UA5_1986_S1583476::finalize(), STAR_2006_S6500200::finalize(), CLEO_2004_S5809304::finalize(), D0_2008_S7662670::finalize(), SFM_1984_S1178091::finalize(), CMS_2011_S9215166::finalize(), D0_2008_S6879055::finalize(), D0_2008_S7863608::finalize(), ARGUS_1993_S2653028::finalize(), ATLAS_2010_CONF_2010_049::finalize(), ALEPH_1999_S4193598::finalize(), H1_1995_S3167097::finalize(), CDF_2009_S8233977::finalize(), MC_PHOTONJETS::finalize(), MC_WJETS::finalize(), OPAL_1998_S3749908::finalize(), CMS_2011_S8973270::finalize(), ATLAS_2011_I954993::finalize(), D0_2009_S8349509::finalize(), ATLAS_2012_I946427::finalize(), ATLAS_2012_I1082009::finalize(), D0_2010_S8570965::finalize(), ARGUS_1993_S2669951::finalize(), CMS_2012_I1107658::finalize(), UA1_1990_S2044935::finalize(), D0_2009_S8202443::finalize(), MC_WPOL::finalize(), MC_GENERIC::finalize(), ALEPH_1996_S3196992::finalize(), ATLAS_2012_I1091481::finalize(), D0_2008_S7719523::finalize(), CDF_2008_S8095620::finalize(), CDF_2006_S6653332::finalize(), STAR_2006_S6860818::finalize(), OPAL_1998_S3780481::finalize(), ARGUS_1993_S2789213::finalize(), ATLAS_2011_S9128077::finalize(), ATLAS_2010_S8918562::finalize(), ATLAS_2011_I926145::finalize(), OPAL_1993_S2692198::finalize(), JADE_OPAL_2000_S4300807::finalize(), ATLAS_2011_S9108483::finalize(), MC_WWJETS::finalize(), CDF_2008_S7540469::finalize(), ATLAS_2010_S8919674::finalize(), ATLAS_2010_S8914702::finalize(), MC_ZZJETS::finalize(), ATLAS_2012_I1083318::finalize(), ATLAS_2012_I1183818::finalize(), OPAL_2004_S6132243::finalize(), H1_1994_S2919893::finalize(), ATLAS_2012_CONF_2012_105::finalize(), ATLAS_2011_S9120807::finalize(), BELLE_2006_S6265367::finalize(), ATLAS_2012_I1084540::finalize(), ATLAS_2012_CONF_2012_104::finalize(), ATLAS_2012_I1186556::finalize(), MC_VH2BB::finalize(), ATLAS_2011_I945498::finalize(), ATLAS_2012_CONF_2012_103::finalize(), H1_2000_S4129130::finalize(), ATLAS_2011_I944826::finalize(), ALEPH_2004_S5765862::finalize(), ATLAS_2012_I1117704::finalize(), SLD_2004_S5693039::finalize(), ATLAS_2012_I1125961::finalize(), ATLAS_2011_CONF_2011_098::finalize(), ATLAS_2012_I1095236::finalize(), ATLAS_2011_S9019561::finalize(), ATLAS_2012_I1190891::finalize(), ATLAS_2012_I1126136::finalize(), ATLAS_2012_I1093738::finalize(), ATLAS_2011_S9212183::finalize(), ATLAS_2011_S8983313::finalize(), ATLAS_2012_I1112263::finalize(), ATLAS_2012_CONF_2012_109::finalize(), ATLAS_2011_CONF_2011_090::finalize(), ATLAS_2012_CONF_2012_001::finalize(), SLD_1999_S3743934::finalize(), ATLAS_2011_S9225137::finalize(), ALEPH_1996_S3486095::finalize(), ATLAS_2012_I943401::finalize(), ATLAS_2012_I1180197::finalize(), DELPHI_1996_S3430090::finalize(), ATLAS_2012_CONF_2012_153::finalize(), ATLAS_2011_S9212353::finalize(), PDG_HADRON_MULTIPLICITIES_RATIOS::finalize(), PDG_HADRON_MULTIPLICITIES::finalize(), ATLAS_2011_S9041966::finalize(), ATLAS_2011_I919017::safeinvscale(), and BinnedHistogram< T >::scale(). { if (!histo) { MSG_ERROR("Failed to scale histo=NULL in analysis " << name() << " (scale=" << scale << ")"); return; } MSG_TRACE("Scaling histo " << histo->path() << "by factor " << scale); try { histo->scaleW(scale); } catch (YODA::WeightError& we) { MSG_WARNING("Could not normalize 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) ); // addPlot(dps); }
Set the cross section from the generator. Normalize the given histogram, histo, to area = norm. NB. The histogram is no longer invalidated by this procedure. Multiplicatively scale the given histogram, histo, by factor scale. NB. The histogram is no longer invalidated by this procedure. Definition at line 139 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 238 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::setNeedsCrossSection(). Referenced by ATLAS_2011_I945498::ATLAS_2011_I945498(), ATLAS_2011_I954993::ATLAS_2011_I954993(), and MC_JetAnalysis::MC_JetAnalysis(). { info().setNeedsCrossSection(needed); return *this; }
Declare the allowed pairs of incoming beams required by this analysis. Definition at line 214 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::setBeams().
Declare the list of valid beam energy pairs, in GeV. Definition at line 225 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 128 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::spiresId().
Centre of mass energy for this run. Definition at line 24 of file Analysis.cc. References Analysis::handler(), and AnalysisHandler::sqrtS(). Referenced by PDG_HADRON_MULTIPLICITIES::analyze(), PDG_HADRON_MULTIPLICITIES_RATIOS::analyze(), SLD_2004_S5693039::analyze(), CMS_2011_S9215166::analyze(), SFM_1984_S1178091::analyze(), ALICE_2010_S8625980::analyze(), UA1_1990_S2044935::analyze(), JADE_1998_S3612880::analyze(), TASSO_1990_S2148048::analyze(), MC_TTBAR::analyze(), ATLAS_2010_S8894728::analyze(), ATLAS_2010_S8918562::analyze(), ALEPH_2004_S5765862::analyze(), CDF_2004_S5839831::analyze(), ALICE_2010_S8625980::finalize(), JADE_1998_S3612880::finalize(), UA1_1990_S2044935::finalize(), ATLAS_2010_S8918562::finalize(), ALEPH_2004_S5765862::finalize(), CDF_2004_S5839831::finalize(), PDG_HADRON_MULTIPLICITIES_RATIOS::finalize(), PDG_HADRON_MULTIPLICITIES::finalize(), ATLAS_2010_S8894728::init(), CMS_2010_S8547297::init(), ATLAS_2011_S8994773::init(), CMS_2011_S9215166::init(), CDF_2012_NOTE10874::init(), CMS_QCD_10_024::init(), MC_JetAnalysis::init(), SFM_1984_S1178091::init(), MC_DIPHOTON::init(), MC_HJETS::init(), MC_ZJETS::init(), UA5_1989_S1926373::init(), CDF_1988_S1865951::init(), MC_PHOTONJETS::init(), MC_ZZJETS::init(), ATLAS_2012_I1091481::init(), CDF_1990_S2089246::init(), MC_WJETS::init(), MC_WWJETS::init(), UA5_1986_S1583476::init(), JADE_OPAL_2000_S4300807::init(), UA1_1990_S2044935::init(), ALICE_2010_S8624100::init(), MC_PHOTONS::init(), ALEPH_2004_S5765862::init(), JADE_1998_S3612880::init(), ALICE_2010_S8625980::init(), MC_WPOL::init(), ATLAS_2011_I944826::init(), UA5_1988_S1867512::init(), TASSO_1990_S2148048::init(), LHCB_2011_I917009::init(), ATLAS_2010_S8918562::init(), OPAL_2004_S6132243::init(), CDF_2004_S5839831::init(), PDG_HADRON_MULTIPLICITIES::init(), and PDG_HADRON_MULTIPLICITIES_RATIOS::init().
Whether this analysis is trusted (in any way!) Definition at line 199 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 145 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 87 of file Analysis.cc. References Analysis::handler(), and AnalysisHandler::sumOfWeights(). Referenced by Analysis::crossSectionPerEvent(), MC_JetAnalysis::finalize(), CDF_2006_S6450792::finalize(), ALEPH_1991_S2435284::finalize(), CMS_2011_S9086218::finalize(), D0_2000_S4480767::finalize(), LHCF_2012_I1115479::finalize(), CDF_2008_S7828950::finalize(), MC_XS::finalize(), CDF_2008_S8093652::finalize(), CMS_2011_S8941262::finalize(), BABAR_2007_S6895344::finalize(), CDF_2000_S4155203::finalize(), CMS_2012_I1087342::finalize(), CDF_2001_S4563131::finalize(), CDF_1998_S3618439::finalize(), CMS_2010_S8656010::finalize(), BABAR_2005_S6181155::finalize(), D0_2010_S8566488::finalize(), STAR_2006_S6870392::finalize(), CDF_2009_S8383952::finalize(), CMS_2010_S8547297::finalize(), CDF_2000_S4266730::finalize(), OPAL_1995_S3198391::finalize(), CDF_2001_S4517016::finalize(), OPAL_1997_S3608263::finalize(), OPAL_2000_S4418603::finalize(), OPAL_1994_S2927284::finalize(), CDF_2009_S8436959::finalize(), MC_PDFS::finalize(), ATLAS_2011_I894867::finalize(), D0_2011_I895662::finalize(), ALEPH_2002_S4823664::finalize(), CMS_2011_S8978280::finalize(), OPAL_1996_S3257789::finalize(), MC_HJETS::finalize(), MC_ZJETS::finalize(), MC_IDENTIFIED::finalize(), ALICE_2011_S8945144::finalize(), DELPHI_1999_S3960137::finalize(), MC_DIPHOTON::finalize(), OPAL_1998_S3702294::finalize(), CDF_2005_S6080774::finalize(), D0_2006_S6438750::finalize(), ALICE_2011_S8909580::finalize(), DELPHI_1995_S3137023::finalize(), STAR_2006_S6500200::finalize(), CLEO_2004_S5809304::finalize(), D0_2008_S7662670::finalize(), D0_2008_S7863608::finalize(), ATLAS_2010_CONF_2010_049::finalize(), CDF_2009_S8233977::finalize(), MC_WJETS::finalize(), OPAL_1998_S3749908::finalize(), OPAL_1997_S3396100::finalize(), ATLAS_2011_I954993::finalize(), CMS_2011_S8973270::finalize(), ATLAS_2012_I946427::finalize(), D0_2010_S8570965::finalize(), CDF_2008_S7541902::finalize(), MC_GENERIC::finalize(), ALEPH_1996_S3196992::finalize(), ATLAS_2012_I1091481::finalize(), D0_2008_S7719523::finalize(), CDF_2006_S6653332::finalize(), STAR_2006_S6860818::finalize(), OPAL_1998_S3780481::finalize(), OPAL_1993_S2692198::finalize(), ATLAS_2011_I926145::finalize(), JADE_OPAL_2000_S4300807::finalize(), ATLAS_2011_S9108483::finalize(), MC_WWJETS::finalize(), CDF_2008_S7540469::finalize(), ATLAS_2010_S8919674::finalize(), ATLAS_2010_S8914702::finalize(), MC_ZZJETS::finalize(), ATLAS_2012_I1083318::finalize(), ATLAS_2012_CONF_2012_105::finalize(), ATLAS_2011_S9120807::finalize(), BELLE_2006_S6265367::finalize(), ATLAS_2012_I1084540::finalize(), ATLAS_2012_CONF_2012_104::finalize(), ATLAS_2012_I1186556::finalize(), MC_VH2BB::finalize(), ATLAS_2012_CONF_2012_103::finalize(), ALEPH_2004_S5765862::finalize(), ATLAS_2012_I1117704::finalize(), SLD_2004_S5693039::finalize(), ATLAS_2012_I1125961::finalize(), ATLAS_2011_CONF_2011_098::finalize(), ATLAS_2012_I1095236::finalize(), ATLAS_2011_S9019561::finalize(), ATLAS_2012_I1190891::finalize(), ATLAS_2012_I1126136::finalize(), ATLAS_2012_I1093738::finalize(), ATLAS_2011_S9212183::finalize(), ATLAS_2011_S8983313::finalize(), ATLAS_2012_I1112263::finalize(), ATLAS_2012_CONF_2012_109::finalize(), ATLAS_2011_CONF_2011_090::finalize(), ATLAS_2012_CONF_2012_001::finalize(), SLD_1999_S3743934::finalize(), ATLAS_2011_S9225137::finalize(), ALEPH_1996_S3486095::finalize(), ATLAS_2012_I943401::finalize(), ATLAS_2012_I1180197::finalize(), ATLAS_2012_CONF_2012_153::finalize(), ATLAS_2011_S9212353::finalize(), PDG_HADRON_MULTIPLICITIES::finalize(), and ATLAS_2011_S9041966::finalize(). { return handler().sumOfWeights(); }
Any work to be done on this analysis. Definition at line 204 of file Analysis.hh. References Analysis::info(), and AnalysisInfo::todos().
When the original experimental analysis was published. Definition at line 179 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 140 of file ProjectionApplier.hh. Referenced by ProjectionApplier::_addProjection(), and Analysis::Analysis().
Name passed to constructor (used to find .info analysis data file, and as a fallback) Definition at line 542 of file Analysis.hh. Referenced by Analysis::Analysis(), and Analysis::name().
Pointer to analysis metadata object. Definition at line 545 of file Analysis.hh. Referenced by Analysis::Analysis(), and Analysis::info().
//Alternatively try saving as data points IDataPoint* currentPoint = gapFractionDP->point(x); IMeasurement* xCoord = currentPoint->coordinate(0); IMeasurement* yCoord = currentPoint->coordinate(1); //Calculate the efficiency uncertainty double efficiency = vetoPtWeightSum/totalWeightSum; double efficiencyError = std::sqrt(efficiency*(1.0-efficiency)/totalWeightSum); if (totalWeightSum==0.) efficiency = efficiencyError = 0.; xCoord->setValue(m_q0BinEdges[x+1]); xCoord->setErrorPlus(2.5); xCoord->setErrorMinus(2.5); yCoord->setValue(efficiency); yCoord->setErrorPlus(efficiencyError); yCoord->setErrorMinus(efficiencyError); } histogramFactory().destroy(vetoPtHist); } Definition at line 396 of file ATLAS_2011_S9126244.cc. Referenced by ATLAS_2011_S9126244::init(), and ATLAS_2011_S9126244::initializePlots().
Definition at line 402 of file ATLAS_2011_S9126244.cc. Referenced by ATLAS_2011_S9126244::analyze(), and ATLAS_2011_S9126244::init(). The documentation for this class was generated from the following file: Generated on Fri Dec 21 2012 15:04:05 for The Rivet MC analysis system by ![]() |