ATLAS Offline Software
LArRawChannelContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef LArRawchannelContainer_H
8 #define LArRawchannelContainer_H
9 
11 #include "AthenaKernel/CLASS_DEF.h"
12 #include <vector>
13 
25 class LArRawChannelContainer : public std::vector<LArRawChannel>
26 {
27 
28  public:
31 
33  virtual ~LArRawChannelContainer() { };
34 
35  inline void add (const LArRawChannel& rc)
36  {this->push_back(rc);}
37 
38 };
39 
41 
42  //The following #define should help in the migration from Identifiable LArRawChannelContainer
43  //to the new version. It's allow frequently changing clients like LArMonTools to have the same
44  //code compiling against 13.X.Y and 14.0.0
45 #define LARRAWCHANNELCONTAINER_IS_NOT_IDENTIFIABLE
46 
47 
48 #endif
LArRawChannelContainer::LArRawChannelContainer
LArRawChannelContainer()
constructor
Definition: LArRawChannelContainer.h:30
LArRawChannelContainer::add
void add(const LArRawChannel &rc)
Definition: LArRawChannelContainer.h:35
LArRawChannel
Liquid Argon ROD output object base class.
Definition: LArRawChannel.h:40
LArRawChannelContainer::~LArRawChannelContainer
virtual ~LArRawChannelContainer()
destructor
Definition: LArRawChannelContainer.h:33
LArRawChannel.h
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type
LArRawChannelContainer
Container for LArRawChannel (IDC using LArRawChannelCollection)
Definition: LArRawChannelContainer.h:26