ATLAS Offline Software
BCM_RDO_Collection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // BCM_RDO_Collection.h
7 // Header file for class BCM_RDO_Collection
9 // (c) ATLAS Detector software
11 // Collection class for BCM raw data objects
13 // Version 1.0 13/08/2002 Veronique Boisvert
14 // Version 1.1 19/03/2008 Daniel Dobos for BCM
15 // Version 1.2 14/05/2008 Daniel Dobos
16 // Version 1.3 23/05/2008 Dominique Tardif
17 // Version 1.4 03/02/2009 Daniel Dobos
19 
20 #ifndef INDETBCM_RAWDATA_BCM_RDO_COLLECTION_H
21 #define INDETBCM_RAWDATA_BCM_RDO_COLLECTION_H
22 
23 #include "AthenaKernel/CLASS_DEF.h"
26 
27 class BCM_RDO_Collection : public DataVector<BCM_RawData> {
28 
29  public:
31  BCM_RDO_Collection(unsigned int chanId) : m_chanId(chanId) {}
32  virtual ~BCM_RDO_Collection() {}
33  virtual unsigned int getChannel() const { return m_chanId; }
34  virtual void setChannel(unsigned int chanId) { m_chanId = chanId; }
35 
36  private:
39  unsigned int m_chanId;
40 
41 };
42 
44 
45 #endif // INDETBCM_RAWDATA_BCM_RDO_COLLECTION_H
BCM_RDO_Collection::BCM_RDO_Collection
BCM_RDO_Collection(unsigned int chanId)
Definition: BCM_RDO_Collection.h:31
BCM_RDO_Collection::getChannel
virtual unsigned int getChannel() const
Definition: BCM_RDO_Collection.h:33
BCM_RDO_Collection::BCM_RDO_Collection
BCM_RDO_Collection()
Definition: BCM_RDO_Collection.h:30
BCM_RDO_Collection::setChannel
virtual void setChannel(unsigned int chanId)
Definition: BCM_RDO_Collection.h:34
BCM_RawData.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
BCM_RDO_Collection::m_chanId
unsigned int m_chanId
Definition: BCM_RDO_Collection.h:39
BCM_RDO_Collection::operator=
BCM_RDO_Collection & operator=(const BCM_RDO_Collection &)
BCM_RDO_Collection::BCM_RDO_Collection
BCM_RDO_Collection(const BCM_RDO_Collection &)
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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
BCM_RDO_Collection
Definition: BCM_RDO_Collection.h:27
BCM_RDO_Collection::~BCM_RDO_Collection
virtual ~BCM_RDO_Collection()
Definition: BCM_RDO_Collection.h:32
CLASS_DEF.h
macros to associate a CLID to a type