CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
DD4hep_MaterialAccountingGroup Class Reference

#include <DD4hep_MaterialAccountingGroup.h>

Public Member Functions

bool addDetector (const MaterialAccountingDetector &detector)
 
MaterialAccountingStep average (void) const
 
double averageEnergyLoss (void) const
 
double averageLength (void) const
 
double averageRadiationLengths (void) const
 
 DD4hep_MaterialAccountingGroup (const std::string &name, const cms::DDCompactView &geometry)
 
const std::vector< GlobalPoint > & elements (void) const
 
void endOfTrack (void)
 
std::pair< double, double > getBoundingR () const
 
std::pair< double, double > getBoundingZ () const
 
std::string info (void) const
 
bool isInside (const MaterialAccountingDetector &detector) const
 
const std::string & name (void) const
 
void savePlots (void)
 
double sigmaEnergyLoss (void) const
 
double sigmaLength (void) const
 
double sigmaRadiationLengths (void) const
 
unsigned int tracks (void) const
 
 ~DD4hep_MaterialAccountingGroup (void)
 

Private Member Functions

 DD4hep_MaterialAccountingGroup (const DD4hep_MaterialAccountingGroup &layer)=delete
 
DD4hep_MaterialAccountingGroupoperator= (const DD4hep_MaterialAccountingGroup &layer)=delete
 
void savePlot (std::shared_ptr< TH1F > plot, const std::string &name)
 
void savePlot (std::shared_ptr< TProfile > plot, float average, const std::string &name)
 

Private Attributes

MaterialAccountingStep m_accounting
 
BoundingBox m_boundingbox
 
MaterialAccountingStep m_buffer
 
bool m_counted
 
std::shared_ptr< TH1F > m_dedx_spectrum
 
std::shared_ptr< TProfile > m_dedx_vs_eta
 
std::shared_ptr< TProfile > m_dedx_vs_r
 
std::shared_ptr< TProfile > m_dedx_vs_z
 
std::vector< GlobalPointm_elements
 
MaterialAccountingStep m_errors
 
TFile * m_file
 
std::string m_name
 
std::shared_ptr< TH1F > m_radlen_spectrum
 
std::shared_ptr< TProfile > m_radlen_vs_eta
 
std::shared_ptr< TProfile > m_radlen_vs_r
 
std::shared_ptr< TProfile > m_radlen_vs_z
 
unsigned int m_tracks
 

Static Private Attributes

static constexpr double s_tolerance = 0.01
 

Detailed Description

Definition at line 23 of file DD4hep_MaterialAccountingGroup.h.

Constructor & Destructor Documentation

◆ DD4hep_MaterialAccountingGroup() [1/2]

DD4hep_MaterialAccountingGroup::DD4hep_MaterialAccountingGroup ( const DD4hep_MaterialAccountingGroup layer)
privatedelete

◆ DD4hep_MaterialAccountingGroup() [2/2]

DD4hep_MaterialAccountingGroup::DD4hep_MaterialAccountingGroup ( const std::string &  name,
const cms::DDCompactView geometry 
)

Definition at line 20 of file DD4hep_MaterialAccountingGroup.cc.

