CMS 3D CMS Logo

DYTInfo.cc
Go to the documentation of this file.
2 using namespace reco;
3 
5 {
6  NStUsed_ = 0;
7  DYTEstimators_.assign (4,-1);
8  UsedStations_.assign (4, false);
9  IdChambers_.assign (4,DetId());
10  Thresholds_.assign (4,-1);
11 }
12 
14 
15 void DYTInfo::CopyFrom(const DYTInfo &dytInfo)
16 {
17  setNStUsed(dytInfo.NStUsed());
19  setUsedStations(dytInfo.UsedStations());
20  setIdChambers(dytInfo.IdChambers());
21  setThresholds(dytInfo.Thresholds());
22 }
DYTInfo()
Constructor - Destructor.
Definition: DYTInfo.cc:4
const std::vector< DetId > & IdChambers() const
DetId vector of chamber with valid estimator.
Definition: DYTInfo.h:45
void setUsedStations(const std::map< int, bool > &ustMap)
Definition: DYTInfo.h:37
const std::vector< bool > & UsedStations() const
number of segments tested per muon station
Definition: DYTInfo.h:36
void CopyFrom(const DYTInfo &)
copy from another DYTInfo
Definition: DYTInfo.cc:15
const std::vector< double > & Thresholds() const
vector of thresholds
Definition: DYTInfo.h:54
std::vector< DetId > IdChambers_
Definition: DYTInfo.h:67
void setDYTEstimators(const std::map< int, double > &dytEstMap)
Definition: DYTInfo.h:26
const int NStUsed() const
number of stations used by DYT
Definition: DYTInfo.h:21
void setNStUsed(int NStUsed)
Definition: DYTInfo.h:22
std::vector< bool > UsedStations_
Definition: DYTInfo.h:65
std::vector< double > Thresholds_
Definition: DYTInfo.h:68
Definition: DetId.h:18
int NStUsed_
Definition: DYTInfo.h:60
void setIdChambers(const std::map< int, DetId > &IdChambersMap)
Definition: DYTInfo.h:46
fixed size matrix
void setThresholds(const std::map< int, double > &ThresholdsMap)
Definition: DYTInfo.h:55
std::vector< double > DYTEstimators_
Definition: DYTInfo.h:66
const std::vector< double > & DYTEstimators() const
estimator values for all station
Definition: DYTInfo.h:25