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