|
|
Go to the documentation of this file.
16 return a->type() % 100 <
b->type() % 100;
21 if (
std::abs(
a->translation().rho() -
b->translation().rho()) < 0.01 &&
22 (
std::abs(
a->translation().phi() -
b->translation().phi()) < 0.01 ||
23 std::abs(
a->translation().phi() -
b->translation().phi()) > 6.27) &&
24 a->translation().z() *
b->translation().z() > 0.0) {
32 if (
a->translation().z() ==
b->translation().z()) {
33 return a->translation().rho() <
b->translation().rho();
36 return a->translation().z() <
b->translation().z();
45 double phi =
a->phi();
50 std::vector<const GeometricDet*>
const&
comp =
a->components().back()->components();
71 double phi1 =
i->phi() >= 0 ?
i->phi() :
i->phi() + 2 *
M_PI;
75 double com =
comp.front()->phi() >= 0 ?
comp.front()->phi() : 2 *
M_PI +
comp.front()->phi();
84 std::vector<const GeometricDet*>
comp;
85 a->deepComponents(
comp);
89 for (
auto&
i :
comp) {
97 for (
auto&
i :
comp) {
105 for (
auto&
i :
comp) {
106 double phi1 =
i->phi() >= 0 ?
i->phi() :
i->translation().phi() + 2 *
M_PI;
110 double com =
comp.front()->phi() >= 0 ?
comp.front()->phi() : 2 *
M_PI +
comp.front()->phi();
119 double phi =
a->phi();
137 return a->deepComponents().front()->rho() <
b->deepComponents().front()->rho();
151 <<
"CmsTrackerLevelBuilder::build called on volume"
152 <<
" tracker->name() = " <<
tracker->name() <<
" tracker->path() = " << fv.
geoHistory()
153 <<
" tracker->type() = " <<
tracker->type();
161 edm::LogVerbatim(
"CmsTrackerLevelBuilder") <<
"Calling buildComponent, before";
165 buildComponent(fv,
tracker, attribute);
168 edm::LogVerbatim(
"CmsTrackerLevelBuilder") <<
"Calling buildComponent, after";
183 <<
"CmsTrackerLevelBuilder::build: Exit, finished all buildComponents calls.";
196 <<
"CmsTrackerLevelBuilder::build called on volume"
197 <<
" tracker->name() = " <<
tracker->name() <<
" tracker->path() = " << fv.
geoHistory()
198 <<
" tracker->type() = " <<
tracker->type();
212 <<
"Calling buildComponent, before."
213 <<
" level = " <<
level <<
" type = " <<
type <<
" fv.level() = " << fv.
level()
218 buildComponent(fv,
tracker, attribute);
222 <<
"Calling buildComponent, after."
223 <<
" level = " <<
level <<
" type = " <<
type <<
" fv.level() = " << fv.
level()
233 <<
"CmsTrackerLevelBuilder::build: Exit, finished all buildComponents calls.";
static double getPhiModuleMirror(const GeometricDet *a)
const std::vector< const Node * > geoHistory() const
bool parent()
set the current node to the parent node ...
static bool isLessZ(const GeometricDet *a, const GeometricDet *b)
static double getPhiGluedModule(const GeometricDet *a)
static double getPhiModule(const GeometricDet *a)
static double getPhi(const GeometricDet *a)
static bool isLessR(const GeometricDet *a, const GeometricDet *b)
bool firstChild()
set the current node to the first child ...
static bool subDetByType(const GeometricDet *a, const GeometricDet *b)
bool firstChild()
set the current node to the first child
bool nextSibling()
set the current node to the next sibling ...
static bool isLessModZ(const GeometricDet *a, const GeometricDet *b)
static double getPhiMirror(const GeometricDet *a)
static double getPhiGluedModuleMirror(const GeometricDet *a)
const int level() const
get Iterator level
void build(FilteredView &, GeometricDet *, const std::string &) override
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
static bool isLessRModule(const GeometricDet *a, const GeometricDet *b)
Log< level::Info, true > LogVerbatim
Abs< T >::type abs(const T &t)
static bool phiSortNP(const GeometricDet *a, const GeometricDet *b)