ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCollHandle_TruthTracks.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_TruthTracks //
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_TRUTHTRACKS_H
19#define TRACKCOLLHANDLE_TRUTHTRACKS_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 setCutFromIROnly(bool);
48 void setCutExcludeBarcodeZero(bool);
49 void setCutExcludeNeutrals(bool);
50 void setShowAscObjs(bool);
51
52private:
53
54 class Imp;
56 void fixPDGCode(SimHitHandleBase*) const;
57};
58
59#endif
const QString & name() const
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
static QStringList availableCollections(IVP1System *)
virtual bool cut(TrackHandleBase *)
TrackCollHandle_TruthTracks(TrackSysCommonData *, const QString &name)
virtual void setupSettingsFromControllerSpecific(TrackSystemController *)
virtual COLOURBY defaultColourBy() const
void fixPDGCode(SimHitHandleBase *) const