Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19244281
XSecStat.cc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
XSecStat.cc
View Options
// -*- C++ -*-
//
// XSecStat.cc is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2007 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
//
// This is the implementation of the non-inlined, non-templated member
// functions of the XSecStat class.
//
#include
"XSecStat.h"
#include
"ThePEG/Persistency/PersistentOStream.h"
#include
"ThePEG/Persistency/PersistentIStream.h"
namespace
ThePEG
{
PersistentOStream
&
operator
<<
(
PersistentOStream
&
os
,
const
XSecStat
&
x
)
{
x
.
output
(
os
);
return
os
;
}
PersistentIStream
&
operator
>>
(
PersistentIStream
&
is
,
XSecStat
&
x
)
{
x
.
input
(
is
);
return
is
;
}
}
using
namespace
ThePEG
;
void
XSecStat
::
output
(
PersistentOStream
&
os
)
const
{
os
<<
ounit
(
theMaxXSec
,
picobarn
)
<<
theAttempts
<<
theAccepted
<<
theSumWeights
<<
theSumWeights2
;
}
void
XSecStat
::
input
(
PersistentIStream
&
is
)
{
is
>>
iunit
(
theMaxXSec
,
picobarn
)
>>
theAttempts
>>
theAccepted
>>
theSumWeights
>>
theSumWeights2
;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 4:40 AM (19 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6296753
Default Alt Text
XSecStat.cc (1 KB)
Attached To
Mode
rTHEPEGHG thepeghg
Attached
Detach File
Event Timeline
Log In to Comment