22  : m_name(name),
23  m_elements(),
24  m_boundingbox(),
25  m_accounting(),
26  m_errors(),
27  m_tracks(0),
28  m_counted(false),
29  m_file(nullptr) {
30  cms::DDFilter filter("TrackingMaterialGroup", {name.data(), name.size()});
32  bool firstChild = fv.firstChild();
33 
34  edm::LogVerbatim("TrackingMaterialAnalysis") << "Elements within: " << name;
35 
36  for (const auto j : fv.specpars()) {
37  for (const auto& k : j->paths) {
38  if (firstChild) {
39  std::vector<std::vector<cms::Node*>> children = fv.children(k);
40  for (auto const& path : children) {
41  cms::Translation trans = fv.translation(path);
42  GlobalPoint gp = GlobalPoint(trans.x(), trans.y(), trans.z());
43  m_elements.push_back(gp);
44  std::cout << "Adding element at (r,z) " << gp.perp() << "," << gp.z() << std::endl;
45  }
46  }
47  }
48  }
49 
50  for (unsigned int i = 0; i < m_elements.size(); ++i) {
52  }
53 
55 
56  std::cout << "Final BBox r_range: " << m_boundingbox.range_r().first << ", " << m_boundingbox.range_r().second
57  << std::endl
58  << "Final BBox z_range: " << m_boundingbox.range_z().first << ", " << m_boundingbox.range_z().second
59  << std::endl;
60 
61  // initialize the histograms
63  std::make_shared<TH1F>(TH1F((m_name + "_dedx_spectrum").c_str(), "Energy loss spectrum", 1000, 0., 1.));
65  std::make_shared<TH1F>(TH1F((m_name + "_radlen_spectrum").c_str(), "Radiation lengths spectrum", 1000, 0., 1.));
67  std::make_shared<TProfile>(TProfile((m_name + "_dedx_vs_eta").c_str(), "Energy loss vs. eta", 600, -3., 3.));
68  m_dedx_vs_z =
69  std::make_shared<TProfile>(TProfile((m_name + "_dedx_vs_z").c_str(), "Energy loss vs. Z", 6000, -300., 300.));
70  m_dedx_vs_r =
71  std::make_shared<TProfile>(TProfile((m_name + "_dedx_vs_r").c_str(), "Energy loss vs. R", 1200, 0., 120.));
72  m_radlen_vs_eta = std::make_shared<TProfile>(
73  TProfile((m_name + "_radlen_vs_eta").c_str(), "Radiation lengths vs. eta", 600, -3., 3.));
74  m_radlen_vs_z = std::make_shared<TProfile>(
75  TProfile((m_name + "_radlen_vs_z").c_str(), "Radiation lengths vs. Z", 6000, -300., 300.));
76  m_radlen_vs_r = std::make_shared<TProfile>(
77  TProfile((m_name + "_radlen_vs_r").c_str(), "Radiation lengths vs. R", 1200, 0., 120.));
78 
79  m_dedx_spectrum->SetDirectory(nullptr);
80  m_radlen_spectrum->SetDirectory(nullptr);
81  m_dedx_vs_eta->SetDirectory(nullptr);
82  m_dedx_vs_z->SetDirectory(nullptr);
83  m_dedx_vs_r->SetDirectory(nullptr);
84  m_radlen_vs_eta->SetDirectory(nullptr);
85  m_radlen_vs_z->SetDirectory(nullptr);
86  m_radlen_vs_r->SetDirectory(nullptr);
87 }

