CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Private Types | Private Attributes
DEcompare< T > Class Template Reference

#include <DEcompare.h>

Public Member Functions

bool CompareCollections (std::ofstream &, int dump=0)
 
int de_type () const
 
 DEcompare ()
 
 DEcompare (typeT dt, typeT em)
 
bool do_compare (std::ofstream &, int dump=0)
 
bool DumpCandidate (col_cit itd, col_cit itm, std::ofstream &, int mode=0)
 
bool get_match () const
 
int get_ncand (typeT) const
 
int get_ncand (int i) const
 
L1DEDigiCollection getDEDigis () const
 
std::string GetName (int i=0) const
 
bool is_empty (col_cit it) const
 
std::string print (col_cit it) const
 
std::string print () const
 
bool SortCollections (cand_vec &dg, cand_vec &eg, cand_vec &db, cand_vec &eb)
 
 ~DEcompare ()
 

Static Public Attributes

static const int debug_ =0
 

Private Types

typedef std::pair< cand_type,
cand_type
cand_pair
 
typedef de_trait::cand_type cand_type
 
typedef std::vector< cand_typecand_vec
 
typedef T::const_iterator col_cit
 
typedef T::iterator col_it
 
typedef T::size_type col_sz
 
typedef de_trait::coll_type coll_type
 
typedef DEtrait< Tde_trait
 
typedef de_trait::coll_type const * typeT
 

Private Attributes

typeT data_
 
DEutils< Tde_utils
 
L1DEDigiCollection deDigiColl_
 
typeT emul_
 
int ncand_ [2]
 
bool t_match
 

Detailed Description

template<typename T>
class DEcompare< T >

Definition at line 20 of file DEcompare.h.

Member Typedef Documentation

template<typename T >
typedef std::pair<cand_type,cand_type> DEcompare< T >::cand_pair
private

Definition at line 29 of file DEcompare.h.

template<typename T >
typedef de_trait::cand_type DEcompare< T >::cand_type
private

Definition at line 27 of file DEcompare.h.

template<typename T >
typedef std::vector<cand_type> DEcompare< T >::cand_vec
private

Definition at line 28 of file DEcompare.h.

template<typename T >
typedef T::const_iterator DEcompare< T >::col_cit
private

Definition at line 23 of file DEcompare.h.

template<typename T >
typedef T::iterator DEcompare< T >::col_it
private

Definition at line 24 of file DEcompare.h.

template<typename T >
typedef T::size_type DEcompare< T >::col_sz
private

Definition at line 22 of file DEcompare.h.

template<typename T >
typedef de_trait::coll_type DEcompare< T >::coll_type
private

Definition at line 26 of file DEcompare.h.

template<typename T >
typedef DEtrait<T> DEcompare< T >::de_trait
private

Definition at line 25 of file DEcompare.h.

template<typename T >
typedef de_trait::coll_type const* DEcompare< T >::typeT
private

Definition at line 30 of file DEcompare.h.

Constructor & Destructor Documentation

template<typename T >
DEcompare< T >::DEcompare ( )
inline

Definition at line 34 of file DEcompare.h.

template<typename T >
DEcompare< T >::~DEcompare ( )
inline

Definition at line 35 of file DEcompare.h.

template<typename T >
DEcompare< T >::DEcompare ( typeT  dt,
typeT  em 
)
inline

Definition at line 37 of file DEcompare.h.

Member Function Documentation

template<typename T >
bool DEcompare< T >::CompareCollections ( std::ofstream &  os,
int  dump = 0 
)

-— treat NON-AGREEING candidates -—

-— treat AGREEING candidates -—

Definition at line 132 of file DEcompare.h.

template<typename T >
int DEcompare< T >::de_type ( ) const
inline

Definition at line 76 of file DEcompare.h.

template<typename T >
bool DEcompare< T >::do_compare ( std::ofstream &  os,
int  dump = 0 
)

Definition at line 106 of file DEcompare.h.

template<typename T >
bool DEcompare< T >::DumpCandidate ( col_cit  itd,
col_cit  itm,
std::ofstream &  os,
int  mode = 0 
)

Definition at line 311 of file DEcompare.h.

template<typename T >
bool DEcompare< T >::get_match ( ) const
inline

Definition at line 77 of file DEcompare.h.

template<typename T >
int DEcompare< T >::get_ncand ( typeT  col) const

Definition at line 121 of file DEcompare.h.

template<typename T >
int DEcompare< T >::get_ncand ( int  i) const
inline

Definition at line 66 of file DEcompare.h.

template<typename T >
L1DEDigiCollection DEcompare< T >::getDEDigis ( ) const
inline

Definition at line 79 of file DEcompare.h.

template<typename T >
std::string DEcompare< T >::GetName ( int  i = 0) const
inline

Definition at line 73 of file DEcompare.h.

template<typename T >
bool DEcompare< T >::is_empty ( col_cit  it) const
inline

Definition at line 75 of file DEcompare.h.

template<typename T >
std::string DEcompare< T >::print ( col_cit  it) const
inline

Definition at line 74 of file DEcompare.h.

template<typename T >
std::string DEcompare< T >::print ( void  ) const
inline

Definition at line 81 of file DEcompare.h.

template<typename T >
bool DEcompare< T >::SortCollections ( cand_vec dg,
cand_vec eg,
cand_vec db,
cand_vec eb 
)

Definition at line 243 of file DEcompare.h.

Member Data Documentation

template<typename T >
typeT DEcompare< T >::data_
private

Definition at line 96 of file DEcompare.h.

template<typename T >
DEutils<T> DEcompare< T >::de_utils
private

Definition at line 98 of file DEcompare.h.

template<typename T >
const int DEcompare< T >::debug_ =0
static

Definition at line 92 of file DEcompare.h.

template<typename T >
L1DEDigiCollection DEcompare< T >::deDigiColl_
private

Definition at line 101 of file DEcompare.h.

template<typename T >
typeT DEcompare< T >::emul_
private

Definition at line 97 of file DEcompare.h.

template<typename T >
int DEcompare< T >::ncand_[2]
private

Definition at line 100 of file DEcompare.h.

template<typename T >
bool DEcompare< T >::t_match
private

Definition at line 99 of file DEcompare.h.