ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCollHandle_SimulationTracks.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class TrackCollHandle_SimulationTracks //
9// //
10// Description: Collection handle for HepMC/simhit based //
11// truth tracks //
12// //
13// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
14// Initial version: March 2008 //
15// //
17
18#ifndef TRACKCOLLHANDLE_SIMULATIONTRACKS_H
19#define TRACKCOLLHANDLE_SIMULATIONTRACKS_H
20
22
24
26
27 Q_OBJECT
28
29public:
30
31 static QStringList availableCollections(IVP1System*);//For the collection widget.
32
34 const QString& name);
36
38
39protected:
40 virtual COLOURBY defaultColourBy () const { return COLOUR_BYPID; }
41 virtual bool allowColourByPID() const { return true; }
42 virtual bool load();
43 virtual bool cut(TrackHandleBase*);
44 virtual QColor defaultColor() const { return QColor::fromRgbF(0.42f, 0.96f, 0.16f); }
45
46private Q_SLOTS:
47 void setCutExcludeBarcodeZero(bool);
48 void setCutExcludeNeutrals(bool);
49 void setShowAscObjs(bool);
50
51private:
52
53 class Imp;
55 void fixPDGCode(SimHitHandleBase*) const;
56};
57
58#endif
const QString & name() const
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
TrackCollHandle_SimulationTracks(TrackSysCommonData *, const QString &name)
virtual void setupSettingsFromControllerSpecific(TrackSystemController *)
static QStringList availableCollections(IVP1System *)