Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664190
JetSplitMergeTool.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
JetSplitMergeTool.h
View Options
#ifndef JETREC_JETSPLITMERGETOOL_H
#define JETREC_JETSPLITMERGETOOL_H
//******************************************************************************
// Filename : JetSplitMergeTool
// Author : Ambreesh Gupta
// Created : November, 2001
//
// DESCRIPTION:
//
// Cone algorithms generally produce overlapping jets. These jets are then
// passed through a Split Merge algorithm to create seperated jets. This
// is an implementation of one such algorithm.
//
// The steps of the algorithm are:
// - <to be written>
//
// PROPERTIES (JobOption Parameters):
//
// ProtoJetContainerLoc string "Default" Key for ProtoJet input.
// JetContainerLoc string "Default" Key for Jet list to output.
// OverlapFraction double 0.5
//
// HISTORY
// 05Nov01 agupta. First version
// 15Aug02 agupta. Fix phi-wrapping.
//
//*****************************************************************************
//class StoreGateSvc;
//Includes
#include
"JetCore/Jet.hh"
//#include "JetEvent/JetCollection.h"
//Library Includes
#include
<vector>
#include
<list>
//#include "JetRec/JetAlgToolBase.h"
#include
"JetCore/CustomMessage.hh"
#include
"JetCore/Jet.hh"
namespace
SpartyJet
{
typedef
int
StatusCode
;
class
JetSplitMergeTool
{
public
:
typedef
Jet
::
jet_list_t
jetcollection_t
;
//Constructors
JetSplitMergeTool
(
const
std
::
string
&
name
=
"splitmergetool"
);
//Destructor
virtual
~
JetSplitMergeTool
();
virtual
StatusCode
execute
(
jetcollection_t
*
theJets
);
//Handle negative energy ProtoJets:
double
etaTrue
(
Jet
::
constit_vect_t
::
iterator
pj
);
double
phiTrue
(
Jet
::
constit_vect_t
::
iterator
pj
);
//private:
void
split_merge
();
double
m_f
;
jetcollection_t
m_preJet
;
jetcollection_t
m_jet
;
jetcollection_t
*
m_jetVec
;
int
m_ctr
;
int
m_dctr
;
Message
m_log
;
};
}
// namespace SpartyJet
#endif
// JETREC_JETSPLITMERGETOOL_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Apr 24, 6:32 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4850449
Default Alt Text
JetSplitMergeTool.h (2 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment