Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19245091
InclHiggsAnalysis.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
6 KB
Referenced Files
None
Subscribers
None
InclHiggsAnalysis.h
View Options
// -*- C++ -*-
#ifndef HERWIG_InclHiggsAnalysis_H
#define HERWIG_InclHiggsAnalysis_H
//
// This is the declaration of the InclHiggsAnalysis class.
//
#include
"ThePEG/Repository/CurrentGenerator.h"
#include
"ThePEG/Handlers/AnalysisHandler.h"
#include
"Herwig++/Utilities/Histogram.h"
#include
"fastjet/PseudoJet.hh"
namespace
Herwig
{
using
namespace
ThePEG
;
/**
* Here is the documentation of the InclHiggsAnalysis class.
*
* @see \ref InclHiggsAnalysisInterfaces "The interfaces"
* defined for InclHiggsAnalysis.
*/
class
InclHiggsAnalysis
:
public
AnalysisHandler
{
public
:
/**
* The default constructor.
*/
InclHiggsAnalysis
();
/** @name Virtual functions required by the AnalysisHandler class. */
//@{
/**
* 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.
* @param event pointer to the Event to be analyzed.
* @param ieve the event number.
* @param loop the number of times this event has been presented.
* If negative the event is now fully generated.
* @param state a number different from zero if the event has been
* manipulated in some way since it was last presented.
*/
virtual
void
analyze
(
tEventPtr
event
,
long
ieve
,
int
loop
,
int
state
);
/**
* Analyze the given vector of particles. The default version calls
* analyze(tPPtr) for each of the particles.
* @param particles the vector of pointers to particles to be analyzed
*/
virtual
void
analyze
(
const
tPVector
&
particles
);
/**
* Analyze the given particle.
* @param particle pointer to the particle to be analyzed.
*/
virtual
void
analyze
(
tPPtr
particle
);
//@}
public
:
/**
* 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.
*/
static
void
Init
();
protected
:
/** @name Clone Methods. */
//@{
/**
* Make a simple clone of this object.
* @return a pointer to the new object.
*/
inline
virtual
IBPtr
clone
()
const
{
return
new_ptr
(
*
this
);}
/** Make a clone of this object, possibly modifying the cloned object
* to make it sane.
* @return a pointer to the new object.
*/
inline
virtual
IBPtr
fullclone
()
const
{
return
new_ptr
(
*
this
);}
//@}
protected
:
/** @name Standard Interfaced functions. */
//@{
/**
* Finalize this object. Called in the run phase just after a
* run has ended. Used eg. to write out statistics.
*/
virtual
void
dofinish
();
private
:
/**
* The static object used to initialize the description of this class.
* Indicates that this is a concrete class without persistent data.
*/
static
NoPIOClassDescription
<
InclHiggsAnalysis
>
initInclHiggsAnalysis
;
/**
* The assignment operator is private and must never be called.
* In fact, it should not even be implemented.
*/
InclHiggsAnalysis
&
operator
=
(
const
InclHiggsAnalysis
&
);
private
:
/**
* Multiplicity of jets with pT>20 GeV.
*/
Histogram
_nJets_gt_20
;
/**
* The Higgs boson pT spectrum at low and high pT ranges.
*/
Histogram
_ptHiggsHigh
;
Histogram
_ptHiggsLow
;
/**
* rapidity of the Higgs
*/
Histogram
_YHiggs
;
/**
* Transverse momentum of jets 0, 1, 2 & 3
*/
Histogram
_ptJet0
;
Histogram
_ptJet1
;
Histogram
_ptJet2
;
Histogram
_ptJet3
;
Histogram
_ptJet0_Cut
;
Histogram
_ptJet1_Cut
;
Histogram
_ptJet2_Cut
;
Histogram
_ptJet3_Cut
;
/**
* (Pseudo)rapidity of jets 0, 1, 2 & 3
*/
Histogram
_etaJet0
;
Histogram
_etaJet1
;
Histogram
_etaJet2
;
Histogram
_etaJet3
;
Histogram
_etaJet0_Cut
;
Histogram
_etaJet1_Cut
;
Histogram
_etaJet2_Cut
;
Histogram
_etaJet3_Cut
;
/**
* Delta R between jets 0 & 1, 1 & 2, 2 & 3
*/
Histogram
_delta01
;
Histogram
_delta12
;
Histogram
_delta23
;
Histogram
_delta01_Cut
;
Histogram
_delta12_Cut
;
Histogram
_delta23_Cut
;
/**
* Scale pT sum of all jets
*/
Histogram
_htJets
;
Histogram
_htJets_Cut
;
/**
* Scalar pT sum of all jets and the Higgs
*/
Histogram
_htJetsPlusHiggs
;
Histogram
_htJetsPlusHiggs_Cut
;
/**
* Plot for Carlo.
*/
Histogram
_nJets_carlo
;
/**
* Jet rates.
*/
Histogram
_y01
;
Histogram
_y12
;
Histogram
_y23
;
Histogram
_y34
;
public
:
/**
* A pair of the incoming hadrons.
*/
PPair
inbound_
;
protected
:
// If needed, insert declarations of virtual function defined in the
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
};
}
#include
"ThePEG/Utilities/ClassTraits.h"
namespace
ThePEG
{
/** @cond TRAITSPECIALIZATIONS */
/** This template specialization informs ThePEG about the
* base classes of InclHiggsAnalysis. */
template
<>
struct
BaseClassTrait
<
Herwig
::
InclHiggsAnalysis
,
1
>
{
/** Typedef of the first base class of InclHiggsAnalysis. */
typedef
AnalysisHandler
NthBase
;
};
/** This template specialization informs ThePEG about the name of
* the InclHiggsAnalysis class and the shared object where it is defined. */
template
<>
struct
ClassTraits
<
Herwig
::
InclHiggsAnalysis
>
:
public
ClassTraitsBase
<
Herwig
::
InclHiggsAnalysis
>
{
/** Return a platform-independent class name */
static
string
className
()
{
return
"Herwig::InclHiggsAnalysis"
;
}
/**
* The name of a file containing the dynamic library where the class
* InclHiggsAnalysis is implemented. It may also include several, space-separated,
* libraries if the class InclHiggsAnalysis depends on other classes (base classes
* excepted). In this case the listed libraries will be dynamically
* linked in the order they are specified.
*/
static
string
library
()
{
return
"libfastjet.so HwInclHiggsAnalysis.so"
;
}
};
/** @endcond */
}
#endif
/* HERWIG_InclHiggsAnalysis_H */
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Sep 30, 4:48 AM (11 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6491739
Default Alt Text
InclHiggsAnalysis.h (6 KB)
Attached To
Mode
rHERWIGHG herwighg
Attached
Detach File
Event Timeline
Log In to Comment