ATLAS Offline Software
Loading...
Searching...
No Matches
JEMHits_v1.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: JEMHits_v1.h 631127 2014-11-26 09:54:48Z gwatts $
8#ifndef XAODTRIGL1CALO_VERSIONS_JEMHITS_V1_H
9#define XAODTRIGL1CALO_VERSIONS_JEMHITS_V1_H
10
11#include "AthLinks/ElementLink.h"
13
14namespace xAOD {
15
22
23 class JEMHits_v1 : public SG::AuxElement{
24 public:
25 // Default constructor
26 JEMHits_v1();
27
29 int crate() const;
31 void setCrate(int);
32
34 int module() const;
36 void setModule(int);
37
39 int peak() const;
41 void setPeak(int);
42
44 const std::vector<unsigned int>& jetHitsVec() const;
46 void setJetHitsVec(const std::vector<unsigned int>&);
47
49 unsigned int forward() const;
50
52 unsigned int jetHits() const;
53
57 inline void addJetHits(const std::vector<unsigned int>& hits) {this->setJetHitsVec(hits);}
58 inline unsigned int JetHits() const {return this->jetHits();}
59 };
60} // namespace xAOD
61
62#endif // XAODTRIGL1CALO_VERSIONS_JEMHITS_V1_H
Base class for elements of a container that can have aux data.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
void setModule(int)
set module
int module() const
get module
int peak() const
get peak
unsigned int jetHits() const
get jetHits for jetHitsVec[peak] - time slice that (hopefully) contains the collision
int crate() const
get crate number
unsigned int forward() const
Is this JEMEtSums forward?
unsigned int JetHits() const
Definition JEMHits_v1.h:58
const std::vector< unsigned int > & jetHitsVec() const
get jetHitsVec - jetHits for all time slices
void addJetHits(const std::vector< unsigned int > &hits)
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
Definition JEMHits_v1.h:57
void setCrate(int)
set crate number
void setPeak(int)
set peak
void setJetHitsVec(const std::vector< unsigned int > &)
set jetHitsVec - jetHits for all time slices
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.