10 edm::LogInfo(
"CtfSpecialSeedGenerator|BeamHaloPairGenerator") <<
"Constructing BeamHaloPairGenerator";
22 if (
layers.numberOfLayersInSet() != 2)
24 <<
"You are using " <<
layers.numberOfLayersInSet() <<
" layers in set instead of 2 ";
26 auto innerHits =
region.hits(es,
ls[0]);
27 auto outerHits =
region.hits(es,
ls[1]);
29 for (
auto iOuterHit = outerHits.begin(); iOuterHit != outerHits.end(); iOuterHit++) {
30 for (
auto iInnerHit = innerHits.begin(); iInnerHit != innerHits.end(); iInnerHit++) {
34 GlobalVector d = crhpo->globalPosition() - crhpi->globalPosition();
35 double ABSsinDtheta = fabs(
sin(
d.theta()));
37 <<
"position1: " << crhpo->globalPosition() <<
" position2: " << crhpi->globalPosition()
38 <<
" |sin(Dtheta)|: " << ABSsinDtheta << ((ABSsinDtheta >
theMaxTheta) ?
" skip" :
" keep");