CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DYTInfo.cc
Go to the documentation of this file.
2 using namespace reco;
3 
5  NStUsed_ = 0;
6  DYTEstimators_.assign(4, -1);
7  UsedStations_.assign(4, false);
8  IdChambers_.assign(4, DetId());
9  Thresholds_.assign(4, -1);
10 }
11 
13 
14 void DYTInfo::CopyFrom(const DYTInfo &dytInfo) {
15  setNStUsed(dytInfo.NStUsed());
17  setUsedStations(dytInfo.UsedStations());
18  setIdChambers(dytInfo.IdChambers());
19  setThresholds(dytInfo.Thresholds());
20 }
DYTInfo()
Constructor - Destructor.
Definition: DYTInfo.cc:4
const std::vector< DetId > & IdChambers() const
DetId vector of chamber with valid estimator.
Definition: DYTInfo.h:47
void setUsedStations(const std::map< int, bool > &ustMap)
Definition: DYTInfo.h:39
const std::vector< bool > & UsedStations() const
number of segments tested per muon station
Definition: DYTInfo.h:38
void CopyFrom(const DYTInfo &)
copy from another DYTInfo
Definition: DYTInfo.cc:14
const std::vector< double > & Thresholds() const
vector of thresholds
Definition: DYTInfo.h:56
std::vector< DetId > IdChambers_
Definition: DYTInfo.h:68
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:66
std::vector< double > Thresholds_
Definition: DYTInfo.h:69
Definition: DetId.h:17
int NStUsed_
Definition: DYTInfo.h:62
void setIdChambers(const std::map< int, DetId > &IdChambersMap)
Definition: DYTInfo.h:48
void setThresholds(const std::map< int, double > &ThresholdsMap)
Definition: DYTInfo.h:57
std::vector< double > DYTEstimators_
Definition: DYTInfo.h:67
const std::vector< double > & DYTEstimators() const
estimator values for all station
Definition: DYTInfo.h:25