ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleCollHandle_Electron.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// Header file for class IParticleCollHandle_Electron //
8// //
9// Description: Collection handle for electron //
10// //
11// //
13
14#ifndef IPARTICLECOLLHANDLE_ELECTRON_H
15#define IPARTICLECOLLHANDLE_ELECTRON_H
16
19#include "xAODBase/ObjectType.h"
21
22
23class SoMaterial;
25
27
28 Q_OBJECT
29
30public:
31
32 static QStringList availableCollections(IVP1System*);//For the collection widget.
33
36 const QString& name, xAOD::Type::ObjectType type, bool shouldLoad=true );
37
39
40 virtual void init(VP1MaterialButtonBase* matBut=0);//reimplementations must start with a call to this.
42 virtual void dumpToJSON( std::ofstream& ) const ;
43
45
46 // SoMaterial* defaultParameterMaterial() const; // Just forwards to CollSettingsButton, but avoids exposing it in interface.
47 // SoMaterial* parameterMaterial( xAOD::ParameterPosition) const; // Just forwards to CollSettingsButton, but avoids exposing it in interface.
48
49
50protected:
51 virtual bool load();
52 virtual bool cut(AODHandleBase*);
53 virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 1.0f, 0.5f); }
54
55private Q_SLOTS:
56 void showParametersChanged(bool);
59
60private:
61
62 class Imp;
64
65};
66
67#endif
const QString & name() const
IParticleCollHandleBase(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType)
virtual void dumpToJSON(std::ofstream &) const
virtual void init(VP1MaterialButtonBase *matBut=0)
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
static QStringList availableCollections(IVP1System *)
IParticleCollHandle_Electron(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 ElectronCollectionSettingsButton & collSettingsButton() const
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition ObjectType.h:32