DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDCore
src
NoSegmentation.cpp
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
14
// Framework include files
15
#include <
DD4hep/NoSegmentation.h
>
16
#include <
DDSegmentation/NoSegmentation.h
>
17
18
using namespace
dd4hep
;
19
20
Position
NoSegmentation::position
(
const
CellID
&
id
)
const
{
21
return
Position
(
access
()->implementation->position(
id
));
22
}
23
25
dd4hep::CellID
NoSegmentation::cellID
(
const
Position
& local,
26
const
Position
& global,
27
const
VolumeID
& volID)
const
28
{
29
return
access
()->implementation->cellID(local, global, volID);
30
}
31
NoSegmentation.h
dd4hep::NoSegmentation::cellID
CellID cellID(const Position &local, const Position &global, const VolumeID &volID) const
determine the cell ID based on the position
Definition:
NoSegmentation.cpp:25
NoSegmentation.h
dd4hep::Position
ROOT::Math::XYZVector Position
Definition:
Objects.h:81
VolumeID
dd4hep::DDSegmentation::VolumeID VolumeID
Definition:
SegmentationDictionary.h:49
dd4hep::Handle::access
T * access() const
Checked object access. Throws invalid handle runtime exception if invalid handle.
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::NoSegmentation::position
Position position(const CellID &cellID) const
Definition:
NoSegmentation.cpp:20
CellID
dd4hep::DDSegmentation::CellID CellID
Definition:
SegmentationDictionary.h:50
Generated on Thu Nov 7 2024 13:31:56 for DD4hep by
1.8.18