CMS 3D CMS Logo

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

#include <DTSC.h>

Classes

class  h
 

Public Member Functions

void addCand (DTTSCand *cand)
 Add a TSM candidate to the Sect Coll, ifs is first/second track flag. More...
 
void addDTSectCollPhCand (DTSectCollPhCand *cand)
 Add a Sector Collector. More...
 
void addPhCand (DTSectCollPhCand *cand)
 Add a TSM candidate to the Sect Coll, ifs is first/second track flag. More...
 
void addThCand (DTSectCollThCand *cand)
 Add a Theta candidate to sect coll. More...
 
void clear ()
 Clear. More...
 
void clear ()
 Clear. More...
 
DTConfigSectCollconfig () const
 Configuration set. More...
 
const DTConfigSectCollconfig () const
 Configuration set. More...
 
 DTSC (DTConfigSectColl *)
 Constructor. More...
 
 DTSC (int istat)
 Constructor. More...
 
DTTSCandDTSectCollsort1 ()
 Sort 1. More...
 
DTSectCollPhCandDTSectCollsort1 ()
 Phi Sort 1. More...
 
DTTSCandDTSectCollsort2 ()
 Sort 2. More...
 
DTSectCollPhCandDTSectCollsort2 ()
 Phi Sort 2. More...
 
DTSectCollPhCandgetDTSectCollPhCand (int ifs, unsigned n) const
 Return requested TSS candidate. More...
 
DTSectCollThCandgetDTSectCollThCand (unsigned n) const
 Return requested Theta candidate. More...
 
DTTSCandgetDTTSCand (int ifs, unsigned n) const
 Return requested TSS candidate. More...
 
DTTSCandgetTrack (int n) const
 Return the requested track. More...
 
DTSectCollPhCandgetTrackPh (int n) const
 Return the requested Phi track. More...
 
DTSectCollThCandgetTrackTh (int n) const
 Return the requested Theta track. More...
 
const DTTracoTrigDatagetTracoT (int ifs, unsigned n) const
 Return requested TRACO trigger. More...
 
void ignoreSecondTrack ()
 Set a flag to skip sort2. More...
 
void ignoreSecondTrack ()
 Set a flag to skip sort2. More...
 
unsigned nCand (int ifs) const
 Return the number of input tracks (first/second) More...
 
unsigned nCandPh (int ifs) const
 Return the number of Phi input tracks (first/second) More...
 
unsigned nCandTh () const
 Return the number of Theta input tracks. More...
 
int nFirstT () const
 Return the number of input first tracks. More...
 
int nFirstTPh () const
 Return the number of input first tracks. More...
 
int nSecondT () const
 Return the number of input second tracks. More...
 
int nSecondTPh () const
 Return the number of input second tracks. More...
 
int nTracks () const
 Return the number of sorted tracks. More...
 
int nTracksPh () const
 Return the number of output Phi tracks. More...
 
int nTracksTh () const
 Return the number of output Theta tracks. More...
 
void run ()
 Run the Sector Collector algorithm. More...
 
void run ()
 Run the Sector Collector algorithm. More...
 
void setConfig (const DTConfigSectColl *conf)
 Set configuration. More...
 
 ~DTSC ()
 Destructor. More...
 
 ~DTSC ()
 Destructor. More...
 

Private Attributes

std::vector< DTSectCollThCand * > _cand_th
 
DTConfigSectColl_config
 
const DTConfigSectColl_config
 
int _ignoreSecondTrack
 
std::vector< DTTSCand * > _incand [2]
 
std::vector< DTSectCollPhCand * > _incand_ph [2]
 
std::vector< DTTSCand * > _outcand
 
std::vector< DTSectCollPhCand * > _outcand_ph
 
int _stat
 

Detailed Description

Definition at line 42 of file DTSC.h.

Constructor & Destructor Documentation

DTSC::DTSC ( int  istat)

Constructor.

Definition at line 42 of file DTSC.cc.

DTSC::~DTSC ( )

Destructor.

Definition at line 55 of file DTSC.cc.

DTSC::DTSC ( DTConfigSectColl )

Constructor.

DTSC::~DTSC ( )

Destructor.

Member Function Documentation

void DTSC::addCand ( DTTSCand cand)

Add a TSM candidate to the Sect Coll, ifs is first/second track flag.

void DTSC::addDTSectCollPhCand ( DTSectCollPhCand cand)

Add a Sector Collector.

Definition at line 303 of file DTSC.cc.

void DTSC::addPhCand ( DTSectCollPhCand cand)

Add a TSM candidate to the Sect Coll, ifs is first/second track flag.

Definition at line 235 of file DTSC.cc.

void DTSC::addThCand ( DTSectCollThCand cand)

Add a Theta candidate to sect coll.

Definition at line 242 of file DTSC.cc.

void DTSC::clear ( )

Clear.

void DTSC::clear ( void  )

Clear.

Definition at line 67 of file DTSC.cc.

DTConfigSectColl* DTSC::config ( void  ) const
inline

Configuration set.

Definition at line 74 of file DTSCCand.h.

References _config.

74 { return _config; }
const DTConfigSectColl * _config
Definition: DTSC.h:121
const DTConfigSectColl* DTSC::config ( void  ) const
inline

Configuration set.

Definition at line 86 of file DTSC.h.

References _config.

Referenced by DTSectCollThCand::config(), and DTSectCollPhCand::config().

86 { return _config; }
const DTConfigSectColl * _config
Definition: DTSC.h:121
DTTSCand* DTSC::DTSectCollsort1 ( )

Sort 1.

DTSectCollPhCand * DTSC::DTSectCollsort1 ( )

Phi Sort 1.

Definition at line 141 of file DTSC.cc.

DTTSCand* DTSC::DTSectCollsort2 ( )

Sort 2.

DTSectCollPhCand * DTSC::DTSectCollsort2 ( )

Phi Sort 2.

Definition at line 194 of file DTSC.cc.

DTSectCollPhCand * DTSC::getDTSectCollPhCand ( int  ifs,
unsigned  n 
) const

Return requested TSS candidate.

Definition at line 270 of file DTSC.cc.

DTSectCollThCand * DTSC::getDTSectCollThCand ( unsigned  n) const

Return requested Theta candidate.

Definition at line 289 of file DTSC.cc.

DTTSCand* DTSC::getDTTSCand ( int  ifs,
unsigned  n 
) const

Return requested TSS candidate.

DTTSCand* DTSC::getTrack ( int  n) const

Return the requested track.

DTSectCollPhCand * DTSC::getTrackPh ( int  n) const

Return the requested Phi track.

Definition at line 312 of file DTSC.cc.

DTSectCollThCand * DTSC::getTrackTh ( int  n) const

Return the requested Theta track.

Definition at line 328 of file DTSC.cc.

const DTTracoTrigData* DTSC::getTracoT ( int  ifs,
unsigned  n 
) const

Return requested TRACO trigger.

void DTSC::ignoreSecondTrack ( )
inline

Set a flag to skip sort2.

Definition at line 57 of file DTSCCand.h.

References _ignoreSecondTrack.

57 { _ignoreSecondTrack=1; }
int _ignoreSecondTrack
Definition: DTSC.h:133
void DTSC::ignoreSecondTrack ( )
inline

Set a flag to skip sort2.

Definition at line 69 of file DTSC.h.

References _ignoreSecondTrack.

69 { _ignoreSecondTrack=1; }
int _ignoreSecondTrack
Definition: DTSC.h:133
unsigned DTSC::nCand ( int  ifs) const

Return the number of input tracks (first/second)

unsigned DTSC::nCandPh ( int  ifs) const

Return the number of Phi input tracks (first/second)

