#include <DTTMax.h>
Classes | |
struct | InfoLayer |
struct | TMax |
Information on each of the four TMax values in a SL. More... | |
Public Types | |
typedef dttmaxenums::SegDir | SegDir |
typedef dttmaxenums::SigmaFactor | SigmaFactor |
typedef dttmaxenums::TMaxCells | TMaxCells |
Public Member Functions | |
DTTMax (const std::vector< DTRecHit1D > &hits, const DTSuperLayer &isl, GlobalVector dir, GlobalPoint pos, DTTTrigBaseSync *sync) | |
Constructor. | |
InfoLayer *& | getInfoLayer (int layer) |
const TMax * | getTMax (TMaxCells cCase) |
std::vector< const TMax * > | getTMax (const DTSuperLayerId &isl) |
std::vector< const TMax * > | getTMax (const DTWireId &idWire) |
virtual | ~DTTMax () |
Destructor. | |
Private Member Functions | |
DTTMax () | |
Private Attributes | |
bool | debug |
std::vector< InfoLayer * > | theInfoLayers |
SegDir | theSegDir |
std::string | theSegType |
std::vector< TMax * > | theTMaxes |
Class to calculate the different TMax values according to the track path
typedef dttmaxenums::SegDir DTTMax::SegDir |
DTTMax::DTTMax | ( | const std::vector< DTRecHit1D > & | hits, |
const DTSuperLayer & | isl, | ||
GlobalVector | dir, | ||
GlobalPoint | pos, | ||
DTTTrigBaseSync * | sync | ||
) |
Constructor.
DTTMax::~DTTMax | ( | ) | [virtual] |
Destructor.
Definition at line 370 of file DTTMax.cc.
References theInfoLayers, and theTMaxes.
{ for (vector<InfoLayer*>::const_iterator ilay = theInfoLayers.begin(); ilay != theInfoLayers.end(); ilay++) { delete (*ilay); } for (vector<TMax*>::const_iterator iTmax = theTMaxes.begin(); iTmax != theTMaxes.end(); iTmax++) { delete (*iTmax); } }
DTTMax::DTTMax | ( | ) | [inline, private] |
InfoLayer*& DTTMax::getInfoLayer | ( | int | layer | ) | [inline] |
vector< const DTTMax::TMax * > DTTMax::getTMax | ( | const DTSuperLayerId & | isl | ) |
Definition at line 354 of file DTTMax.cc.
References dttmaxenums::c123, dttmaxenums::c124, dttmaxenums::c134, dttmaxenums::c234, getTMax(), and findQualityFiles::v.
const DTTMax::TMax * DTTMax::getTMax | ( | TMaxCells | cCase | ) |
vector< const DTTMax::TMax * > DTTMax::getTMax | ( | const DTWireId & | idWire | ) |
Definition at line 327 of file DTTMax.cc.
References dttmaxenums::c123, dttmaxenums::c124, dttmaxenums::c134, dttmaxenums::c234, DTLayerId::layer(), and findQualityFiles::v.
Referenced by DTVDriftCalibration::analyze(), and getTMax().
{ vector<const TMax*> v; if(idWire.layer()==1) { v.push_back(getTMax(c123)); //FIXME: needs pointer v.push_back(getTMax(c124)); v.push_back(getTMax(c134)); } else if(idWire.layer()==2) { v.push_back(getTMax(c123)); v.push_back(getTMax(c124)); v.push_back(getTMax(c234)); } else if(idWire.layer()==3) { v.push_back(getTMax(c123)); v.push_back(getTMax(c134)); v.push_back(getTMax(c234)); } else { v.push_back(getTMax(c124)); v.push_back(getTMax(c134)); v.push_back(getTMax(c234)); } return v; }
bool DTTMax::debug [private] |
std::vector<InfoLayer*> DTTMax::theInfoLayers [private] |
Definition at line 91 of file DTTMax.h.
Referenced by getInfoLayer(), and ~DTTMax().
SegDir DTTMax::theSegDir [private] |
std::string DTTMax::theSegType [private] |