#include <iostream>
#include <stdexcept>
#include "boost/io/ios_state.hpp"
#include <map>
#include "TRandom3.h"
#include "TF1.h"
#include "TNtupleD.h"
#include "TFile.h"
#include "TROOT.h"
#include "GeoSpecialShapes/LArWheelCalculator.h"
#include "LArWheelSliceSolid.h"
#include "CLHEP/Units/SystemOfUnits.h"
#include "CLHEP/Units/PhysicalConstants.h"
#include <stdlib.h>
#include "CxxUtils/checker_macros.h"
Go to the source code of this file.
◆ LArWheelSliceSolid_fcn_area()
double LArWheelSliceSolid_fcn_area |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
Definition at line 528 of file LArWheelSliceSolidTests.cxx.
530 const double &
z =
x[0];
531 const double &
r =
p[0];
532 const double &
index =
p[1];
534 G4ThreeVector
a(0.,
r,
z);
535 double b = solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, -1, 121)
536 - solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, 1, 121);
◆ LArWheelSliceSolid_fcn_area_on_pc()
double LArWheelSliceSolid_fcn_area_on_pc |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
Definition at line 548 of file LArWheelSliceSolidTests.cxx.
550 const double &
z =
x[0];
551 const double &
index =
p[0];
554 get_r(solid[
index]->m_BoundingShape,
z, rmin, rmax);
557 G4ThreeVector
a(0., rmin,
z);
558 result += solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, -1, 232)
559 - solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, 1, 232);
561 result += solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, -1, 343)
562 - solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, 1, 343);
◆ LArWheelSliceSolid_fcn_side_area()
double LArWheelSliceSolid_fcn_side_area |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ LArWheelSliceSolid_fcn_vol()
double LArWheelSliceSolid_fcn_vol |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ LArWheelSliceSolid_get_dl()
double LArWheelSliceSolid_get_dl |
( |
double * |
x, |
|
|
double * |
par, |
|
|
G4int |
side |
|
) |
| |
Definition at line 568 of file LArWheelSliceSolidTests.cxx.
570 const double &
z =
x[0];
571 const double &
r =
par[0];
574 const double h = 0.001;
577 G4ThreeVector
p(0.,
r,
z +
h);
578 G4double D1 = solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
580 D1 -= solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
584 G4double D2 = solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
586 D2 -= solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
589 G4double D = (D2 * 4 - D1) / 3.;
590 G4double
dl = sqrt(1 + D * D);
◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |