#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 "LArWheelSolid.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.
◆ LArWheelSolid_fcn_area()
double LArWheelSolid_fcn_area |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
Definition at line 530 of file LArWheelSolidTests.cxx.
532 const double &
z =
x[0];
533 const double &
r =
p[0];
534 const double &
index =
p[1];
536 G4ThreeVector
a(0.,
r,
z);
537 double b = solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, -1, 121)
538 - solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, 1, 121);
◆ LArWheelSolid_fcn_area_on_pc()
double LArWheelSolid_fcn_area_on_pc |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
Definition at line 550 of file LArWheelSolidTests.cxx.
552 const double &
z =
x[0];
553 const double &
index =
p[0];
556 get_r(solid[
index]->m_BoundingShape,
z, rmin, rmax);
559 G4ThreeVector
a(0., rmin,
z);
560 result += solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, -1, 232)
561 - solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, 1, 232);
563 result += solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, -1, 343)
564 - solid[
index]->GetCalculator()->AmplitudeOfSurface(
a, 1, 343);
◆ LArWheelSolid_fcn_side_area()
double LArWheelSolid_fcn_side_area |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ LArWheelSolid_fcn_vol()
double LArWheelSolid_fcn_vol |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ LArWheelSolid_get_dl()
double LArWheelSolid_get_dl |
( |
double * |
x, |
|
|
double * |
par, |
|
|
G4int |
side |
|
) |
| |
Definition at line 570 of file LArWheelSolidTests.cxx.
572 const double &
z =
x[0];
573 const double &
r =
par[0];
576 const double h = 0.001;
579 G4ThreeVector
p(0.,
r,
z +
h);
580 G4double D1 = solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
582 D1 -= solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
586 G4double D2 = solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
588 D2 -= solid[
index]->GetCalculator()->AmplitudeOfSurface(
p,
side, 5665);
591 G4double D = (D2 * 4 - D1) / 3.;
592 G4double
dl = sqrt(1 + D * D);
◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |