CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
de_rank< T > Struct Template Reference

— order candidates — More...

#include <DEcompare.h>

Inheritance diagram for de_rank< T >:
DEutils< T >

Public Types

typedef de_trait::cand_type cand_type
 
typedef DEtrait< Tde_trait
 
- Public Types inherited from DEutils< T >
typedef de_trait::cand_type cand_type
 
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
 

Public Member Functions

bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
template<>
bool operator() (const cand_type &x, const cand_type &y) const
 
- Public Member Functions inherited from DEutils< T >
bool de_equal (const cand_type &, const cand_type &)
 — candidate match definition — More...
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal (const cand_type &lhs, const cand_type &rhs)
 
bool de_equal_loc (const cand_type &, const cand_type &)
 — candidate location-match definition — More...
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
template<>
bool de_equal_loc (const cand_type &lhs, const cand_type &rhs)
 
col_it de_find (col_it, col_it, const cand_type &)
 — find candidate — More...
 
bool de_nequal (const cand_type &, const cand_type &)
 
bool de_nequal_loc (const cand_type &, const cand_type &)
 
int de_type () const
 
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int ctype)
 — form de-digi — More...
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
template<>
L1DataEmulDigi DEDigi (col_cit itd, col_cit itm, int aflag)
 
 DEutils ()
 
std::string GetName (int i=0) const
 — name candidate — More...
 
bool is_empty (col_cit) const
 — candidate emptiness definition — More...
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
template<>
bool is_empty (col_cit it) const
 
std::string print (col_cit) const
 — print candidate — More...
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
template<>
std::string print (col_cit it) const
 
 ~DEutils ()
 

Detailed Description

template<typename T>
struct de_rank< T >

— order candidates —

Definition at line 15 of file DEcompare.h.

Member Typedef Documentation

template<typename T >
typedef de_trait::cand_type de_rank< T >::cand_type

Definition at line 1517 of file DEutils.h.

template<typename T >
typedef DEtrait<T> de_rank< T >::de_trait

Definition at line 1516 of file DEutils.h.

Member Function Documentation

template<typename T >
bool de_rank< T >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1518 of file DEutils.h.

1518  {
1519  return false; //default
1520  }
template<>
bool de_rank< EcalTrigPrimDigiCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1523 of file DEutils.h.

1523 { return x.compressedEt() > y.compressedEt(); }
Definition: DDAxes.h:10
template<>
bool de_rank< HcalTrigPrimDigiCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1524 of file DEutils.h.

1524 { return x.SOI_compressedEt() > y.SOI_compressedEt(); }
Definition: DDAxes.h:10
template<>
bool de_rank< L1CaloEmCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1528 of file DEutils.h.

References x, and detailsBasic3DVector::y.

1528  {
1529  if (x.rank() != y.rank()) {
1530  return (x.rank() < y.rank()) ;
1531  } else if(x.isolated() != y.isolated()) {
1532  return (x.isolated())?1:0;
1533  } else if(x.rctRegion() != y.rctRegion()){
1534  return (x.rctRegion() < y.rctRegion());
1535  } else if(x.rctCrate() != y.rctCrate()) {
1536  return (x.rctCrate() < y.rctCrate()) ;
1537  } else if(x.rctCard() != y.rctCard()) {
1538  return (x.rctCard() < y.rctCard()) ;
1539  } else {
1540  return x.raw() < y.raw();
1541  }
1542 }
Definition: DDAxes.h:10
template<>
bool de_rank< L1CaloRegionCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1544 of file DEutils.h.

1544 { return x.et() < y.et(); }
Definition: DDAxes.h:10
template<>
bool de_rank< L1GctEmCandCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1546 of file DEutils.h.

1546 { if(x.rank()!=y.rank()){return x.rank() < y.rank();} else{if(x.etaIndex()!=y.etaIndex()){return y.etaIndex() < x.etaIndex();}else{ return x.phiIndex() < y.phiIndex();}}}
Definition: DDAxes.h:10
template<>
bool de_rank< L1GctJetCandCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1547 of file DEutils.h.

1547 { if(x.rank()!=y.rank()){return x.rank() < y.rank();} else{if(x.etaIndex()!=y.etaIndex()){return y.etaIndex() < x.etaIndex();}else{ return x.phiIndex() < y.phiIndex();}}}
Definition: DDAxes.h:10
template<>
bool de_rank< L1MuDTChambPhDigiCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1556 of file DEutils.h.

1556 { if(x.whNum()!=y.whNum()){return x.whNum() < y.whNum();} else{if(x.scNum()!=y.scNum()){return y.scNum() < x.scNum();}else{ return x.stNum() < y.stNum();}}}
Definition: DDAxes.h:10
template<>
bool de_rank< L1MuDTChambThDigiCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1557 of file DEutils.h.

1557 { if(x.whNum()!=y.whNum()){return x.whNum() < y.whNum();} else{if(x.scNum()!=y.scNum()){return y.scNum() < x.scNum();}else{ return x.stNum() < y.stNum();}}}
Definition: DDAxes.h:10
template<>
bool de_rank< L1MuRegionalCandCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1559 of file DEutils.h.

1559 {if(x.phi_packed()!=y.phi_packed()){return x.phi_packed() < y.phi_packed();} else{if(x.eta_packed()!=y.eta_packed()){return y.eta_packed() < x.eta_packed();}else{ return x.quality_packed() < y.quality_packed();}}}
Definition: DDAxes.h:10
template<>
bool de_rank< L1MuGMTCandCollection >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1561 of file DEutils.h.

1561  {
1562  if(x.bx()!=y.bx()){return x.bx() < y.bx();}
1563  else if(x.ptIndex()!=y.ptIndex()){return x.ptIndex() < y.ptIndex();}
1564  else{ return x.quality() < y.quality();}
1565 }
Definition: DDAxes.h:10
template<>
bool de_rank< CSCCorrelatedLCTDigiCollection_ >::operator() ( const cand_type x,
const cand_type y 
) const
inline

Definition at line 1567 of file DEutils.h.

1567 {if(x.getTrknmb()!=y.getTrknmb()){return x.getTrknmb() < y.getTrknmb();} else{if(x.getKeyWG()!=y.getKeyWG()){return y.getKeyWG() < x.getKeyWG();} else{ return x.getQuality() < y.getQuality();}}}
Definition: DDAxes.h:10