Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664427
FastKtTool.h
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
FastKtTool.h
View Options
// emacs this is -*-C++-*-
#ifndef ATLAS_FASTKTJET_H
#define ATLAS_FASTKTJET_H
#include
"FastKtParam.h"
#include
"JetCore/JetTool.hh"
#include
<map>
namespace
SpartyJet
{
namespace
atlas
{
class
FastKtTool
:
public
JetTool
{
public
:
FastKtTool
(
std
::
string
name
=
"myFastKt"
)
:
JetTool
(
name
),
m_ktAlgo
(
NULL
){
simple_config
(
"Standard"
,
0.7
)
;};
virtual
void
execute
(
JetCollection
&
inputJets
);
void
simple_config
(
std
::
string
findername
,
double
param
);
void
set_other_propery
(
std
::
string
name
,
float
val
){
m_ktAlgo
->
setProperty
(
name
,
val
);}
// if running exclusive mode with fixed Jet num :
void
set_exclusiveN
(
int
N
);
// if running exclusive mode with fixed y cut:
void
set_exclusiveD
(
double
ycut
);
double
getConeRadius
()
{
return
m_rParameter
;}
protected
:
// the algo config :
FastKtJet
::
KtAlgo
*
m_ktAlgo
;
// algorithm parameters and flags
double
m_rParameter
;
// R parameter
int
m_excluN
;
double
m_excluD
;
//////////////////
// Tool Control //
//////////////////
bool
m_configOK
;
int
translateAlgoName
(
std
::
string
algoname
);
int
translateDistName
(
std
::
string
algoname
);
int
translateRecomName
(
std
::
string
algoname
);
int
translateName
(
std
::
map
<
std
::
string
,
int
>
&
nmap
,
std
::
string
name
,
std
::
string
type
);
};
}
}
// namespace SpartyJet
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Apr 24, 6:39 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4833542
Default Alt Text
FastKtTool.h (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment