CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HemisphereAlgo Class Reference

#include <HemisphereAlgo.h>

Public Member Functions

std::vector< float > getAxis1 ()
 
std::vector< float > getAxis2 ()
 
std::vector< int > getGrouping ()
 
 HemisphereAlgo (const std::vector< reco::CandidatePtr > &componentRefs_, const int seed_method=0, const int hemisphere_association_method=0)
 
void SetMethod (int seed_method, int hemisphere_association_method)
 
void SetNoSeed (int object_number)
 
 ~HemisphereAlgo ()
 

Private Member Functions

int reconstruct ()
 

Private Attributes

std::vector< float > Axis1
 
std::vector< float > Axis2
 
int hemi_meth
 
std::vector< reco::CandidatePtrObject
 
std::vector< int > Object_Group
 
std::vector< int > Object_Noseed
 
int seed_meth
 
int status
 

Detailed Description

Definition at line 24 of file HemisphereAlgo.h.

Constructor & Destructor Documentation

HemisphereAlgo::HemisphereAlgo ( const std::vector< reco::CandidatePtr > &  componentRefs_,
const int  seed_method = 0,
const int  hemisphere_association_method = 0 
)

Definition at line 11 of file HemisphereAlgo.cc.

HemisphereAlgo::~HemisphereAlgo ( )
inline

Definition at line 53 of file HemisphereAlgo.h.

53 {};

Member Function Documentation

vector< float > HemisphereAlgo::getAxis1 ( )

Definition at line 22 of file HemisphereAlgo.cc.

vector< float > HemisphereAlgo::getAxis2 ( )

Definition at line 26 of file HemisphereAlgo.cc.

vector< int > HemisphereAlgo::getGrouping ( )

Definition at line 31 of file HemisphereAlgo.cc.

int HemisphereAlgo::reconstruct ( )
private

Definition at line 36 of file HemisphereAlgo.cc.

void HemisphereAlgo::SetMethod ( int  seed_method,
int  hemisphere_association_method 
)
inline

Definition at line 66 of file HemisphereAlgo.h.

References hemi_meth, seed_meth, and status.

66  {
67  seed_meth = seed_method;
68  hemi_meth = hemisphere_association_method;
69  status = 0;
70 } // sets or overwrites the seed and association methods
void HemisphereAlgo::SetNoSeed ( int  object_number)
inline

Definition at line 72 of file HemisphereAlgo.h.

References Object_Noseed, and status.

72  {
73  Object_Noseed[object_number] = 1;
74  status = 0;
75 }
std::vector< int > Object_Noseed

Member Data Documentation

std::vector<float> HemisphereAlgo::Axis1
private

Definition at line 88 of file HemisphereAlgo.h.

std::vector<float> HemisphereAlgo::Axis2
private

Definition at line 89 of file HemisphereAlgo.h.

int HemisphereAlgo::hemi_meth
private

Definition at line 93 of file HemisphereAlgo.h.

Referenced by SetMethod().

std::vector<reco::CandidatePtr> HemisphereAlgo::Object
private

Definition at line 83 of file HemisphereAlgo.h.

std::vector<int> HemisphereAlgo::Object_Group
private

Definition at line 85 of file HemisphereAlgo.h.

std::vector<int> HemisphereAlgo::Object_Noseed
private

Definition at line 86 of file HemisphereAlgo.h.

Referenced by SetNoSeed().

int HemisphereAlgo::seed_meth
private

Definition at line 92 of file HemisphereAlgo.h.

Referenced by SetMethod().

int HemisphereAlgo::status
private

Definition at line 94 of file HemisphereAlgo.h.

Referenced by SetMethod(), and SetNoSeed().