ATLAS Offline Software
Loading...
Searching...
No Matches
ToyDetectorManager.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ToyDetectorManager_h
6#define ToyDetectorManager_h 1
7#include "GeoModelKernel/GeoVPhysVol.h"
8#include "GeoModelKernel/GeoVDetectorManager.h"
9
12
13class ToyDetectorManager : public GeoVDetectorManager {
14
15 public:
17
18 // Constructor
20
21 // Destructor
23
24 // Access to raw geometry:
25 virtual unsigned int getNumTreeTops() const;
26
27 // Access to raw geometry:
28 virtual PVConstLink getTreeTop(unsigned int i) const;
29
30 // Access to readout geometry:
31 const ForwardScrutinizer * getForwardScrutinizer(unsigned int i) const;
32
33 // Access to readout geometry:
34 const CentralScrutinizer * getCentralScrutinizer(unsigned int i) const;
35
36 // Access to readout geometry:
37 unsigned int getNumScrutinizers(Type type) const;
38
39
40 // Add a Tree top:
41 void addTreeTop(PVLink);
42
43 // Add a Central Scrutinizer:
45
46 // Add a Forward Scrutinizer:
48
49
50 private:
51
52
55
56
57 std::vector<const CentralScrutinizer *> m_centralScrutinizer;
58 std::vector<const ForwardScrutinizer *> m_forwardScrutinizer;
59 std::vector<PVLink> m_volume;
60};
61
62// Class ToyDetectorManager
63
64#ifndef GAUDI_NEUTRAL
65#ifndef BUILDVP1LIGHT
68#endif
69#endif
70
71
72
73#endif
74
75
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual PVConstLink getTreeTop(unsigned int i) const
void addCentralScrutinizer(const CentralScrutinizer *)
ToyDetectorManager(const ToyDetectorManager &right)
const ForwardScrutinizer * getForwardScrutinizer(unsigned int i) const
const ToyDetectorManager & operator=(const ToyDetectorManager &right)
const CentralScrutinizer * getCentralScrutinizer(unsigned int i) const
std::vector< PVLink > m_volume
std::vector< const CentralScrutinizer * > m_centralScrutinizer
unsigned int getNumScrutinizers(Type type) const
std::vector< const ForwardScrutinizer * > m_forwardScrutinizer
virtual unsigned int getNumTreeTops() const
void addForwardScrutinizer(const ForwardScrutinizer *)