Analysis.hh 247 virtual Analysis& setRequiredEnergies(const std::vector<std::pair<double, double> >& requiredEnergies) { 367 const std::string histoPath(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const; 370 const std::string mkAxisCode(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const; 373 const std::string makeAxisCode(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const { 828 void normalize(const std::vector<Histo1DPtr>& histos, double norm=1.0, bool includeoverflows=true) { 833 void normalize(const Histo1DPtr (&histos)[array_size], double norm=1.0, bool includeoverflows=true) { 859 void normalize(const std::vector<Histo2DPtr>& histos, double norm=1.0, bool includeoverflows=true) { 864 void normalize(const Histo2DPtr (&histos)[array_size], double norm=1.0, bool includeoverflows=true) { 1069 const Histo1DPtr getHisto1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const { 1090 const Histo2DPtr getHisto2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const { 1111 const Profile1DPtr getProfile1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const { 1116 Profile1DPtr getProfile1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) { 1132 const Profile2DPtr getProfile2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const { 1137 Profile2DPtr getProfile2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) { 1153 const Scatter2DPtr getScatter2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const { 1158 Scatter2DPtr getScatter2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) { 1217 // Include definition of analysis plugin system so that analyses automatically see it when including Analysis.hh 1226 // #define DECLARE_ALIASED_RIVET_PLUGIN(clsname, alias) Rivet::AnalysisBuilder<clsname> plugin_ ## clsname ## ( ## #alias ## )
Definition: ALICE_2010_I880049.cc:13 virtual std::string inspireId() const Get the Inspire ID code for this analysis. Definition: Analysis.hh:134 const std::string & summary() const Get a short description of the analysis. Short (one sentence) description used as an index entry... Definition: AnalysisInfo.hh:89 const std::string histoDir() const Get the canonical histogram "directory" path for this analysis. Definition: Analysis.cc:42 void scale(const CounterPtr(&cnts)[array_size], double factor) Definition: Analysis.hh:816 void normalize(const std::vector< Histo1DPtr > &histos, double norm=1.0, bool includeoverflows=true) Definition: Analysis.hh:828 std::shared_ptr< AO > addOrGetCompatAO(std::shared_ptr< AO > aonew) Definition: Analysis.hh:997 virtual std::string summary() const Get a short description of the analysis. Definition: Analysis.hh:156 Scatter2DPtr bookScatter2D(const std::string &name, bool copy_pts=false, const std::string &title="", const std::string &xtitle="", const std::string &ytitle="") Book a 2-dimensional data point set with the given name. Definition: Analysis.cc:560 void setNeedsCrossSection(bool needXsec) Return true if this analysis needs to know the process cross-section. Definition: AnalysisInfo.hh:215 CentralityProjection is used together with the percentile-based analysis objects Percentile and Perce... Definition: CentralityProjection.hh:31 Histo2DPtr bookHisto2D(const std::string &name, size_t nxbins, double xlower, double xupper, size_t nybins, double ylower, double yupper, const std::string &title="", const std::string &xtitle="", const std::string &ytitle="", const std::string &ztitle="") Definition: Analysis.cc:303 Definition: AnalysisInfo.hh:11 Base class for projections returning a single floating point value. Definition: SingleValueProjection.hh:18 const std::string & status() const Whether this analysis is trusted (in any way!) Definition: AnalysisInfo.hh:182 virtual const std::vector< std::pair< double, double > > & requiredEnergies() const Sets of valid beam energy pairs, in GeV. Definition: Analysis.hh:237 void scale(const Histo2DPtr(&histos)[array_size], double factor) Definition: Analysis.hh:879 const std::shared_ptr< AO > getAnalysisObject(const std::string &name) const Get a data object from the histogram system. Definition: Analysis.hh:1019 const Profile1DPtr getProfile1D(const std::string &name) const Get a named Profile1D object from the histogram system. Definition: Analysis.hh:1101 virtual std::string year() const When the original experimental analysis was published. Definition: Analysis.hh:190 const std::string histoPath(const std::string &hname) const Get the canonical histogram path for the named histogram in this analysis. Definition: Analysis.cc:56 bool isCompatible(const ParticlePair &beams) const Check if analysis is compatible with the provided beam particle IDs and energies. ... Definition: Analysis.cc:107 virtual std::string spiresId() const Get the SPIRES ID code for this analysis (~deprecated). Definition: Analysis.hh:139 void setRefDataName(const std::string &name) Set the reference data name of the analysis (if different from plugin name). Definition: AnalysisInfo.hh:60 const std::string & bibTeX() const BibTeX citation entry for this article. Definition: AnalysisInfo.hh:175 virtual std::vector< std::string > todos() const Any work to be done on this analysis. Definition: Analysis.hh:220 void scale(const std::vector< Histo1DPtr > &histos, double factor) Definition: Analysis.hh:843 void add(shared_ptr< T > ao, CounterPtr cnt, pair< float, float > cent={0.0, 100.0}) add a new percentile bin. Definition: Percentile.hh:119 const CentralityProjection & declareCentrality(const SingleValueProjection &proj, string calAnaName, string calHistName, const string projName, bool increasing=false) Book a CentralityProjection. Definition: Analysis.cc:865 Histo1DPtr getHisto1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) Get a Histo1D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1074 const Profile1DPtr getProfile1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Get a Profile1D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1111 virtual std::string experiment() const Experiment which performed and published this analysis. Definition: Analysis.hh:180 vector< AnalysisObjectPtr > getAllData(bool includeorphans) const Get all data object from the AnalysisHandler. Definition: Analysis.cc:215 virtual void analyze(const Event &event)=0 std::shared_ptr< AO > getAnalysisObject(const std::string &name) Get a data object from the histogram system (non-const) Definition: Analysis.hh:1028 const std::string & bibKey() const BibTeX citation key for this article. Definition: AnalysisInfo.hh:168 AnalysisInfo & info() Get the actual AnalysisInfo object in which all this metadata is stored (non-const). Definition: Analysis.hh:272 Definition: RivetYODA.hh:54 virtual std::string status() const Whether this analysis is trusted (in any way!) Definition: Analysis.hh:215 const std::vector< std::string > & todos() const Any work to be done on this analysis. Definition: AnalysisInfo.hh:189 double crossSection() const Get the process cross-section in pb. Throws if this hasn't been set. Definition: Analysis.cc:188 Profile1DPtr getProfile1D(const std::string &name) Get a named Profile1D object from the histogram system (non-const) Definition: Analysis.hh:1106 Analysis & setCrossSection(double xs) Set the cross section from the generator. Definition: Analysis.cc:182 const std::string makeAxisCode(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Definition: Analysis.hh:373 Definition: Logging.hh:9 virtual std::vector< std::string > references() const Journal, and preprint references. Definition: Analysis.hh:200 Profile2DPtr bookProfile2D(const std::string &name, size_t nxbins, double xlower, double xupper, size_t nybins, double ylower, double yupper, const std::string &title="", const std::string &xtitle="", const std::string &ytitle="", const std::string &ztitle="") Definition: Analysis.cc:463 const std::vector< std::string > & authors() const Names & emails of paper/analysis authors. Names and email of authors in 'NAME <EMAIL>' format... Definition: AnalysisInfo.hh:79 const std::vector< PdgIdPair > & beams() const Beam particle types. Definition: AnalysisInfo.hh:117 const std::string mkAxisCode(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Get the internal histogram name for given d, x and y (cf. HepData) Definition: Analysis.cc:67 Percentile< T > bookPercentile(string projName, vector< pair< float, float > > centralityBins, vector< tuple< int, int, int > > ref) Book a Pecentile wrapper around AnalysisObjects. Definition: Analysis.hh:757 const std::string & experiment() const Experiment which performed and published this analysis. Definition: AnalysisInfo.hh:131 void normalize(const Histo1DPtr(&histos)[array_size], double norm=1.0, bool includeoverflows=true) Definition: Analysis.hh:833 std::string getOption(std::string optname) Get an option for this analysis instance as a string. Definition: Analysis.hh:710 const std::string & spiresId() const Get the SPIRES ID code for this analysis. Definition: AnalysisInfo.hh:70 const std::vector< std::string > & keywords() const Analysis Keywords for grouping etc. Definition: AnalysisInfo.hh:165 void efficiency(Histo1DPtr h1, Histo1DPtr h2, Scatter2DPtr s) const Definition: Analysis.cc:702 Definition: Event.hh:22 const T & refData(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Definition: Analysis.hh:399 double sumW() const Get the sum of event weights seen (via the analysis handler). Definition: Analysis.cc:95 std::shared_ptr< AO > getAnalysisObject(const std::string &ananame, const std::string &name) Definition: Analysis.hh:1048 Common base class for Projection and Analysis, used for internal polymorphism. Definition: ProjectionApplier.hh:21 Histo1DPtr getHisto1D(const std::string &name) Get a named Histo1D object from the histogram system (non-const) Definition: Analysis.hh:1064 The PercentileXaxis class for centrality binning. Definition: Percentile.hh:270 virtual std::vector< std::string > authors() const Names & emails of paper/analysis authors. Definition: Analysis.hh:147 AnalysisHandler & handler() const Access the controlling AnalysisHandler object. Definition: Analysis.hh:321 virtual std::string name() const Get the name of the analysis. Definition: Analysis.hh:120 const Profile2DPtr getProfile2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Get a Profile2D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1132 bool merging() const Check if we are running rivet-merge. Definition: Analysis.hh:293 void scale(const std::vector< CounterPtr > &cnts, double factor) Definition: Analysis.hh:811 const Histo2DPtr getHisto2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Get a Histo2D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1090 Error relating to looking up analyis objects in the register. Definition: Exceptions.hh:60 void asymm(Histo1DPtr h1, Histo1DPtr h2, Scatter2DPtr s) const Definition: Analysis.cc:715 virtual const std::vector< std::string > & keywords() const Get vector of analysis keywords. Definition: Analysis.hh:242 Histo2DPtr getHisto2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) Get a Histo2D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1095 Analysis & setNeedsCrossSection(bool needed=true) Definition: Analysis.hh:260 Error Exception Rivet::Exception is a synonym for Rivet::Error. Definition: Exceptions.hh:18 size_t numEvents() const Get the number of events seen (via the analysis handler). Definition: Analysis.cc:91 void removeAnalysisObject(const std::string &path) Unregister a data object from the histogram system (by name) Definition: Analysis.cc:845 Profile1DPtr bookProfile1D(const std::string &name, size_t nbins, double lower, double upper, const std::string &title="", const std::string &xtitle="", const std::string &ytitle="") Book a 1D profile histogram with nbins uniformly distributed across the range lower - upper ... Definition: Analysis.cc:390 double sqrtS() const Centre of mass energy for this run. Definition: Analysis.cc:29 Definition: AnalysisHandler.hh:29 CounterPtr bookCounter(const std::string &name, const std::string &title="") Book a counter. Definition: Analysis.cc:219 virtual std::string bibKey() const BibTeX citation key for this article. Definition: Analysis.hh:205 Profile2DPtr getProfile2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) Get a Profile2D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1137 void normalize(const Histo2DPtr(&histos)[array_size], double norm=1.0, bool includeoverflows=true) Definition: Analysis.hh:864 virtual std::string luminosityfb() const The luminosity in inverse femtobarn. Definition: Analysis.hh:195 virtual Analysis & setRequiredEnergies(const std::vector< std::pair< double, double > > &requiredEnergies) Declare the list of valid beam energy pairs, in GeV. Definition: Analysis.hh:247 Histo2DPtr getHisto2D(const std::string &name) Get a named Histo2D object from the histogram system (non-const) Definition: Analysis.hh:1085 const ParticlePair & beams() const Incoming beams for this run. Definition: Analysis.cc:33 Profile1DPtr getProfile1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) Get a Profile1D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1116 Profile2DPtr getProfile2D(const std::string &name) Get a named Profile2D object from the histogram system (non-const) Definition: Analysis.hh:1127 double sumW2() const Get the sum of squared event weights seen (via the analysis handler). Definition: Analysis.cc:99 const std::string & luminosityfb() const The integrated data luminosity of the data set. Definition: AnalysisInfo.hh:153 virtual Analysis & setRequiredBeams(const std::vector< PdgIdPair > &requiredBeams) Declare the allowed pairs of incoming beams required by this analysis. Definition: Analysis.hh:230 Histo1DPtr bookHisto1D(const std::string &name, size_t nbins, double lower, double upper, const std::string &title="", const std::string &xtitle="", const std::string &ytitle="") Book a 1D histogram with nbins uniformly distributed across the range lower - upper ... Definition: Analysis.cc:231 const std::vector< std::string > & references() const Journal and preprint references. Definition: AnalysisInfo.hh:159 const Profile2DPtr getProfile2D(const std::string &name) const Get a named Profile2D object from the histogram system. Definition: Analysis.hh:1122 std::string getRefDataName() const Get the reference data name of the analysis (if different from plugin name). Definition: AnalysisInfo.hh:54 void addAnalysisObject(AnalysisObjectPtr ao) Register a data object in the histogram system. Definition: Analysis.cc:840 virtual std::string runInfo() const Information about the events needed as input for this analysis. Definition: Analysis.hh:175 void scale(const std::vector< Histo2DPtr > &histos, double factor) Definition: Analysis.hh:874 void scale(CounterPtr cnt, double factor) Multiplicatively scale the given counter, cnt, by factor factor. Definition: Analysis.cc:728 virtual std::string description() const Get a full description of the analysis. Definition: Analysis.hh:166 bool needsCrossSection() const Return true if this analysis needs to know the process cross-section. Definition: AnalysisInfo.hh:212 void integrate(Histo1DPtr h, Scatter2DPtr s) const Definition: Analysis.cc:819 void normalize(Histo1DPtr histo, double norm=1.0, bool includeoverflows=true) Normalize the given histogram, histo, to area = norm. Definition: Analysis.cc:747 const std::string & year() const When the original experimental analysis was published. When the refereed paper on which this is based... Definition: AnalysisInfo.hh:147 const Histo1DPtr getHisto1D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Get a Histo1D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1069 Log & getLog() const Get a Log object based on the name() property of the calling analysis object. Definition: Analysis.cc:82 const Scatter2DPtr getScatter2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const Get a Scatter2D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1153 virtual std::string bibTeX() const BibTeX citation entry for this article. Definition: Analysis.hh:210 const std::string & description() const 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: AnalysisInfo.hh:100 void normalize(const std::vector< Histo2DPtr > &histos, double norm=1.0, bool includeoverflows=true) Definition: Analysis.hh:859 void scale(const Histo1DPtr(&histos)[array_size], double factor) Definition: Analysis.hh:848 virtual std::string collider() const Collider on which the experiment ran. Definition: Analysis.hh:185 const std::string & runInfo() const 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: AnalysisInfo.hh:110 const vector< AnalysisObjectPtr > & analysisObjects() const List of registered analysis data objects. Definition: Analysis.hh:977 const Histo1DPtr getHisto1D(const std::string &name) const Get a named Histo1D object from the histogram system. Definition: Analysis.hh:1059 const Scatter2DPtr getScatter2D(const std::string &name) const Get a named Scatter2D object from the histogram system. Definition: Analysis.hh:1143 void setBeams(const std::vector< PdgIdPair > &beams) Set beam particle types. Definition: AnalysisInfo.hh:120 const std::string & inspireId() const Get the Inspire (SPIRES replacement) ID code for this analysis. Definition: AnalysisInfo.hh:63 Scatter2DPtr getScatter2D(unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) Get a Scatter2D object from the histogram system by axis ID codes (non-const) Definition: Analysis.hh:1158 const std::string & collider() const Collider on which the experiment ran. Definition: AnalysisInfo.hh:138 void divide(CounterPtr c1, CounterPtr c2, Scatter1DPtr s) const Definition: Analysis.cc:634 virtual const std::vector< PdgIdPair > & requiredBeams() const Return the allowed pairs of incoming beams required by this analysis. Definition: Analysis.hh:226 const PdgIdPair beamIds() const Incoming beam IDs for this run. Definition: Analysis.cc:37 const AnalysisInfo & info() const Get the actual AnalysisInfo object in which all this metadata is stored. Definition: Analysis.hh:108 const Histo2DPtr getHisto2D(const std::string &name) const Get a named Histo2D object from the histogram system. Definition: Analysis.hh:1080 void setEnergies(const std::vector< std::pair< double, double > > &energies) Set the valid beam energies. Definition: AnalysisInfo.hh:127 PercentileXaxis< T > bookPercentileXaxis(string projName, tuple< int, int, int > ref) Book Pecentile wrappers around AnalysisObjects. Definition: Analysis.hh:784 const std::vector< std::pair< double, double > > & energies() const Sets of valid beam energies. Definition: AnalysisInfo.hh:124 Scatter2DPtr getScatter2D(const std::string &name) Get a named Scatter2D object from the histogram system (non-const) Definition: Analysis.hh:1148 Generated on Sun Feb 17 2019 21:04:56 for Rivet by ![]() |