References class-composition::children, gather_cfg::cout, ALCARECOTkAlBeamHalo_cff::filter, runTauDisplay::gp, BoundingBox::grow(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, m_boundingbox, m_dedx_spectrum, m_dedx_vs_eta, m_dedx_vs_r, m_dedx_vs_z, m_elements, m_name, m_radlen_spectrum, m_radlen_vs_eta, m_radlen_vs_r, m_radlen_vs_z, name(), castor_dqm_sourceclient_file_cfg::path, perp(), BoundingBox::range_r(), BoundingBox::range_z(), s_tolerance, and z.

◆ ~DD4hep_MaterialAccountingGroup()

DD4hep_MaterialAccountingGroup::~DD4hep_MaterialAccountingGroup ( void  )

Member Function Documentation

◆ addDetector()

bool DD4hep_MaterialAccountingGroup::addDetector ( const MaterialAccountingDetector detector)

Definition at line 119 of file DD4hep_MaterialAccountingGroup.cc.

119  {
120  if (!isInside(detector))
121  return false;
122 
123  m_buffer += detector.material();
124  m_counted = true;
125 
126  return true;
127 }

References hgcalTestNeighbor_cfi::detector, isInside(), m_buffer, and m_counted.

◆ average()

MaterialAccountingStep DD4hep_MaterialAccountingGroup::average ( void  ) const

Definition at line 211 of file DD4hep_MaterialAccountingGroup.cc.

211  {
213 }

References m_accounting, and m_tracks.

Referenced by endOfTrack().

◆ averageEnergyLoss()

double DD4hep_MaterialAccountingGroup::averageEnergyLoss ( void  ) const

◆ averageLength()

double DD4hep_MaterialAccountingGroup::averageLength ( void  ) const

◆ averageRadiationLengths()

double DD4hep_MaterialAccountingGroup::averageRadiationLengths ( void  ) const

◆ elements()

const std::vector<GlobalPoint>& DD4hep_MaterialAccountingGroup::elements ( void  ) const
inline

Definition at line 73 of file DD4hep_MaterialAccountingGroup.h.

73 { return m_elements; }

References m_elements.

◆ endOfTrack()

void DD4hep_MaterialAccountingGroup::endOfTrack ( void  )

◆ getBoundingR()

std::pair<double, double> DD4hep_MaterialAccountingGroup::getBoundingR ( ) const
inline

Definition at line 59 of file DD4hep_MaterialAccountingGroup.h.

59 { return m_boundingbox.range_r(); };

References m_boundingbox, and BoundingBox::range_r().

◆ getBoundingZ()

std::pair<double, double> DD4hep_MaterialAccountingGroup::getBoundingZ ( ) const
inline

Definition at line 60 of file DD4hep_MaterialAccountingGroup.h.

60 { return m_boundingbox.range_z(); };

References m_boundingbox, and BoundingBox::range_z().

◆ info()

std::string DD4hep_MaterialAccountingGroup::info ( void  ) const

Definition at line 199 of file DD4hep_MaterialAccountingGroup.cc.

199  {
200  std::stringstream out;
201  out << std::setw(48) << std::left << m_name << std::right << std::fixed;
202 
203  out << "BBox: " << std::setprecision(1) << std::setw(6) << m_boundingbox.range_z().first << " < Z < "
204  << std::setprecision(1) << std::setw(6) << m_boundingbox.range_z().second;
205  out << ", " << std::setprecision(1) << std::setw(5) << m_boundingbox.range_r().first << " < R < "
206  << std::setprecision(1) << std::setw(5) << m_boundingbox.range_r().second;
207  out << " Elements: " << std::setw(6) << m_elements.size();
208  return out.str();
209 }

References alignBH_cfg::fixed, m_boundingbox, m_elements, m_name, MillePedeFileConverter_cfg::out, BoundingBox::range_r(), and BoundingBox::range_z().

◆ isInside()

bool DD4hep_MaterialAccountingGroup::isInside ( const MaterialAccountingDetector detector) const

Definition at line 89 of file DD4hep_MaterialAccountingGroup.cc.

89  {
90  const GlobalPoint& position = detector.position();
91 
92  edm::LogVerbatim("MaterialAccountingGroup")
93  << "Testing position: (x, y, z, r) = " << position.x() << ", " << position.y() << ", " << position.z() << ", "
94  << position.perp() << std::endl;
95 
96  if (not m_boundingbox.inside(position.perp(), position.z())) {
97  edm::LogVerbatim("MaterialAccountingGroup")
98  << "r outside of: (" << m_boundingbox.range_r().first << ", " << m_boundingbox.range_r().second
99  << "), Z ouside of: (" << m_boundingbox.range_z().first << ", " << m_boundingbox.range_z().second << ")"
100  << std::endl;
101  return false;
102  } else {
103  edm::LogVerbatim("MaterialAccountingGroup")
104  << "r within: (" << m_boundingbox.range_r().first << ", " << m_boundingbox.range_r().second << "), Z within: ("
105  << m_boundingbox.range_z().first << ", " << m_boundingbox.range_z().second << ")" << std::endl;
106 
107  for (unsigned int i = 0; i < m_elements.size(); ++i) {
108  edm::LogVerbatim("MaterialAccountingGroup")
109  << "Closest testing agains(x, y, z, r): (" << m_elements[i].x() << ", " << m_elements[i].y() << ", "
110  << m_elements[i].z() << ", " << m_elements[i].perp() << ") --> " << (position - m_elements[i]).mag()
111  << " vs tolerance: " << s_tolerance << std::endl;
112  if ((position - m_elements[i]).mag2() < (s_tolerance * s_tolerance))
113  return true;
114  }
115  return false;
116  }
117 }

References hgcalTestNeighbor_cfi::detector, mps_fire::i, BoundingBox::inside(), m_boundingbox, m_elements, mag(), position, BoundingBox::range_r(), BoundingBox::range_z(), and s_tolerance.

Referenced by addDetector().

◆ name()

const std::string& DD4hep_MaterialAccountingGroup::name ( void  ) const
inline

◆ operator=()

DD4hep_MaterialAccountingGroup& DD4hep_MaterialAccountingGroup::operator= ( const DD4hep_MaterialAccountingGroup layer)
privatedelete

◆ savePlot() [1/2]

void DD4hep_MaterialAccountingGroup::savePlot ( std::shared_ptr< TH1F >  plot,
const std::string &  name 
)
private

Definition at line 166 of file DD4hep_MaterialAccountingGroup.cc.

166  {
167  TCanvas canvas(name.c_str(), plot->GetTitle(), 1280, 1024);
168  plot->SetFillColor(15); // grey
169  plot->SetLineColor(1); // black
170  plot->Draw("c e");
171  canvas.GetFrame()->SetFillColor(kWhite);
172  canvas.Draw();
173  canvas.SaveAs((name + ".png").c_str(), "");
174  plot->SetDirectory(m_file);
175 }

References svgfig::canvas(), m_file, name(), and plotFactory::plot.

Referenced by savePlots().

◆ savePlot() [2/2]

void DD4hep_MaterialAccountingGroup::savePlot ( std::shared_ptr< TProfile >  plot,
float  average,
const std::string &  name 
)
private

Definition at line 177 of file DD4hep_MaterialAccountingGroup.cc.

177  {
178  std::unique_ptr<TH1F> line = std::make_unique<TH1F>(
179  TH1F((name + "_par").c_str(), "Parametrization", 1, plot->GetXaxis()->GetXmin(), plot->GetXaxis()->GetXmax()));
180 
181  line->SetBinContent(1, average);
182 
183  TCanvas canvas(name.c_str(), plot->GetTitle(), 1280, 1024);
184  plot->SetFillColor(15); // grey
185  plot->SetLineColor(1); // black
186  plot->SetLineWidth(2);
187  plot->Draw("c e6");
188  line->SetLineColor(2); // red
189  line->SetLineWidth(2);
190  line->Draw("same");
191  canvas.GetFrame()->SetFillColor(kWhite);
192  canvas.Draw();
193  canvas.SaveAs((name + ".png").c_str(), "");
194  plot->SetDirectory(m_file);
195  line->SetDirectory(m_file);
196  line->Write();
197 }

References svgfig::canvas(), mps_splice::line, m_file, name(), and plotFactory::plot.

◆ savePlots()

void DD4hep_MaterialAccountingGroup::savePlots ( void  )

Definition at line 151 of file DD4hep_MaterialAccountingGroup.cc.

151  {
152  m_file = new TFile((m_name + ".root").c_str(), "RECREATE");
153  savePlot(m_dedx_spectrum, m_name + "_dedx_spectrum");
154  savePlot(m_radlen_spectrum, m_name + "_radlen_spectrum");
155  savePlot(m_dedx_vs_eta, averageEnergyLoss(), m_name + "_dedx_vs_eta");
156  savePlot(m_dedx_vs_z, averageEnergyLoss(), m_name + "_dedx_vs_z");
157  savePlot(m_dedx_vs_r, averageEnergyLoss(), m_name + "_dedx_vs_r");
158  savePlot(m_radlen_vs_eta, averageRadiationLengths(), m_name + "_radlen_vs_eta");
161  m_file->Write();
162  m_file->Close();
163  delete m_file;
164 }

References averageEnergyLoss(), averageRadiationLengths(), m_dedx_spectrum, m_dedx_vs_eta, m_dedx_vs_r, m_dedx_vs_z, m_file, m_name, m_radlen_spectrum, m_radlen_vs_eta, m_radlen_vs_r, m_radlen_vs_z, and savePlot().

Referenced by DD4hep_TrackingMaterialAnalyser::saveLayerPlots().

◆ sigmaEnergyLoss()

double DD4hep_MaterialAccountingGroup::sigmaEnergyLoss ( void  ) const

◆ sigmaLength()

double DD4hep_MaterialAccountingGroup::sigmaLength ( void  ) const

◆ sigmaRadiationLengths()

double DD4hep_MaterialAccountingGroup::sigmaRadiationLengths ( void  ) const

◆ tracks()

unsigned int DD4hep_MaterialAccountingGroup::tracks ( void  ) const
inline

Definition at line 68 of file DD4hep_MaterialAccountingGroup.h.

68 { return m_tracks; }

References m_tracks.

Referenced by DD4hep_TrackingMaterialAnalyser::saveParameters().

Member Data Documentation

◆ m_accounting

MaterialAccountingStep DD4hep_MaterialAccountingGroup::m_accounting
private

◆ m_boundingbox

BoundingBox DD4hep_MaterialAccountingGroup::m_boundingbox
private

◆ m_buffer

MaterialAccountingStep DD4hep_MaterialAccountingGroup::m_buffer
private

Definition at line 37 of file DD4hep_MaterialAccountingGroup.h.

Referenced by addDetector(), and endOfTrack().

◆ m_counted

bool DD4hep_MaterialAccountingGroup::m_counted
private

Definition at line 36 of file DD4hep_MaterialAccountingGroup.h.

Referenced by addDetector(), and endOfTrack().

◆ m_dedx_spectrum

std::shared_ptr<TH1F> DD4hep_MaterialAccountingGroup::m_dedx_spectrum
private

◆ m_dedx_vs_eta

std::shared_ptr<TProfile> DD4hep_MaterialAccountingGroup::m_dedx_vs_eta
private

◆ m_dedx_vs_r

std::shared_ptr<TProfile> DD4hep_MaterialAccountingGroup::m_dedx_vs_r
private

◆ m_dedx_vs_z

std::shared_ptr<TProfile> DD4hep_MaterialAccountingGroup::m_dedx_vs_z
private

◆ m_elements

std::vector<GlobalPoint> DD4hep_MaterialAccountingGroup::m_elements
private

◆ m_errors

MaterialAccountingStep DD4hep_MaterialAccountingGroup::m_errors
private

◆ m_file

TFile* DD4hep_MaterialAccountingGroup::m_file
mutableprivate

Definition at line 48 of file DD4hep_MaterialAccountingGroup.h.

Referenced by savePlot(), and savePlots().

◆ m_name

std::string DD4hep_MaterialAccountingGroup::m_name
private

◆ m_radlen_spectrum

std::shared_ptr<TH1F> DD4hep_MaterialAccountingGroup::m_radlen_spectrum
private

◆ m_radlen_vs_eta

std::shared_ptr<TProfile> DD4hep_MaterialAccountingGroup::m_radlen_vs_eta
private

◆ m_radlen_vs_r

std::shared_ptr<TProfile> DD4hep_MaterialAccountingGroup::m_radlen_vs_r
private

◆ m_radlen_vs_z

std::shared_ptr<TProfile> DD4hep_MaterialAccountingGroup::m_radlen_vs_z
private

◆ m_tracks

unsigned int DD4hep_MaterialAccountingGroup::m_tracks
private

◆ s_tolerance

constexpr double DD4hep_MaterialAccountingGroup::s_tolerance = 0.01
staticconstexprprivate

Definition at line 50 of file DD4hep_MaterialAccountingGroup.h.

Referenced by DD4hep_MaterialAccountingGroup(), and isInside().

svgfig.canvas
def canvas(*sub, **attr)
Definition: svgfig.py:482
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
mps_fire.i
i
Definition: mps_fire.py:355
DD4hep_MaterialAccountingGroup::m_elements
std::vector< GlobalPoint > m_elements
Definition: DD4hep_MaterialAccountingGroup.h:31
DD4hep_MaterialAccountingGroup::m_buffer
MaterialAccountingStep m_buffer
Definition: DD4hep_MaterialAccountingGroup.h:37
DD4hep_MaterialAccountingGroup::m_file
TFile * m_file
Definition: DD4hep_MaterialAccountingGroup.h:48
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
class-composition.children
children
Definition: class-composition.py:88
gather_cfg.cout
cout
Definition: gather_cfg.py:144
geometry
Definition: geometry.py:1
DD4hep_MaterialAccountingGroup::m_radlen_vs_eta
std::shared_ptr< TProfile > m_radlen_vs_eta
Definition: DD4hep_MaterialAccountingGroup.h:44
cms::DDFilteredView
Definition: DDFilteredView.h:65
MaterialAccountingStep::in
const GlobalPoint & in(void) const
Definition: MaterialAccountingStep.h:38
perp
T perp() const
Magnitude of transverse component.
Definition: Basic3DVectorLD.h:133
plotFactory.plot
plot
Definition: plotFactory.py:109
DD4hep_MaterialAccountingGroup::m_name
std::string m_name
Definition: DD4hep_MaterialAccountingGroup.h:30
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
BoundingBox::grow
void grow(double r, double z)
Definition: BoundingBox.cc:3
BoundingBox::inside
bool inside(double r, double z) const
Definition: BoundingBox.cc:21
DD4hep_MaterialAccountingGroup::m_counted
bool m_counted
Definition: DD4hep_MaterialAccountingGroup.h:36
cms::DDFilter
Definition: DDFilteredView.h:54
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
DDAxes::z
DD4hep_MaterialAccountingGroup::isInside
bool isInside(const MaterialAccountingDetector &detector) const
Definition: DD4hep_MaterialAccountingGroup.cc:89
DD4hep_MaterialAccountingGroup::s_tolerance
static constexpr double s_tolerance
Definition: DD4hep_MaterialAccountingGroup.h:50
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
DD4hep_MaterialAccountingGroup::m_accounting
MaterialAccountingStep m_accounting
Definition: DD4hep_MaterialAccountingGroup.h:33
dqmdumpme.k
k
Definition: dqmdumpme.py:60
Point3DBase< float, GlobalTag >
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
DD4hep_MaterialAccountingGroup::averageLength
double averageLength(void) const
Definition: DD4hep_MaterialAccountingGroup.cc:215
MaterialAccountingStep::out
const GlobalPoint & out(void) const
Definition: MaterialAccountingStep.h:40
DD4hep_MaterialAccountingGroup::m_boundingbox
BoundingBox m_boundingbox
Definition: DD4hep_MaterialAccountingGroup.h:32
BoundingBox::range_r
std::pair< double, double > range_r() const
Definition: BoundingBox.h:25
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
BoundingBox::range_z
std::pair< double, double > range_z() const
Definition: BoundingBox.h:27
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
DD4hep_MaterialAccountingGroup::m_radlen_spectrum
std::shared_ptr< TH1F > m_radlen_spectrum
Definition: DD4hep_MaterialAccountingGroup.h:40
average
Definition: average.py:1
edm::LogVerbatim
Definition: MessageLogger.h:297
DD4hep_MaterialAccountingGroup::m_radlen_vs_r
std::shared_ptr< TProfile > m_radlen_vs_r
Definition: DD4hep_MaterialAccountingGroup.h:46
DD4hep_MaterialAccountingGroup::average
MaterialAccountingStep average(void) const
Definition: DD4hep_MaterialAccountingGroup.cc:211
DD4hep_MaterialAccountingGroup::averageEnergyLoss
double averageEnergyLoss(void) const
Definition: DD4hep_MaterialAccountingGroup.cc:219
DD4hep_MaterialAccountingGroup::m_dedx_vs_z
std::shared_ptr< TProfile > m_dedx_vs_z
Definition: DD4hep_MaterialAccountingGroup.h:42
mag
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition: Basic3DVectorLD.h:127
DD4hep_MaterialAccountingGroup::m_radlen_vs_z
std::shared_ptr< TProfile > m_radlen_vs_z
Definition: DD4hep_MaterialAccountingGroup.h:45
DD4hep_MaterialAccountingGroup::m_dedx_spectrum
std::shared_ptr< TH1F > m_dedx_spectrum
Definition: DD4hep_MaterialAccountingGroup.h:39
MaterialAccountingStep
Definition: MaterialAccountingStep.h:9
MaterialAccountingStep::energyLoss
double energyLoss(void) const
Definition: MaterialAccountingStep.h:36
MaterialAccountingStep::radiationLengths
double radiationLengths(void) const
Definition: MaterialAccountingStep.h:34
MaterialAccountingStep::length
double length(void) const
Definition: MaterialAccountingStep.h:32
DD4hep_MaterialAccountingGroup::m_tracks
unsigned int m_tracks
Definition: DD4hep_MaterialAccountingGroup.h:35
DD4hep_MaterialAccountingGroup::averageRadiationLengths
double averageRadiationLengths(void) const
Definition: DD4hep_MaterialAccountingGroup.cc:237
DD4hep_MaterialAccountingGroup::m_dedx_vs_r
std::shared_ptr< TProfile > m_dedx_vs_r
Definition: DD4hep_MaterialAccountingGroup.h:43
DD4hep_MaterialAccountingGroup::m_dedx_vs_eta
std::shared_ptr< TProfile > m_dedx_vs_eta
Definition: DD4hep_MaterialAccountingGroup.h:41
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
DD4hep_MaterialAccountingGroup::name
const std::string & name(void) const
Definition: DD4hep_MaterialAccountingGroup.h:69
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
mps_splice.line
line
Definition: mps_splice.py:76
cms::Translation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
Definition: DDFilteredView.h:51
DD4hep_MaterialAccountingGroup::savePlot
void savePlot(std::shared_ptr< TH1F > plot, const std::string &name)
Definition: DD4hep_MaterialAccountingGroup.cc:166
DD4hep_MaterialAccountingGroup::m_errors
MaterialAccountingStep m_errors
Definition: DD4hep_MaterialAccountingGroup.h:34