ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleCollHandle_TrackParticle.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7// //
8// Header file for class IParticleCollHandle_TrackParticle //
9// //
10// Description: Collection handle for track particles //
11// //
12// //
14
15#ifndef IPARTICLECOLLHANDLE_TRACKPARTICLE_H
16#define IPARTICLECOLLHANDLE_TRACKPARTICLE_H
17
19#include "xAODBase/ObjectType.h"
21
22class SoMaterial;
24
26
27 Q_OBJECT
28
29public:
30
31 static QStringList availableCollections(IVP1System*);//For the collection widget.
32
35 const QString& name, xAOD::Type::ObjectType type, bool shouldLoad=true );
37
38 virtual void init(VP1MaterialButtonBase* matBut=0);//reimplementations must start with a call to this.
40 virtual void dumpToJSON( std::ofstream& ) const ;
41
43
44 // SoMaterial* defaultParameterMaterial() const; // Just forwards to CollSettingsButton, but avoids exposing it in interface.
45 // SoMaterial* parameterMaterial( xAOD::ParameterPosition) const; // Just forwards to CollSettingsButton, but avoids exposing it in interface.
46
47
48protected:
49 virtual bool load();
50 virtual bool cut(AODHandleBase*);
51 virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 1.0f, 0.5f); }
52
53private Q_SLOTS:
54 void showParametersChanged(bool);
57
58private:
59
60 class Imp;
62
63};
64
65#endif
const QString & name() const
IParticleCollHandleBase(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType)
virtual void init(VP1MaterialButtonBase *matBut=0)
static QStringList availableCollections(IVP1System *)
IParticleCollHandle_TrackParticle(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType type, bool shouldLoad=true)
shouldLoad is used to disable the call to load if the collhandle is for temporary (read: associated) ...
const TrackParticleCollectionSettingsButton & collSettingsButton() const
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition ObjectType.h:32