Here is the documentation of the JetsPlusAnalysis class. More...
#include <JetsPlusAnalysis.h>
Classes | |
struct | ObjectProperties |
Collection of object histograms; ranges are adjusted to the maximum, so range constraints and rebinning can be applied later. More... | |
struct | PairProperties |
Collection of pair histograms; ranges are adjusted to the maximum, so range constraints and rebinning can be applied later. More... | |
Public Member Functions | |
JetsPlusAnalysis () | |
The default constructor. | |
![]() | |
virtual void | analyze (tEventPtr event, long ieve, int loop, int state) |
virtual LorentzRotation | transform (tEventPtr event) const |
virtual LorentzRotation | transform (tcEventPtr event) const |
virtual void | analyze (const tPVector &particles) |
virtual void | analyze (const tPVector &particles, double weight) |
virtual void | analyze (tPPtr particle) |
virtual void | analyze (tPPtr particle, double weight) |
bool | checkHistogramFactory (bool warn=false) const |
FactoryBase & | histogramFactory () |
const FactoryBase & | histogramFactory () const |
AIDA::IHistogramFactory & | iHistogramFactory () const |
void | normalize (tH1DPtr h, CrossSection unit=picobarn) const |
void | unitNormalize (tH1DPtr h) const |
virtual void | analyze (tEventPtr event, long ieve, int loop, int state) |
virtual LorentzRotation | transform (tEventPtr event) const |
virtual LorentzRotation | transform (tcEventPtr event) const |
virtual void | analyze (const tPVector &particles) |
virtual void | analyze (const tPVector &particles, double weight) |
virtual void | analyze (tPPtr particle) |
virtual void | analyze (tPPtr particle, double weight) |
bool | checkHistogramFactory (bool warn=false) const |
FactoryBase & | histogramFactory () |
const FactoryBase & | histogramFactory () const |
AIDA::IHistogramFactory & | iHistogramFactory () const |
void | normalize (tH1DPtr h, CrossSection unit=picobarn) const |
void | unitNormalize (tH1DPtr h) const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
![]() | |
double | rnd () const |
double | rnd (double xu) const |
double | rnd (double xl, double xu) const |
bool | rndbool () const |
bool | rndbool (double p) const |
bool | rndbool (double p1, double p2) const |
int | rndsign (double p1, double p2, double p3) const |
int | rnd2 (double p0, double p1) const |
int | rnd3 (double p0, double p1, double p2) const |
int | rnd4 (double p0, double p1, double p2, double p3) const |
long | irnd (long xu=2) const |
long | irnd (long xl, long xu) const |
const StandardModelBase & | SM () const |
tSMPtr | standardModel () const |
![]() | |
virtual bool | defaultInit () |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
![]() | |
string | fullName () const |
string | name () const |
string | path () const |
string | comment () const |
void | setup (istream &is) |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
virtual IBPtr | fullclone () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
virtual void | debugme () const |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
virtual IBPtr | fullclone () const |
![]() | |
void | debug () const |
virtual void | debugme () const |
![]() | |
CounterType | referenceCount () const |
![]() | |
Named (const string &newName=string()) | |
Named (const Named &)=default | |
const string & | name () const |
bool | operator== (const Named &other) const |
bool | operator< (const Named &other) const |
Clone Methods. | |
bool | theIsShowered |
Switch between fixed order and showered. | |
Ptr< JetFinder >::ptr | theJetFinder |
The jet finder to use. | |
vector< Ptr< JetRegion >::ptr > | theJetRegions |
The jet regions to match. | |
map< string, LorentzMomentum > | theHardObjects |
The reconstructed hard objects. | |
map< unsigned int, LorentzMomentum > | theJets |
The reconstructed jets. | |
map< string, ObjectProperties > | theHardObjectProperties |
Hard object properties. | |
map< unsigned int, ObjectProperties > | theJetProperties |
Jet properties. | |
map< unsigned int, ObjectProperties > | theExclusiveJetProperties |
Exclusive jet properties. | |
ObjectProperties | theJetInclusiveProperties |
Jet-inclusive properties. | |
ObjectProperties | theJetSummedProperties |
Jet-summed properties. | |
ObjectProperties | theJetAverageProperties |
Jet-average properties. | |
Statistics::Histogram | theNJetsInclusive |
Inclusive jet multiplicities. | |
Statistics::Histogram | theNJetsExclusive |
Exclusive jet multiplicities. | |
map< pair< string, string >, PairProperties > | theHardPairProperties |
Hard object pair properties. | |
map< pair< unsigned int, unsigned int >, PairProperties > | theJetPairProperties |
Jet pair properties. | |
map< pair< unsigned int, string >, PairProperties > | theJetHardPairProperties |
Jet/hard pair properties. | |
map< std::tuple< unsigned int, unsigned int, unsigned int >, ObjectProperties > | theThreeJetProperties |
Trijet properties. | |
map< std::tuple< unsigned int, unsigned int, unsigned int, unsigned int >, ObjectProperties > | theFourJetProperties |
Fourjet properties. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. | |
ObjectProperties & | hardObjectProperties (const string &id) |
Hard object properties. | |
ObjectProperties & | jetProperties (const unsigned int id) |
Jet properties. | |
ObjectProperties & | exclusiveJetProperties (const unsigned int id) |
Exclusive jet properties. | |
ObjectProperties & | jetInclusiveProperties () |
Jet-inclusive properties. | |
ObjectProperties & | jetSummedProperties () |
Jet-summed properties. | |
ObjectProperties & | jetAverageProperties () |
Jet-average properties. | |
Statistics::Histogram & | nJetsInclusive () |
Inclusive jet multiplicities. | |
Statistics::Histogram & | nJetsExclusive () |
Exclusive jet multiplicities. | |
PairProperties & | hardPairProperties (const string &id, const string &jd) |
Hard object pair properties. | |
PairProperties & | jetPairProperties (const unsigned int id, const unsigned int jd) |
Jet pair properties. | |
PairProperties & | jetHardPairProperties (const unsigned int id, const string &jd) |
Jet/hard pair properties. | |
ObjectProperties & | threeJetProperties (const unsigned int id1, const unsigned int id2, const unsigned int id3) |
Trijet properties. | |
ObjectProperties & | fourJetProperties (const unsigned int id1, const unsigned int id2, const unsigned int id3, const unsigned int id4) |
Fourjet properties. | |
virtual void | analyzeSpecial (long, double) |
Perform any additional analysis required. | |
virtual void | finalize (XML::Element &) |
Append any additional histograms to the given histogram element. | |
JetsPlusAnalysis & | operator= (const JetsPlusAnalysis &)=delete |
The assignment operator is private and must never be called. | |
Virtual functions required by the AnalysisHandler class. | |
virtual void | analyze (tEventPtr event, long ieve, int loop, int state) |
Analyze a given Event. | |
void | analyze (ParticleVector &, long, double) |
Analyze one subprocess, given the event number it belongs to. | |
void | clear () |
Clear the hard objects and jets for the next event. | |
virtual void | reconstructHardObjects (ParticleVector &) |
Reconstruct the desired electroweak objects and fill the respective momenta. | |
LorentzMomentum & | hardObjectMomentum (const string &id) |
Set the momentum of the indicated electroweak object. | |
virtual void | reconstructJets (const ParticleVector &) |
Reconstruct the jets and fill the respective momenta. | |
Ptr< JetFinder >::tptr | jetFinder () const |
The jet finder to use. | |
const vector< Ptr< JetRegion >::ptr > & | jetRegions () const |
The jet regions to match. | |
unsigned int | nJets () const |
Return the number of matched jets. | |
LorentzMomentum & | jetMomentum (const unsigned int id) |
Set the momentum of the indicated jet. | |
virtual void | dofinish () |
Finalize this object. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Additional Inherited Members | |
![]() | |
typedef FactoryBase::tH1DPtr | tH1DPtr |
typedef FactoryBase::tcH1DPtr | tcH1DPtr |
typedef FactoryBase::tH2DPtr | tH2DPtr |
typedef FactoryBase::tcH2DPtr | tcH2DPtr |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
initializing | |
uninitialized | |
initialized | |
runready | |
![]() | |
const unsigned long | uniqueId |
virtual IBPtr | clone () const |
virtual IBPtr | fullclone () const |
![]() | |
void | reporeg (IBPtr object, string name) const |
bool | setDefaultReference (PtrT &ptr, string classname, string objectname) |
Interfaced (const string &newName) | |
Interfaced (const Interfaced &i) | |
void | setGenerator (tEGPtr generator) |
![]() | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
virtual IBPtr | clone () const=0 |
InterfacedBase (string newName) | |
InterfacedBase (const InterfacedBase &i) | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
![]() | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
![]() | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
![]() | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
Here is the documentation of the JetsPlusAnalysis class.
Definition at line 24 of file JetsPlusAnalysis.h.
|
virtual |
Analyze a given Event.
Note that a fully generated event may be presented several times, if it has been manipulated in between. The default version of this function will call transform to make a lorentz transformation of the whole event, then extract all final state particles and call analyze(tPVector) of this analysis object and those of all associated analysis objects. The default version will not, however, do anything on events which have not been fully generated, or have been manipulated in any way.
event | pointer to the Event to be analyzed. |
ieve | the event number. |
loop | the number of times this event has been presented. If negative the event is now fully generated. |
state | a number different from zero if the event has been manipulated in some way since it was last presented. |
Reimplemented from ThePEG::AnalysisHandler.
|
inlineprotectedvirtual |
Perform any additional analysis required.
Reimplemented in Herwig::HJetsAnalysis.
Definition at line 632 of file JetsPlusAnalysis.h.
|
inlineprotected |
Clear the hard objects and jets for the next event.
Definition at line 67 of file JetsPlusAnalysis.h.
References theHardObjects, and theJets.
|
protectedvirtual |
Make a simple clone of this object.
Reimplemented from ThePEG::AnalysisHandler.
Reimplemented in Herwig::HJetsAnalysis, Herwig::TTJetsAnalysis, and Herwig::ZJetsAnalysis.
|
protectedvirtual |
Finalize this object.
Called in the run phase just after a run has ended. Used eg. to write out statistics.
Reimplemented from ThePEG::InterfacedBase.
|
inlineprotected |
Exclusive jet properties.
Definition at line 488 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theExclusiveJetProperties.
|
inlineprotectedvirtual |
Append any additional histograms to the given histogram element.
Reimplemented in Herwig::HJetsAnalysis.
Definition at line 637 of file JetsPlusAnalysis.h.
|
inlineprotected |
Fourjet properties.
Definition at line 617 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theFourJetProperties.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::AnalysisHandler.
Reimplemented in Herwig::HJetsAnalysis, Herwig::TTJetsAnalysis, and Herwig::ZJetsAnalysis.
|
inlineprotected |
Set the momentum of the indicated electroweak object.
Definition at line 82 of file JetsPlusAnalysis.h.
References theHardObjects.
|
inlineprotected |
Hard object properties.
Definition at line 461 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theHardObjectProperties.
|
inlineprotected |
Hard object pair properties.
Definition at line 564 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theHardPairProperties.
|
static |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
|
inlineprotected |
Jet-average properties.
Definition at line 524 of file JetsPlusAnalysis.h.
References Statistics::Histogram::bins(), ThePEG::Interfaced::generator(), Herwig::JetsPlusAnalysis::ObjectProperties::pt, and theJetAverageProperties.
|
inlineprotected |
|
inlineprotected |
Jet/hard pair properties.
Definition at line 589 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theJetHardPairProperties.
|
inlineprotected |
Jet-inclusive properties.
Definition at line 502 of file JetsPlusAnalysis.h.
References Statistics::Histogram::bins(), ThePEG::Interfaced::generator(), Herwig::JetsPlusAnalysis::ObjectProperties::pt, and theJetInclusiveProperties.
|
inlineprotected |
Set the momentum of the indicated jet.
Definition at line 111 of file JetsPlusAnalysis.h.
References theJets.
|
inlineprotected |
Jet pair properties.
Definition at line 576 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theJetPairProperties.
|
inlineprotected |
Jet properties.
Definition at line 474 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theJetProperties.
|
inlineprotected |
The jet regions to match.
Definition at line 101 of file JetsPlusAnalysis.h.
References theJetRegions.
|
inlineprotected |
Jet-summed properties.
Definition at line 513 of file JetsPlusAnalysis.h.
References Statistics::Histogram::bins(), ThePEG::Interfaced::generator(), Herwig::JetsPlusAnalysis::ObjectProperties::pt, and theJetSummedProperties.
|
inlineprotected |
Return the number of matched jets.
Definition at line 106 of file JetsPlusAnalysis.h.
References theJets.
|
inlineprotected |
Exclusive jet multiplicities.
Definition at line 550 of file JetsPlusAnalysis.h.
References Statistics::Histogram::bins(), Statistics::Histogram::regularBinEdges(), theJetRegions, and theNJetsExclusive.
|
inlineprotected |
Inclusive jet multiplicities.
Definition at line 536 of file JetsPlusAnalysis.h.
References Statistics::Histogram::bins(), Statistics::Histogram::regularBinEdges(), theJetRegions, and theNJetsInclusive.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::JetsPlusAnalysis::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void Herwig::JetsPlusAnalysis::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inlineprotectedvirtual |
Reconstruct the desired electroweak objects and fill the respective momenta.
Remove the reconstructed particles from the list.
Reimplemented in Herwig::HJetsAnalysis, Herwig::TTJetsAnalysis, and Herwig::ZJetsAnalysis.
Definition at line 77 of file JetsPlusAnalysis.h.
|
inlineprotected |
Trijet properties.
Definition at line 602 of file JetsPlusAnalysis.h.
References ThePEG::Interfaced::generator(), and theThreeJetProperties.
|
private |
Exclusive jet properties.
Definition at line 404 of file JetsPlusAnalysis.h.
Referenced by exclusiveJetProperties().
|
private |
Fourjet properties.
Definition at line 454 of file JetsPlusAnalysis.h.
Referenced by fourJetProperties().
|
private |
Hard object properties.
Definition at line 394 of file JetsPlusAnalysis.h.
Referenced by hardObjectProperties().
|
private |
The reconstructed hard objects.
Definition at line 384 of file JetsPlusAnalysis.h.
Referenced by clear(), and hardObjectMomentum().
|
private |
Hard object pair properties.
Definition at line 434 of file JetsPlusAnalysis.h.
Referenced by hardPairProperties().
|
private |
Switch between fixed order and showered.
Definition at line 369 of file JetsPlusAnalysis.h.
|
private |
Jet-average properties.
Definition at line 419 of file JetsPlusAnalysis.h.
Referenced by jetAverageProperties().
|
private |
The jet finder to use.
Definition at line 374 of file JetsPlusAnalysis.h.
Referenced by jetFinder().
|
private |
Jet/hard pair properties.
Definition at line 444 of file JetsPlusAnalysis.h.
Referenced by jetHardPairProperties().
|
private |
Jet-inclusive properties.
Definition at line 409 of file JetsPlusAnalysis.h.
Referenced by jetInclusiveProperties().
|
private |
Jet pair properties.
Definition at line 439 of file JetsPlusAnalysis.h.
Referenced by jetPairProperties().
|
private |
|
private |
The jet regions to match.
Definition at line 379 of file JetsPlusAnalysis.h.
Referenced by jetRegions(), nJetsExclusive(), and nJetsInclusive().
|
private |
The reconstructed jets.
Definition at line 389 of file JetsPlusAnalysis.h.
Referenced by clear(), jetMomentum(), and nJets().
|
private |
Jet-summed properties.
Definition at line 414 of file JetsPlusAnalysis.h.
Referenced by jetSummedProperties().
|
private |
Exclusive jet multiplicities.
Definition at line 429 of file JetsPlusAnalysis.h.
Referenced by nJetsExclusive().
|
private |
Inclusive jet multiplicities.
Definition at line 424 of file JetsPlusAnalysis.h.
Referenced by nJetsInclusive().
|
private |
Trijet properties.
Definition at line 449 of file JetsPlusAnalysis.h.
Referenced by threeJetProperties().