Definition at line 250 of file DTSC.cc.

unsigned DTSC::nCandTh ( ) const

Return the number of Theta input tracks.

Definition at line 262 of file DTSC.cc.

int DTSC::nFirstT ( ) const
inline

Return the number of input first tracks.

Definition at line 80 of file DTSCCand.h.

References _incand.

80 { return _incand[0].size(); }
std::vector< DTTSCand * > _incand[2]
Definition: DTSCCand.h:104
int DTSC::nFirstTPh ( ) const
inline

Return the number of input first tracks.

Definition at line 95 of file DTSC.h.

References _incand_ph.

95 { return _incand_ph[0].size(); }
std::vector< DTSectCollPhCand * > _incand_ph[2]
Definition: DTSC.h:124
int DTSC::nSecondT ( ) const
inline

Return the number of input second tracks.

Definition at line 83 of file DTSCCand.h.

References _incand.

83 { return _incand[1].size(); }
std::vector< DTTSCand * > _incand[2]
Definition: DTSCCand.h:104
int DTSC::nSecondTPh ( ) const
inline

Return the number of input second tracks.

Definition at line 98 of file DTSC.h.

References _incand_ph.

98 { return _incand_ph[1].size(); }
std::vector< DTSectCollPhCand * > _incand_ph[2]
Definition: DTSC.h:124
int DTSC::nTracks ( ) const
inline

Return the number of sorted tracks.

Definition at line 92 of file DTSCCand.h.

References _outcand.

92 { return _outcand.size(); }
std::vector< DTTSCand * > _outcand
Definition: DTSCCand.h:107
int DTSC::nTracksPh ( ) const
inline

Return the number of output Phi tracks.

Definition at line 107 of file DTSC.h.

References _outcand_ph.

107 { return _outcand_ph.size(); }
std::vector< DTSectCollPhCand * > _outcand_ph
Definition: DTSC.h:127
int DTSC::nTracksTh ( ) const
inline

Return the number of output Theta tracks.

Definition at line 110 of file DTSC.h.

References _cand_th.

110 { return _cand_th.size(); }
std::vector< DTSectCollThCand * > _cand_th
Definition: DTSC.h:130
void DTSC::run ( )

Run the Sector Collector algorithm.

void DTSC::run ( void  )

Run the Sector Collector algorithm.

Definition at line 84 of file DTSC.cc.

void DTSC::setConfig ( const DTConfigSectColl conf)
inline

Set configuration.

Definition at line 55 of file DTSC.h.

References _config.

55 { _config=conf; };
const DTConfigSectColl * _config
Definition: DTSC.h:121

Member Data Documentation

std::vector<DTSectCollThCand*> DTSC::_cand_th
private

Definition at line 130 of file DTSC.h.

Referenced by nTracksTh().

DTConfigSectColl* DTSC::_config
private

Definition at line 101 of file DTSCCand.h.

const DTConfigSectColl* DTSC::_config
private

Definition at line 121 of file DTSC.h.

Referenced by config(), and setConfig().

int DTSC::_ignoreSecondTrack
private

Definition at line 133 of file DTSC.h.

Referenced by ignoreSecondTrack().

std::vector<DTTSCand*> DTSC::_incand[2]
private

Definition at line 104 of file DTSCCand.h.

Referenced by nFirstT(), and nSecondT().

std::vector<DTSectCollPhCand*> DTSC::_incand_ph[2]
private

Definition at line 124 of file DTSC.h.

Referenced by nFirstTPh(), and nSecondTPh().

std::vector<DTTSCand*> DTSC::_outcand
private

Definition at line 107 of file DTSCCand.h.

Referenced by nTracks().

std::vector<DTSectCollPhCand*> DTSC::_outcand_ph
private

Definition at line 127 of file DTSC.h.

Referenced by nTracksPh().

int DTSC::_stat
private

Definition at line 136 of file DTSC.h.