Definition at line 51 of file IParticleHandle_Jet.cxx.
◆ coneR()
double IParticleHandle_Jet::Imp::coneR |
( |
| ) |
const |
|
inline |
◆ createShapeFromJetParameters()
Definition at line 245 of file IParticleHandle_Jet.cxx.
252 sep =
new SoSeparator();
262 double thetaMax = 2.*
atan(
exp(-(
eta+inputconeR)));
263 double thetaMin = 2.*
atan(
exp(-(
eta-inputconeR)));
264 double deltaTheta = fabs(thetaMax-thetaMin);
265 double etaScale = deltaTheta/(2.*inputconeR);
268 SoTranslation *translate =
new SoTranslation();
270 SoRotationXYZ *flip =
new SoRotationXYZ();
274 SoRotationXYZ *ytoz =
new SoRotationXYZ();
279 SoRotationXYZ *rotationPhi =
new SoRotationXYZ();
281 rotationPhi->angle =
phi+
M_PI/2.;
284 SoRotationXYZ *rotationEta =
new SoRotationXYZ();
285 double signEta = fabs(
eta)/
eta;
289 rotationEta->angle=
theta;
296 SoScale* myScale =
new SoScale();
299 myScale->scaleFactor.setValue(etaScale,1.,etaScale);
302 SoTranslation *transvertex =
new SoTranslation();
303 transvertex->translation = origin;
305 sep->addChild(transvertex);
306 sep->addChild(rotationPhi);
307 sep->addChild(rotationEta);
310 sep->addChild(translate);
311 sep->addChild(myScale);
324 SoNode * lastChild =
sep->getChild(
sep->getNumChildren()-1 );
325 if (lastChild->getTypeId() == SoCone::getClassTypeId())
◆ energy()
double IParticleHandle_Jet::Imp::energy |
( |
| ) |
const |
|
inline |
◆ energyForLengthAndCuts()
double IParticleHandle_Jet::Imp::energyForLengthAndCuts |
( |
| ) |
const |
|
inline |
◆ eta()
double IParticleHandle_Jet::Imp::eta |
( |
| ) |
const |
|
inline |
◆ phi()
double IParticleHandle_Jet::Imp::phi |
( |
| ) |
const |
|
inline |
◆ pt()
double IParticleHandle_Jet::Imp::pt |
( |
| ) |
const |
|
inline |
◆ rerandomiseMaterial()
void IParticleHandle_Jet::Imp::rerandomiseMaterial |
( |
| ) |
|
Definition at line 592 of file IParticleHandle_Jet.cxx.
610 r = (
rand() /
static_cast<double>(RAND_MAX));
611 g = (
rand() /
static_cast<double>(RAND_MAX));
612 b = (
rand() /
static_cast<double>(RAND_MAX));
616 if ( (
r-1.0)*(
r-1.0)+
g*
g+
b*
b <
r2*0.5 )
620 else if (
r*
r+
g*
g+
b*
b < r2*2.0 )
630 " not be selected such as to satisfy all separation criterias");
◆ transverseEnergy()
double IParticleHandle_Jet::Imp::transverseEnergy |
( |
| ) |
const |
|
inline |
◆ updateConeHeightParameters() [1/2]
void IParticleHandle_Jet::Imp::updateConeHeightParameters |
( |
| ) |
const |
Definition at line 376 of file IParticleHandle_Jet.cxx.
385 if (
sep->getNumChildren()<6) {
392 SoNode * sixthChild =
sep->getChild(5);
393 if (sixthChild->getTypeId()!=SoTranslation::getClassTypeId()) {
397 SoNode * lastChild =
sep->getChild(
sep->getNumChildren()-1);
398 if (lastChild->getTypeId()!=SoCone::getClassTypeId()) {
◆ updateConeHeightParameters() [2/2]
void IParticleHandle_Jet::Imp::updateConeHeightParameters |
( |
SoCone * |
cone, |
|
|
SoTranslation * |
trans, |
|
|
const double & |
energy |
|
) |
| const |
Definition at line 343 of file IParticleHandle_Jet.cxx.
357 trans->translation = SbVec3f(0,-0.5*
h, 0);
362 SbString strHeight, strRadius;
364 (
cone->bottomRadius).
get(strRadius);
◆ cone
SoCone* IParticleHandle_Jet::Imp::cone = nullptr |
◆ coneRPar
double IParticleHandle_Jet::Imp::coneRPar = -1 |
◆ considerTransverseEnergies
bool IParticleHandle_Jet::Imp::considerTransverseEnergies = true |
◆ m_bTagged
SoSwitch* IParticleHandle_Jet::Imp::m_bTagged = nullptr |
◆ m_bTaggingCollSwitch
SoSwitch* IParticleHandle_Jet::Imp::m_bTaggingCollSwitch = nullptr |
◆ m_bTagWeightMV1
double IParticleHandle_Jet::Imp::m_bTagWeightMV1 = 0.0 |
◆ m_bTagWeightMV2c10
double IParticleHandle_Jet::Imp::m_bTagWeightMV2c10 = 0.0 |
◆ m_bTagWeightMV2c20
double IParticleHandle_Jet::Imp::m_bTagWeightMV2c20 = 0.0 |
◆ m_jet
◆ m_JetFitterCombNN_pb
double IParticleHandle_Jet::Imp::m_JetFitterCombNN_pb = 0.0 |
◆ m_JetFitterCombNN_pc
double IParticleHandle_Jet::Imp::m_JetFitterCombNN_pc = 0.0 |
◆ m_JetFitterCombNN_pu
double IParticleHandle_Jet::Imp::m_JetFitterCombNN_pu = 0.0 |
◆ m_randomMat
SoMaterial* IParticleHandle_Jet::Imp::m_randomMat = nullptr |
◆ maxR
double IParticleHandle_Jet::Imp::maxR = 0.0 * SYSTEM_OF_UNITS::m |
◆ scale
◆ sep
SoSeparator* IParticleHandle_Jet::Imp::sep = nullptr |
◆ theclass
◆ theCollHandle
The documentation for this class was generated from the following file:
void updateConeHeightParameters() const
double transverseEnergy() const
double energyForLengthAndCuts() const
bool considerTransverseEnergies
SoSwitch * m_bTaggingCollSwitch