ATLAS Offline Software
VP1TrackCaloPlugin_VP1AutoFactory.cxx
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4 */
5 
7 // //
8 // Implementation of class VP1TrackCaloPlugin_VP1AutoFactory //
9 // //
10 // Author: Riccardo Maria BIANCHI <rbianchi@cern.ch> //
11 // //
12 // Update version: Dec 2017 //
13 // //
15 
16 
17 // Originally, this file was autogenerated by CMT with VP1 Factory Code Header File
18 // Now we add this file to plugins by hand, to simplify the CMake compilation
19 
20 #include <QtPlugin>
23 
25 {
26  return QStringList()
27  << "TrackCalo"
28  ;
29 }
30 
32 {
33  if (channelwidget == "TrackCalo")
34  return new VP1TrackCaloChannel();
35 
36  return 0;
37 }
38 
VP1TrackCaloChannel
Definition: VP1TrackCaloChannel.h:10
VP1TrackCaloPlugin_VP1AutoFactory::channelWidgetsProvided
virtual QStringList channelWidgetsProvided() const
Definition: VP1TrackCaloPlugin_VP1AutoFactory.cxx:24
IVP1ChannelWidget
Definition: IVP1ChannelWidget.h:34
VP1TrackCaloChannel.h
VP1TrackCaloPlugin_VP1AutoFactory::getChannelWidget
virtual IVP1ChannelWidget * getChannelWidget(const QString &channelwidget)
Definition: VP1TrackCaloPlugin_VP1AutoFactory.cxx:31
VP1TrackCaloPlugin_VP1AutoFactory.h