ATLAS Offline Software
VP1CaloPlugin_VP1AutoFactory.cxx
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 // Originally, this file was autogenerated by CMT with VP1 Factory Code Header File
7 // Now we add this file to plugins by hand, to simplify the CMake compilation
8 
9 #include <QtPlugin>
12 
14 {
15  return QStringList()
16  << "Calo"
17  ;
18 }
19 
21 {
22  if (channelwidget == "Calo")
23  return new VP1CaloCellChannel();
24 
25  return 0;
26 }
27 
VP1CaloCellChannel
Definition: VP1CaloCellChannel.h:11
VP1CaloPlugin_VP1AutoFactory.h
IVP1ChannelWidget
Definition: IVP1ChannelWidget.h:34
VP1CaloPlugin_VP1AutoFactory::channelWidgetsProvided
virtual QStringList channelWidgetsProvided() const
Definition: VP1CaloPlugin_VP1AutoFactory.cxx:13
VP1CaloPlugin_VP1AutoFactory::getChannelWidget
virtual IVP1ChannelWidget * getChannelWidget(const QString &channelwidget)
Definition: VP1CaloPlugin_VP1AutoFactory.cxx:20
VP1CaloCellChannel.h