ATLAS Offline Software
LArOnline_SuperCellID.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARONLINE_SUPERCELLID_H
6 #define LARONLINE_SUPERCELLID_H
7 
9 #include "string.h"
10 #include <vector>
11 #include <algorithm>
12 
13 #include <iostream>
14 
15 
16 class IdentifierHash;
17 class Range;
18 
20 {
21  public:
22 
24 
28  LArOnline_SuperCellID(void);
33 
34 
35  int initialize_from_dictionary (const IdDictMgr& dict_mgr) override final;
36 
37  bool isHECchannel (const HWIdentifier id) const override final; // differs for Maini and DT
38  bool isEMECchannel (const HWIdentifier id) const override final; // differs for Maini and DT
39  bool isEMECIW (const HWIdentifier id) const override final; // differs for Main and DT
40  bool isEMECOW (const HWIdentifier id) const override final; // differs for Main and DT
41 
42 private:
43 
44  int init_hashes(void) ;
45 
46 };
47 
48 CLASS_DEF( LArOnline_SuperCellID , 115600394 , 1 )
49 
50 #endif // LARONLINE_ID_H
51 
LArOnline_SuperCellID::size_type
Identifier::size_type size_type
Definition: LArOnline_SuperCellID.h:23
LArOnline_SuperCellID::isEMECOW
bool isEMECOW(const HWIdentifier id) const override final
Definition: LArOnline_SuperCellID.cxx:389
LArOnline_SuperCellID::LArOnline_SuperCellID
LArOnline_SuperCellID(void)
Default constructor.
Definition: LArOnline_SuperCellID.cxx:18
LArOnline_SuperCellID::~LArOnline_SuperCellID
~LArOnline_SuperCellID(void)
Default destructor.
LArOnline_SuperCellID::isEMECIW
bool isEMECIW(const HWIdentifier id) const override final
Definition: LArOnline_SuperCellID.cxx:376
LArOnlineID_Base.h
HWIdentifier
Definition: HWIdentifier.h:13
IdDictMgr
Definition: IdDictDefs.h:32
LArOnline_SuperCellID::isHECchannel
bool isHECchannel(const HWIdentifier id) const override final
Definition: LArOnline_SuperCellID.cxx:362
LArOnline_SuperCellID::isEMECchannel
bool isEMECchannel(const HWIdentifier id) const override final
Definition: LArOnline_SuperCellID.cxx:405
LArOnline_SuperCellID::init_hashes
int init_hashes(void)
LArOnline_SuperCellID::initialize_from_dictionary
int initialize_from_dictionary(const IdDictMgr &dict_mgr) override final
initialization from the identifier dictionary
Definition: LArOnline_SuperCellID.cxx:29
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition: DetectorDescription/Identifier/Identifier/Range.h:29
LArOnline_SuperCellID
Definition: LArOnline_SuperCellID.h:20
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
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25