Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
powhegAnalysis.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // powhegAnalysis.h - (c) Silvia Ferrario Ravasio and Tomas Jezo
4 // inspired by HepMCFile.h which is a part of ThePEG
5 //
6 #ifndef powhegAnalysis_H
7 #define powhegAnalysis_H
8 //
9 // This is the declaration of the powhegAnalysis class.
10 //
11 #include <iostream>
12 #include <fstream>
13 #include "ThePEG/Handlers/AnalysisHandler.h"
14 #include "ThePEG/Repository/CurrentGenerator.h"
15 #include "ThePEG/Repository/EventGenerator.h"
17 
18 namespace ThePEG {
19 
26 class ATLAS_NOT_THREAD_SAFE powhegAnalysis: public AnalysisHandler {
27 
28 public:
29 
36 
42 
43 public:
44 
64  virtual void analyze(tEventPtr event, long ieve, int loop, int state);
66 
67 public:
68 
75  void persistentOutput(PersistentOStream & os) const;
76 
82  void persistentInput(PersistentIStream & is, int version);
84 
91  static void Init();
92 
93 protected:
94 
101  virtual IBPtr clone() const;
102 
107  virtual IBPtr fullclone() const;
109 
110 protected:
111 
118  virtual void doinitrun();
119 
124  virtual void dofinish();
126 
127 private:
128 
133  static const ClassDescription<powhegAnalysis> m_initpowhegAnalysis;
134 
140 
141 private:
142 
151 
156 
160  unsigned int m_geneventPrecision;
161 };
162 
163 }
164 
165 #include "ThePEG/Utilities/ClassTraits.h"
166 
167 namespace ThePEG {
168 
173 template <>
174 struct BaseClassTrait<powhegAnalysis,1> {
176  typedef AnalysisHandler NthBase;
177 };
178 
181 template <>
182 struct ClassTraits<powhegAnalysis>
183  : public ClassTraitsBase<powhegAnalysis> {
185  static string className() { return "ThePEG::powhegAnalysis"; }
189  static string library() { return "powhegHerwigBB4L.so"; }
190 };
191 
194 }
195 
196 #endif /* THEPEG_powhegAnalysis_H */
ThePEG::powhegAnalysis::dofinish
virtual void dofinish()
Finalize this object.
ThePEG::powhegAnalysis::operator=
powhegAnalysis & operator=(const powhegAnalysis &)
The assignment operator is private and must never be called.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
ThePEG::powhegAnalysis::m_unitchoice
int m_unitchoice
Selector for the choice of units.
Definition: powhegAnalysis.h:155
ThePEG::powhegAnalysis::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::powhegAnalysis::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::powhegAnalysis::analyze
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
ThePEG::powhegAnalysis::m_runNumber
int m_runNumber
The run number The number identifying the run.
Definition: powhegAnalysis.h:150
ThePEG::powhegAnalysis::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::powhegAnalysis::doinitrun
virtual void doinitrun()
Initialize this object.
ThePEG::powhegAnalysis::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
ThePEG
Definition: BB4LPowhegLesHouchesFileReader.h:20
ThePEG::powhegAnalysis::powhegAnalysis
powhegAnalysis()
The default constructor.
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
python.pydraw.loop
def loop(arg)
Definition: pydraw.py:1242
ThePEG::powhegAnalysis::m_geneventPrecision
unsigned int m_geneventPrecision
Choice of output precision in GenEvent format.
Definition: powhegAnalysis.h:160
ThePEG::powhegAnalysis::powhegAnalysis
powhegAnalysis(const powhegAnalysis &)
The copy constructor.
get_generator_info.version
version
Definition: get_generator_info.py:33
ThePEG::powhegAnalysis::m_initpowhegAnalysis
static const ClassDescription< powhegAnalysis > m_initpowhegAnalysis
The static object used to initialize the description of this class.
Definition: powhegAnalysis.h:133
ThePEG::powhegAnalysis
Definition: powhegAnalysis.h:26
checker_macros.h
Define macros for attributes used to control the static checker.
ThePEG::powhegAnalysis::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
LArL1Calo_ComputeHVCorr.className
className
Definition: LArL1Calo_ComputeHVCorr.py:135