Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664197
EConversionTool.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
590 B
Subscribers
None
EConversionTool.hh
View Options
#ifndef _ECONVERSION_TOOL_HH_
#define _ECONVERSION_TOOL_HH_
#include
<string>
#include
"JetCore/JetTool.hh"
namespace
SpartyJet
{
class
JetMomentMap
;
class
EConversionTool
:
public
JetTool
{
public
:
EConversionTool
(
std
::
string
name
)
:
JetTool
(
name
){};
EConversionTool
(
std
::
string
name
,
bool
toGeV
)
:
JetTool
(
name
),
m_toGeV
(
toGeV
){};
virtual
void
init
(
JetMomentMap
*
mmap
)
;
virtual
void
execute
(
JetCollection
&
inputJets
)
;
void
setGeV
(
double
unit
){
m_GeV
=
unit
;
m_MeV
=
m_GeV
/
1000.
;}
protected
:
bool
m_toGeV
;
double
m_MeV
;
double
m_GeV
;
};
}
// namespace SpartyJet
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Apr 24, 6:32 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4836512
Default Alt Text
EConversionTool.hh (590 B)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment