Rivet::PercentileTBase< T > Class Template Reference PercentileTBase is the base class of all Percentile classes. More...
Inheritance diagram for Rivet::PercentileTBase< T >:
![]()
Detailed Descriptiontemplate<class T>
|
|
inline |
the main constructor
requiring a pointer, ana, to the Analysis to which this object belongs and the name of the CentralityProjection, projname, to be used.
|
inline |
add a new percentile bin.
Add an analysis objects which are clones of temp that should be active for events in the given centrality bin cent. Several analysis objects may be added depending on the number of alternative centrality definitions in the CentralityProjection proj. This function is common for Percentile and PecentileXaxis, but for the latter the cent argument should be left to its default.
Referenced by Rivet::Analysis::bookPercentile(), Rivet::Analysis::bookPercentileXaxis(), and Rivet::PercentileXaxis< T >::operator-> *().
|
inline |
Copy the information from an other Percentile object.
This function differs from a simple assignement as the other analysis objects are not copied, but supplied separately through tv.
References Rivet::PercentileBase::copyFrom().
|
inline |
Access the underlyng AnalysisObjects.
The returned vector contains a pair, where the first member is the AnalysisObject and the second is a counter keeping track of the sum of event weights for which the AnalysisObject has been active.
Referenced by Rivet::PercentileXaxis< T >::operator-> *().
|
inline |
Normalize each AnalysisObject.
by dividing by the sum of the events seen for each centrality bin.