ATLAS Offline Software
CookieCutterHelpers.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef COOKIECUTTERHELPERS_H
6 #define COOKIECUTTERHELPERS_H
7 
11 #include "GaudiKernel/SystemOfUnits.h"
12 
14 {
19 {
20  float etaB = 999;
21  float phiB = 999;
22  float emaxB = -999 * Gaudi::Units::GeV;
23  float etaEC = 999;
24  float phiEC = 999;
25  float emaxEC = -999 * Gaudi::Units::GeV;
26  float etaF = 999;
27  float phiF = 999;
28  float emaxF = -999 * Gaudi::Units::GeV;
29 
30  CentralPosition() = delete;
32  const std::vector<const xAOD::CaloCluster*>& clusters,
33  const CaloDetDescrManager& mgr);
34 };
35 
48 struct PhiSize
49 {
50  float plusB = 0;
51  float minusB = 0;
52  float plusEC = 0;
53  float minusEC = 0;
54 
55  PhiSize() = default;
56  PhiSize(const CentralPosition& cp0, const xAOD::CaloCluster& cluster);
57 };
58 }
59 
60 #endif
61 
CookieCutterHelpers::CentralPosition
Find the reference position (eta, phi) relative to which cells are restricted.
Definition: CookieCutterHelpers.h:19
CookieCutterHelpers::PhiSize::minusEC
float minusEC
Definition: CookieCutterHelpers.h:53
CookieCutterHelpers::CentralPosition::phiF
float phiF
Definition: CookieCutterHelpers.h:27
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
CookieCutterHelpers::PhiSize::PhiSize
PhiSize()=default
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
CookieCutterHelpers::PhiSize::plusB
float plusB
Definition: CookieCutterHelpers.h:50
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CookieCutterHelpers::PhiSize::plusEC
float plusEC
Definition: CookieCutterHelpers.h:52
CaloCluster.h
CookieCutterHelpers::CentralPosition::etaB
float etaB
Definition: CookieCutterHelpers.h:20
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
CookieCutterHelpers::CentralPosition::etaF
float etaF
Definition: CookieCutterHelpers.h:26
CookieCutterHelpers::PhiSize::minusB
float minusB
Definition: CookieCutterHelpers.h:51
CookieCutterHelpers::CentralPosition::phiB
float phiB
Definition: CookieCutterHelpers.h:21
CookieCutterHelpers::PhiSize
Find the size of the cluster in phi using L2 cells.
Definition: CookieCutterHelpers.h:49
CookieCutterHelpers::CentralPosition::phiEC
float phiEC
Definition: CookieCutterHelpers.h:24
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
AthMessaging.h
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
CookieCutterHelpers::CentralPosition::emaxB
float emaxB
Definition: CookieCutterHelpers.h:22
CookieCutterHelpers
Definition: CookieCutterHelpers.h:14
CookieCutterHelpers::CentralPosition::CentralPosition
CentralPosition()=delete
CookieCutterHelpers::CentralPosition::emaxEC
float emaxEC
Definition: CookieCutterHelpers.h:25
CookieCutterHelpers::CentralPosition::etaEC
float etaEC
Definition: CookieCutterHelpers.h:23
CookieCutterHelpers::CentralPosition::emaxF
float emaxF
Definition: CookieCutterHelpers.h:28