Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger committed Aug 24, 2023
1 parent 0c2f3b5 commit 01d9667
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class DigitizationModule;
/// The full geometrical information is provided by the TGeoDetectorElement.
/// The DD4hepDetectorElement extends the TGeoDetectorElement by containing a
/// segmentation for the readout.
/// @todo what if shape conversion failes? add implementation of more than one
/// @todo what if shape conversion fails? add implementation of more than one
/// surface per module, implementing also for other shapes->Cone,ConeSeg,Tube?
/// what
/// if not used with DD4hep?
Expand All @@ -55,7 +55,7 @@ class DD4hepDetectorElement : public TGeoDetectorElement {
/// capital and lower case
/// characters :
/// - capital -> positive orientation of the axis
/// - lower case -> negative oriantation of the axis
/// - lower case -> negative orientation of the axis
///
///
/// Example options are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class DD4hepDetectorElement;
///
class DD4hepDetectorSurfaceFactory {
public:
/// Collect the senstive surface & detector element
/// Collect the sensitive surface & detector element
using DD4hepSensitiveSurface =
std::tuple<std::shared_ptr<DD4hepDetectorElement>,
std::shared_ptr<Surface>>;
Expand All @@ -56,7 +56,7 @@ class DD4hepDetectorSurfaceFactory {
std::vector<DD4hepPassiveSurface> passiveSurfaces;
/// The created Proxies for the support surfaces
std::vector<DD4hepPassiveSurfaceProxy> passiveSurfaceProxies;
/// matching and conversion statics: surfaces
/// matching and conversion statistics: surfaces
std::size_t convertedSurfaces = 0;
/// matching and conversion statistics: materials
std::size_t convertedMaterials = 0;
Expand Down Expand Up @@ -107,15 +107,15 @@ class DD4hepDetectorSurfaceFactory {
void recursiveConstruct(Cache& cache, const dd4hep::DetElement& dd4hepElement,
int level);

/// Method to conver a single senstive detector element
/// Method to convert a single sensitive detector element
///
/// @param dd4hepElement the detector element
///
/// @return a created detector element and surface
DD4hepSensitiveSurface constructSensitiveElement(
const dd4hep::DetElement& dd4hepElement) const;

/// Method to conver a single senstive detector element
/// Method to convert a single sensitive detector element
///
/// @param options the factory creation option
/// @param dd4hepElement the detector element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void decodeBinning(dd4hep::rec::VariantParameters &variantParams,
// Set the surface binninng parameter to true
variantParams.set<bool>(bname, true);
for (const auto &bv : bvals) {
// Gather the number of bins, 0 indicates vairable binning
// Gather the number of bins, 0 indicates variable binning
int nBins =
Acts::detail::getAttrValueOr<int>(xmlBinning, std::string("n" + bv), 0);
// Gather the bin expansion parameter, expansion of 0 is default
Expand Down

0 comments on commit 01d9667

Please sign in to comment.