Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19251032
EvtId.cpp
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
EvtId.cpp
View Options
//--------------------------------------------------------------------------
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Information: See EvtGen/COPYRIGHT
// Copyright (C) 1998 Caltech, UCSB
//
// Module: EvtId.cc
//
// Description: Class for particle Id used in EvtGen.
//
// Modification history:
//
// RYD May 26, 1998 Module created
//
//------------------------------------------------------------------------
//
#include
"EvtGenBase/EvtPatches.hh"
#include
"EvtGenBase/EvtId.hh"
#include
"EvtGenBase/EvtPDL.hh"
#include
<iostream>
using
std
::
ostream
;
ostream
&
operator
<<
(
ostream
&
s
,
const
EvtId
&
id
){
s
<<
"(Id="
<<
id
.
_id
<<
" Alias="
<<
id
.
_alias
<<
")"
;
return
s
;
}
int
EvtId
::
isConjugate
(
const
EvtId
&
id
)
const
{
return
EvtPDL
::
getStdHep
(
*
this
)
==
-
EvtPDL
::
getStdHep
(
id
);
}
std
::
string
EvtId
::
getName
()
const
{
return
EvtPDL
::
name
(
*
this
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 5:46 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6490871
Default Alt Text
EvtId.cpp (1 KB)
Attached To
Mode
rEVTGEN evtgen
Attached
Detach File
Event Timeline
Log In to Comment