#include <WaferTree.h>
|
| bool | add (int bec, int ld, int eta, int phi, int side, Wafer &wafer, std::string &errorMessage) |
| bool | add (int bec, int ld, int eta, int phi, Wafer &wafer, std::string &errorMessage) |
| LayerDisk & | operator[] (int bec) |
| int | nParts () const |
Definition at line 74 of file WaferTree.h.
◆ add() [1/2]
| bool BarrelEndcap::add |
( |
int | bec, |
|
|
int | ld, |
|
|
int | eta, |
|
|
int | phi, |
|
|
int | side, |
|
|
Wafer & | wafer, |
|
|
std::string & | errorMessage ) |
|
inherited |
Definition at line 55 of file WaferTree.cxx.
55 {
56 errorMessage = "";
59 if (
count(bec) == 0) {
60 insert(pair<int, LayerDisk>(bec, LayerDisk()));
61 }
62 if (!(*
this)[bec].
add(ld,
eta,
phi, side, wafer)) {
64 errorMessage =
errmsg.str();
65 return false;
66 }
67 return true;
68}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
static thread_local std::ostringstream errmsg
bool add(int bec, int ld, int eta, int phi, int side, Wafer &wafer, std::string &errorMessage)
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
◆ add() [2/2]
| bool BarrelEndcap::add |
( |
int | bec, |
|
|
int | ld, |
|
|
int | eta, |
|
|
int | phi, |
|
|
Wafer & | wafer, |
|
|
std::string & | errorMessage ) |
|
inherited |
◆ nParts()
| int BarrelEndcap::nParts |
( |
| ) |
const |
|
inlineinherited |
◆ operator[]()
| LayerDisk & BarrelEndcap::operator[] |
( |
int | bec | ) |
|
|
inlineinherited |
◆ elements
| T std::map< K, T >::elements |
|
inherited |
◆ keys
The documentation for this class was generated from the following file: