ATLAS Offline Software
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 
23 class SoMaterial;
25 
27 
28  Q_OBJECT
29 
30 public:
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 
50 protected:
51  virtual bool load();
52  virtual bool cut(AODHandleBase*);
53  virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 1.0f, 0.5f); }
54 
55 private Q_SLOTS:
56  void showParametersChanged(bool);
58  void resetCachedValuesCuts();
59 
60 private:
61 
62  class Imp;
63  Imp *m_d;
64 
65 };
66 
67 #endif
ElectronCollectionSettingsButton
Definition: ElectronCollectionSettingsButton.h:14
IParticleCollHandle_Electron::IParticleCollHandle_Electron
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) ...
Definition: IParticleCollHandle_Electron.cxx:75
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
IParticleCollHandle_Electron::~IParticleCollHandle_Electron
virtual ~IParticleCollHandle_Electron()
Definition: IParticleCollHandle_Electron.cxx:103
AODHandleBase
Definition: AODHandleBase.h:43
ObjectType
ObjectType
Definition: BaseObject.h:11
AODSysCommonData
Definition: AODSysCommonData.h:42
IParticleCollHandle_Electron::m_d
Imp * m_d
Definition: IParticleCollHandle_Electron.h:62
IParticleCollHandle_Electron::propagationOptionsChanged
void propagationOptionsChanged()
Definition: IParticleCollHandle_Electron.cxx:253
IParticleCollHandle_Electron::resetCachedValuesCuts
void resetCachedValuesCuts()
Definition: IParticleCollHandle_Electron.cxx:153
IParticleCollHandle_Electron::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: IParticleCollHandle_Electron.cxx:53
IParticleCollHandle_Electron
Definition: IParticleCollHandle_Electron.h:26
IVP1System
Definition: IVP1System.h:36
ObjectType.h
IParticleCollHandle_Electron::showParametersChanged
void showParametersChanged(bool)
Definition: IParticleCollHandle_Electron.cxx:248
AODSystemController
Definition: AODSystemController.h:43
IParticleCollHandle_Electron::Imp
Definition: IParticleCollHandle_Electron.cxx:60
VP1AODSystem.h
IParticleCollHandle_Electron::collSettingsButton
const ElectronCollectionSettingsButton & collSettingsButton() const
Definition: IParticleCollHandle_Electron.cxx:166
IParticleCollHandle_Electron::dumpToJSON
virtual void dumpToJSON(std::ofstream &) const
Definition: IParticleCollHandle_Electron.cxx:258
VP1MaterialButtonBase
Definition: VP1MaterialButton.h:25
IParticleCollHandle_Electron::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
Definition: IParticleCollHandle_Electron.cxx:130
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IParticleCollHandle_Electron::load
virtual bool load()
Definition: IParticleCollHandle_Electron.cxx:174
IParticleCollHandle_Electron::cut
virtual bool cut(AODHandleBase *)
Definition: IParticleCollHandle_Electron.cxx:236
IParticleCollHandleBase.h
IParticleCollHandleBase
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
Definition: IParticleCollHandleBase.h:50
TrackingPrimitives.h
IParticleCollHandle_Electron::init
virtual void init(VP1MaterialButtonBase *matBut=0)
Definition: IParticleCollHandle_Electron.cxx:111
IParticleCollHandle_Electron::defaultColor
virtual QColor defaultColor() const
Definition: IParticleCollHandle_Electron.h:53
AODCollHandleBase::name
QString name() const
Definition: AODCollHandleBase.cxx:130