Belle II Software development
ActivatedSector.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11// includes - rootStuff:
12// includes - stl:
13// includes - tf-related stuff
14#include "Sector.h"
15#include "tracking/spacePointCreation/SpacePoint.h"
16
17// includes - general fw stuff
18
19
20namespace Belle2 {
34 class ActivatedSector : public Sector {
35 public:
36
38 explicit ActivatedSector(Sector* mySector) { m_myStaticSector = mySector; }
39
41 void addSpacePoint(const SpacePoint* aPoint) { m_mySpacePoints.push_back(aPoint); }
42
44 unsigned int size() { return m_mySpacePoints.size(); }
45
47 ActivatedSector* getMyPointer() { return this; }
48
49 protected:
50
53
55 std::vector<const SpacePoint*> m_mySpacePoints;
56
58 };
60} //Belle2 namespace
ActivatedSector is carrying the dynamic part of a Sector.
void addSpacePoint(const SpacePoint *aPoint)
stores a spacePoint
ActivatedSector(Sector *mySector)
constructor
unsigned int size()
returns number of spacePoint inhabiting this ActivatedSector
Sector * m_myStaticSector
The sector is created once per run and carries all the stuff which does not change for each event.
ActivatedSector * getMyPointer()
returns a pointer to this ActivatedSector
std::vector< const SpacePoint * > m_mySpacePoints
This vector carries a pointer to each spacePoint which inhabit this sector.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Sector is a central part of storing information for VXD trackFinders.
Definition: Sector.h:43
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
Definition: SpacePoint.h:42
Abstract base class for different kinds of events.