CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Enumerations | Functions
cond::rpcobtemp Namespace Reference

Typedefs

typedef boost::function< void(RPCObTemp
const &pl, std::vector< int >
const &which, std::vector
< float > &result, const float
&starttime, const float
&endtime)> 
RPCObTempExtractor
 

Enumerations

enum  How { detid, day, time, temp }
 

Functions

void extractDay (RPCObTemp const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
 
void extractDetId (RPCObTemp const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
 
void extractTemp (RPCObTemp const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
 
void extractTime (RPCObTemp const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
 

Typedef Documentation

typedef boost::function<void(RPCObTemp const & pl, std::vector<int> const & which,std::vector<float> & result,const float& starttime,const float& endtime)> cond::rpcobtemp::RPCObTempExtractor

Definition at line 118 of file RPCObTempPyWrapper.cc.

Enumeration Type Documentation

Function Documentation

void cond::rpcobtemp::extractDay ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 79 of file RPCObTempPyWrapper.cc.

References day, i, and RPCObTemp::ObTemp_rpc.

Referenced by cond::ValueExtractor< RPCObTemp >::extractor().

79  {
80  std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
81  for(unsigned int i = 0; i < imon.size(); ++i ){
82  if (which[0] == 0){
83  result.push_back(imon[i].day);
84  }
85  else{
86  if(imon[i].dpid == which[0])
87  result.push_back(imon[i].day);
88  }
89  }
90  }
int i
Definition: DBlmapReader.cc:9
def which
Definition: eostools.py:335
tuple result
Definition: query.py:137
void cond::rpcobtemp::extractDetId ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 66 of file RPCObTempPyWrapper.cc.

References i, and RPCObTemp::ObTemp_rpc.

Referenced by cond::ValueExtractor< RPCObTemp >::extractor().

66  {
67  std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
68  for(unsigned int i = 0; i < imon.size(); ++i ){
69  if (which[0] == 0){
70  result.push_back(imon[i].dpid);
71  }
72  else{
73  if(imon[i].dpid == which[0])
74  result.push_back(imon[i].dpid);
75  }
76  }
77  }
int i
Definition: DBlmapReader.cc:9
def which
Definition: eostools.py:335
tuple result
Definition: query.py:137
void cond::rpcobtemp::extractTemp ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 105 of file RPCObTempPyWrapper.cc.

References i, RPCObTemp::ObTemp_rpc, and relativeConstraints::value.

Referenced by cond::ValueExtractor< RPCObTemp >::extractor().

105  {
106  std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
107  for(unsigned int i = 0; i < imon.size(); ++i ){
108  if (which[0] == 0){
109  result.push_back(imon[i].value);
110  }
111  else{
112  if(imon[i].dpid == which[0])
113  result.push_back(imon[i].value);
114  }
115  }
116  }
int i
Definition: DBlmapReader.cc:9
def which
Definition: eostools.py:335
tuple result
Definition: query.py:137
void cond::rpcobtemp::extractTime ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 92 of file RPCObTempPyWrapper.cc.

References i, RPCObTemp::ObTemp_rpc, and time.

Referenced by cond::ValueExtractor< RPCObTemp >::extractor().

92  {
93  std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
94  for(unsigned int i = 0; i < imon.size(); ++i ){
95  if (which[0] == 0){
96  result.push_back(imon[i].time);
97  }
98  else{
99  if(imon[i].dpid == which[0])
100  result.push_back(imon[i].time);
101  }
102  }
103  }
int i
Definition: DBlmapReader.cc:9
def which
Definition: eostools.py:335
tuple result
Definition: query.py:137