Loading [MathJax]/jax/input/TeX/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CaloCluster_v1.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef XAODCALOEVENT_VERSIONS_CALOCLUSTER_V1_H
6 #define XAODCALOEVENT_VERSIONS_CALOCLUSTER_V1_H
7 
8 // System include(s):
9 extern "C" {
10 # include <stdint.h>
11 }
12 #include <bitset>
13 #include <memory>
14 #include <vector>
15 #include <limits>
16 #include <bit>
17 
18 #include <cmath>
19 
20 // xAOD include(s):
21 #include "xAODBase/IParticle.h"
22 
23 //Definition of CaloSamples (enum)
24 #include "CaloGeoHelpers/CaloSampling.h"
25 
28 #include "AthLinks/ElementLink.h"
29 
30 
31 #if !(defined(SIMULATIONBASE) || defined(XAOD_ANALYSIS))
34 #else
35 class CaloClusterCellLink {};
36 typedef unsigned CaloRecoStatus;
37 #endif // not (defined(SIMULATIONBASE) || defined(XAOD_ANALYSIS))
38 
39 // ROOT include(s):
40 #include "Math/Vector4D.h"
41 
42 //Already include the DataVector specialization for this type
44 
45 // implementation of some accessor functions
47 
49 
50 namespace xAOD {
51  class CaloCluster_v1;
53 
62  class CaloCluster_v1 : public IParticle {
63  friend class ::CaloClusterChangeSignalState;
64 
65  public:
66 
67  typedef float flt_t;
68 
70 
75  typedef uint8_t ncells_t;
83  typedef std::vector<uint16_t> ncells_store_t;
84 
87 
89  enum ClusterSize {
90  // electrons
91  SW_55ele = 1,
92  SW_35ele = 2,
93  SW_37ele = 3,
94  // photons
95  SW_55gam = 4,
96  SW_35gam = 5,
97  SW_37gam = 6,
98  // early converted photons
102  // soft electrons
103  SW_softe = 10,
104  // topological clusters
105  Topo_420 = 11,
106  Topo_633 = 12,
107  // transient cluster for AODCellContainer
108  SW_7_11 = 13,
109  //New (2016) egamma cluster
111  //New (2020) cluster representation of towers
115  CSize_Unknown = 99
116  };
117 
123  enum MomentType {
124  FIRST_PHI = 101,
125  FIRST_ETA = 102,
126  SECOND_R = 201,
128  DELTA_PHI = 301,
131  DELTA_THETA = 302,
133  DELTA_ALPHA = 303,
134  CENTER_X = 401,
135  CENTER_Y = 402,
136  CENTER_Z = 403,
137  CENTER_MAG = 404,
140  LATERAL = 601,
141  LONGITUDINAL = 602,
142  ENG_FRAC_EM = 701,
143  ENG_FRAC_MAX = 702,
144  ENG_FRAC_CORE = 703,
148  ISOLATION = 806,
152  N_BAD_CELLS = 808,
153  N_BAD_CELLS_CORR = 809,
159  ENG_POS = 822,
160  SIGNIFICANCE = 823,
161  CELL_SIGNIFICANCE = 824,
166  AVG_LAR_Q = 826,
168  AVG_TILE_Q = 827,
172  PTD = 830,
175  MASS = 831,
177  HAD_WEIGHT = 901,
178  OOC_WEIGHT = 902,
179  DM_WEIGHT = 903,
180  TILE_CONFIDENCE_LEVEL = 904,
183  SECOND_TIME = 910,
186 
190  ETACALOFRAME = 1100,
191  PHICALOFRAME = 1101,
192  ETA1CALOFRAME = 1102,
193  PHI1CALOFRAME = 1103,
194  ETA2CALOFRAME = 1104,
195  PHI2CALOFRAME = 1105,
196 
198  ENG_CALIB_TOT = 10001,
199  ENG_CALIB_OUT_L = 10010,
203  ENG_CALIB_OUT_M = 10011,
207  ENG_CALIB_OUT_T = 10012,
211  ENG_CALIB_DEAD_L = 10020,
214  ENG_CALIB_DEAD_M = 10021,
217  ENG_CALIB_DEAD_T = 10022,
220  ENG_CALIB_EMB0 = 10030,
223  ENG_CALIB_EME0 = 10031,
257 
258 
260  ETA_DigiHSTruth = 401024,
261  PHI_DigiHSTruth = 401034,
303  DM_WEIGHT_DigiHSTruth = 50903
304  };
305 
307  enum State {
308  UNKNOWN = -1,
312  NSTATES = 3
313  };
314 
316 
318  CaloCluster_v1();
319 
322 
324  virtual ~CaloCluster_v1();
325 
328 
331 
333  virtual double pt() const;
335  virtual double eta() const;
337  virtual double phi() const;
339  virtual double m() const;
341  virtual double e() const;
343  virtual double rapidity() const;
344 
347 
349  typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > GenVecFourMom_t;
350 
352  GenVecFourMom_t genvecP4() const;
353 
355  GenVecFourMom_t genvecP4(const State s) const;
356 
358  virtual FourMom_t p4() const;
359 
360  FourMom_t p4(const State s) const;
361 
363  virtual Type::ObjectType type() const;
365 
369  double et() const;
370 
372 
373  public:
374 
378  float eSample(const CaloSample sampling) const;
380  float etaSample(const CaloSample sampling) const;
382  float phiSample(const CaloSample sampling) const;
383 
385  float energy_max(const CaloSample sampling) const;
388  float etamax(const CaloSample sampling) const;
391  float phimax(const CaloSample sampling) const;
392 
394  float etasize(const CaloSample sampling) const;
396  float phisize(const CaloSample sampling) const;
397 
409  int numberCellsInSampling(const CaloSample samp,bool isInnerWheel=false) const;
410 
412  void setNumberCellsInSampling(CaloSampling::CaloSample samp, int ncells,bool isInnerWheel=false);
413 
421  int numberCells() const;
422 
429  template<class CDATA>
430  bool getNumberCellsInSampling(CDATA& cdata) const {
431  ncells_store_t clist;
432  if ( !retrieveMoment(NCELL_SAMPLING,clist) ) { return false; }
433  cdata.clear(); cdata.reserve(clist.size());
434  for ( auto cn : clist ) { cdata.push_back(extractLowerCount<typename CDATA::value_type>(cn)); }
435  return true;
436  }
437 
438 
444  float energyBE(const unsigned layer) const;
445 
451  float etaBE(const unsigned layer) const;
457  float phiBE(const unsigned layer) const;
458 
459 
461  bool setEnergy(const CaloSample sampling, const float e);
463  bool setEta(const CaloSample sampling, const float eta);
465  bool setPhi(const CaloSample sampling, const float phi );
466 
468  bool setEmax(const CaloSample sampling, const float eMax );
470  bool setEtamax(const CaloSample sampling, const float etaMax );
472  bool setPhimax(const CaloSample sampling, const float phiMax );
474  bool setEtasize(const CaloSample sampling, const float etaSize );
476  bool setPhisize(const CaloSample sampling, const float phiSize );
477 
478 
479 
480 
481 
483 
487  void insertMoment( MomentType type, double value );
488 
490  bool retrieveMoment( MomentType type, double& value ) const;
491 
493  double getMomentValue( MomentType type) const;
494 
499  void insertMoment( MomentType type, const ncells_store_t& values);
500 
505  bool retrieveMoment( MomentType type, ncells_store_t& values) const;
506 
508 
509 
510 
514  void setEta0(flt_t);
516  flt_t eta0() const;
517 
519  void setPhi0(flt_t);
521  flt_t phi0() const;
522 
524  void setTime(flt_t);
526  flt_t time() const;
528  void setSecondTime(flt_t stime);
536  flt_t secondTime() const;
537 
539  unsigned samplingPattern() const;
541  void setSamplingPattern(const unsigned sp, const bool clearSamplingVars=false);
542 
544  void clearSamplingData();
545 
546  unsigned nSamples() const;
547 
549  bool hasSampling(const CaloSample s) const;
550 
551 
553  ClusterSize clusterSize() const;
555  void setClusterSize(const ClusterSize);
556 
558  bool inBarrel() const;
560  bool inEndcap() const;
561 
563 
567  void setE(flt_t);
569  void setEta(flt_t);
571  void setPhi(flt_t);
573  void setM(flt_t);
574 
576 
580  flt_t rawE() const;
582  void setRawE(flt_t);
584  flt_t rawEta() const;
586  void setRawEta(flt_t);
588  flt_t rawPhi() const;
590  void setRawPhi(flt_t);
592  flt_t rawM() const;
594  void setRawM(flt_t);
595 
597  flt_t altE() const;
599  void setAltE(flt_t);
601  flt_t altEta() const;
603  void setAltEta(flt_t);
605  flt_t altPhi() const;
607  void setAltPhi(flt_t);
609  flt_t altM() const;
611  void setAltM(flt_t);
612 
614  flt_t calE() const;
616  void setCalE(flt_t);
618  flt_t calEta() const;
620  void setCalEta(flt_t);
622  flt_t calPhi() const;
624  void setCalPhi(flt_t);
626  flt_t calM() const;
628  void setCalM(flt_t);
629 #if !(defined(SIMULATIONBASE) || defined(XAOD_ANALYSIS))
630  private:
631 #endif //not defined(SIMULATIONBASE) || defined(XAOD_ANALYSIS)
632  bool setSignalState(const State s) ;
634  public:
636  State signalState() const {return m_signalState;}
637 
639  double pt(const State s) const;
640 
642  double e(const State s) const;
643 
645  double eta(const State s) const;
646 
648  double phi(const State s) const;
649 
651  double m(const State s) const;
652 
653 
655 
656 
658  unsigned int getClusterEtaSize() const;
659 
661  unsigned int getClusterPhiSize() const;
662 
665 
667  const CaloCluster_v1* getSisterCluster() const;
668 
671 
674 
675  //For debugging only...
676  //std::vector<std::pair<std::string,float> > getAllMoments();
677 
678  private:
681 
686  std::unique_ptr<CaloClusterCellLink> m_cellLinks;
687 
690 
692  double m_secondTime = { -1. };
693 
696  template<class UNSIGNED> UNSIGNED extractLowerCount(ncells_store_t::value_type cdata) const { return static_cast<UNSIGNED>(cdata & 0x00ff); }
697  template<class UNSIGNED> UNSIGNED extractUpperCount(ncells_store_t::value_type cdata) const { return static_cast<UNSIGNED>( (cdata & 0xff00)>>8 ); }
698  template<class UNSIGNED> ncells_store_t::value_type setLowerCount(ncells_store_t::value_type cdata,UNSIGNED clower)
699  { return static_cast<ncells_store_t::value_type>((cdata & 0xff00)|(clower & 0x00ff)); }
700  template<class UNSIGNED> ncells_store_t::value_type setUpperCount(ncells_store_t::value_type cdata,UNSIGNED cupper)
701  { return static_cast<ncells_store_t::value_type>((cdata & 0x00ff)|((cupper & 0x00ff)<<8)); }
702  template<class UNSIGNED> UNSIGNED lowerCellCountBound() const { return static_cast<UNSIGNED>(std::numeric_limits<ncells_t>::lowest()); }
703  template<class UNSIGNED> UNSIGNED upperCellCountBound() const { return static_cast<UNSIGNED>(std::numeric_limits<ncells_t>::max()); }
704  template<class UNSIGNED,class CCTYPE> CCTYPE adjustToRange(UNSIGNED count) const
705  { return static_cast<CCTYPE>(std::min(std::max(count,lowerCellCountBound< UNSIGNED >()),upperCellCountBound< UNSIGNED >())); }
707 
708  unsigned sampVarIdx(const CaloSample) const;
709 
710  float getSamplVarFromAcc(const Accessor<std::vector<float > >& acc,
711  const CaloSample sampling, const float errorvalue=CaloClusterDetails::defaultErrorValue) const;
712 
713  bool setSamplVarFromAcc(const Accessor<std::vector<float> >& acc,
714  const CaloSample sampling, const float value);
715 
716  public:
717 #if !(defined(SIMULATIONBASE) || defined(XAOD_ANALYSIS))
718 
725  m_cellLinks.reset(CCCL);
726  }
727 
729  void addCellLink(std::unique_ptr<CaloClusterCellLink> CCCL) {
730  m_cellLinks=std::move(CCCL);
731  }
737  //bool createCellElemLink(const std::string& CCCL_key, const size_t index);
738 
745  IProxyDict* sg = nullptr);
746 
747 
754  const EventContext& ctx);
755 
756 
760  const CaloClusterCellLink* getCellLinks() const;
761 
766  return m_cellLinks.get();
767  }
768 
774  bool addCell(const unsigned index, const double weight) {
775  if (!m_cellLinks) {
776  return false;
777  }
778  return m_cellLinks->addCell(index, weight);
779  }
780 
787  bool removeCell(const CaloCell* ptr);
788 
789 
793  size_t size() const;
794 
797  // Fixme: Check ret-val of getCellLinks (might be NULL);
799  {
801  if (!links) {
803  }
804  return links->begin();
805  }
808  if (!links) {
810  }
811  return getCellLinks()->end();
812  }
813 
816  const_cell_iterator cell_end() const { return cell_cend(); }
817 
820  //Fixme: Check ret-val of getCellLinks (might be NULL);
823 
827  const_iterator begin() const { return cell_cbegin(); }
828  const_iterator end() const { return cell_cend(); }
829  const_iterator cbegin() const { return cell_cbegin(); }
830  const_iterator cend() const { return cell_cend(); }
831  iterator begin() { return cell_begin(); }
832  iterator end() { return cell_end(); }
833 
838  void reweightCell(cell_iterator it, const double weight) {it.reweight(weight);}
839 
844 
848  const CaloRecoStatus& recoStatus() const {return m_recoStatus;}
850 
851 #endif // not defined(SIMULATIONBASE) || defined(XAOD_ANALYSIS)
852 
854  void toPersistent();
855 
856  }; // class CaloCluster_v1
857 
858 
859  inline double CaloCluster_v1::et() const {
860  if (this->m() == 0) {
861  return this->pt();
862  }
863 
864  return this->p4().Et();
865  }
866 
867  inline unsigned CaloCluster_v1::samplingPattern() const {
868  return m_samplingPattern;
869  }
870 
873  }
874 
875 
876  inline unsigned CaloCluster_v1::nSamples() const {
878  return std::popcount(pattern);
879  }
880 
881 
882  inline bool CaloCluster_v1::hasSampling(const CaloSample s) const {
884  }
885 
886 
887  inline bool CaloCluster_v1::inBarrel() const {
889  }
890 
891 
892  inline bool CaloCluster_v1::inEndcap() const {
894  }
895 
896 
898  double value=-999;
899  (void)this->retrieveMoment(type,value);
900  return value;
901  }
902 
903 } // namespace xAOD
904 
905 // Finish declaration of IParticle as a base class of CaloCluster_v1:
907 
908 
909 #endif // XAODCALOEVENT_VERSIONS_CALOCLUSTER_V1_H
xAOD::CaloCluster_v1::CENTER_MAG
@ CENTER_MAG
Cluster Centroid ( )
Definition: CaloCluster_v1.h:138
xAOD::CaloCluster_v1::SECOND_R
@ SECOND_R
Second Moment in .
Definition: CaloCluster_v1.h:126
xAOD::CaloCluster_v1::phimax
float phimax(const CaloSample sampling) const
Retrieve of cell with maximum energy in given sampling.
Definition: CaloCluster_v1.cxx:582
xAOD::CaloCluster_v1::phi0
flt_t phi0() const
Returns raw of cluster seed.
xAOD::CaloCluster_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
Definition: CaloCluster_v1.cxx:256
xAOD::CaloCluster_v1::CENTER_MAG_DigiHSTruth
@ CENTER_MAG_DigiHSTruth
Definition: CaloCluster_v1.h:277
xAOD::CaloCluster_v1::nSamples
unsigned nSamples() const
Definition: CaloCluster_v1.h:876
xAOD::CaloClusterDetails::hasSampling
bool hasSampling(const CaloSample s, const std::uint32_t samplingPattern)
Checks if certain smapling contributes to cluster.
Definition: CaloClusterDetails.h:51
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
xAOD::CaloCluster_v1::rawE
flt_t rawE() const
xAOD::CaloCluster_v1::DELTA_PHI_DigiHSTruth
@ DELTA_PHI_DigiHSTruth
Definition: CaloCluster_v1.h:271
xAOD::CaloCluster_v1::time
flt_t time() const
Access cluster time.
CaloClusterChangeSignalState
Helper to temporarily change the signal state of a cluster.
Definition: CaloClusterChangeSignalState.h:19
xAOD::CaloCluster_v1::m_secondTime
double m_secondTime
Second cell time moment (transient only)
Definition: CaloCluster_v1.h:692
xAOD::CaloCluster_v1::CSize_Unknown
@ CSize_Unknown
Definition: CaloCluster_v1.h:115
xAOD::CaloCluster_v1::FIRST_ETA_DigiHSTruth
@ FIRST_ETA_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:268
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_UNCLASS
@ ENG_CALIB_DEAD_UNCLASS
Attached Calibration Hit energy in dead material in unclassified areas of the detector.
Definition: CaloCluster_v1.h:249
xAOD::CaloCluster_v1::FIRST_PHI
@ FIRST_PHI
First Moment in .
Definition: CaloCluster_v1.h:124
xAOD::CaloCluster_v1::OOC_WEIGHT
@ OOC_WEIGHT
Out-of-cluster weight (E_ooc/E_w)
Definition: CaloCluster_v1.h:178
xAOD::CaloCluster_v1::ENG_FRAC_CORE
@ ENG_FRAC_CORE
Energy fraction of the sum of the hottest cells in each sampling.
Definition: CaloCluster_v1.h:145
xAOD::CaloCluster_v1::getSamplVarFromAcc
float getSamplVarFromAcc(const Accessor< std::vector< float > > &acc, const CaloSample sampling, const float errorvalue=CaloClusterDetails::defaultErrorValue) const
Definition: CaloCluster_v1.cxx:494
xAOD::CaloCluster_v1::cell_begin
const_cell_iterator cell_begin() const
Iterator of the underlying CaloClusterCellLink (const version)
Definition: CaloCluster_v1.h:815
xAOD::CaloCluster_v1::setPhisize
bool setPhisize(const CaloSample sampling, const float phiSize)
Set the cluster size in for a given sampling.
Definition: CaloCluster_v1.cxx:617
xAOD::CaloCluster_v1::ClusterSize
ClusterSize
Enumeration to identify different cluster sizes.
Definition: CaloCluster_v1.h:89
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
xAOD::CaloCluster_v1::rawEta
flt_t rawEta() const
Get in signal state UNCALIBRATED.
xAOD::CaloCluster_v1::LONGITUDINAL_DigiHSTruth
@ LONGITUDINAL_DigiHSTruth
Normalized longitudinal moment.
Definition: CaloCluster_v1.h:280
xAOD::CaloCluster_v1::setRawM
void setRawM(flt_t)
Set mass for singal state UNCALIBRATED.
Definition: CaloCluster_v1.cxx:299
CaloClusterDetails.h
xAOD::CaloCluster_v1::SECOND_LAMBDA_DigiHSTruth
@ SECOND_LAMBDA_DigiHSTruth
Second Moment in .
Definition: CaloCluster_v1.h:270
xAOD::CaloCluster_v1::numberCells
int numberCells() const
Return total number of cells in cluster.
Definition: CaloCluster_v1.cxx:772
xAOD::CaloCluster_v1::VERTEX_FRACTION
@ VERTEX_FRACTION
Vertex fraction of this cluster wrt.
Definition: CaloCluster_v1.h:187
IParticle.h
xAOD::CaloCluster_v1::getMomentValue
double getMomentValue(MomentType type) const
Retrieve individual moment - no check for existance! Returns -999 on error.
Definition: CaloCluster_v1.h:897
xAOD::CaloCluster_v1::CaloSample
CaloSampling::CaloSample CaloSample
Definition: CaloCluster_v1.h:69
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::CaloCluster_v1::MASS
@ MASS
cell based mass i.e. the mass of the 4-vector sum of all massless positive energetic cells
Definition: CaloCluster_v1.h:175
xAOD::CaloCluster_v1::EM_PROBABILITY
@ EM_PROBABILITY
Classification probability to be em-like.
Definition: CaloCluster_v1.h:176
xAOD::CaloCluster_v1::CENTER_X
@ CENTER_X
Cluster Centroid ( )
Definition: CaloCluster_v1.h:134
xAOD::CaloCluster_v1::ENG_BAD_HV_CELLS
@ ENG_BAD_HV_CELLS
Total em-scale energy of cells with bad HV in this cluster.
Definition: CaloCluster_v1.h:170
xAOD::CaloCluster_v1::EM_PROBABILITY_DigiHSTruth
@ EM_PROBABILITY_DigiHSTruth
Classification probability to be em-like.
Definition: CaloCluster_v1.h:300
xAOD::CaloCluster_v1::cell_begin
cell_iterator cell_begin()
Definition: CaloCluster_v1.h:821
xAOD::CaloCluster_v1::getNumberCellsInSampling
bool getNumberCellsInSampling(CDATA &cdata) const
Get number of cells for all sampling layer.
Definition: CaloCluster_v1.h:430
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::CaloCluster_v1::Tower_01_01
@ Tower_01_01
Definition: CaloCluster_v1.h:112
xAOD::CaloCluster_v1::m_signalState
State m_signalState
Current signal state.
Definition: CaloCluster_v1.h:683
index
Definition: index.py:1
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
xAOD::CaloCluster_v1::SW_37Econv
@ SW_37Econv
Definition: CaloCluster_v1.h:101
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_LEAKAGE
@ ENG_CALIB_DEAD_LEAKAGE
Attached Calibration Hit energy in dead material behind calorimeters.
Definition: CaloCluster_v1.h:246
xAOD::CaloCluster_v1::ENERGY_CALIB_DigiHSTruth
@ ENERGY_CALIB_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:263
xAOD::CaloCluster_v1::calE
flt_t calE() const
Geet Energy in signal state CALIBRATED.
xAOD::CaloCluster_v1::ETA2CALOFRAME
@ ETA2CALOFRAME
Eta of sampling 2 in the calo frame (for egamma)
Definition: CaloCluster_v1.h:194
xAOD::CaloCluster_v1::setAltM
void setAltM(flt_t)
Set mass for singal state ALTCALIBRATED.
Definition: CaloCluster_v1.cxx:343
xAOD::CaloCluster_v1::secondTime
flt_t secondTime() const
Access second moment of cell timing distribution.
Definition: CaloCluster_v1.cxx:941
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
xAOD::CaloCluster_v1::TIME_DigiHSTruth
@ TIME_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:262
xAOD::CaloCluster_v1::clearSamplingData
void clearSamplingData()
Clear the sampling data.
Definition: CaloCluster_v1.cxx:671
xAOD::CaloCluster_v1::AVG_LAR_Q
@ AVG_LAR_Q
Sum(E_cell_LAr^2 Q_cell_LAr)/Sum(E_cell_LAr^2)
Definition: CaloCluster_v1.h:166
xAOD::CaloCluster_v1::ETA1CALOFRAME
@ ETA1CALOFRAME
Eta of sampling 1 in the calo frame (for egamma)
Definition: CaloCluster_v1.h:192
xAOD::CaloCluster_v1::calEta
flt_t calEta() const
Get in signal state CALIBRATED.
xAOD::CaloCluster_v1::ISOLATION_DigiHSTruth
@ ISOLATION_DigiHSTruth
Definition: CaloCluster_v1.h:286
xAOD::CaloCluster_v1::recoStatus
const CaloRecoStatus & recoStatus() const
Accesssor to CaloRecoStatus (const)
Definition: CaloCluster_v1.h:848
xAOD::CaloCluster_v1::State
State
enum of possible signal states.
Definition: CaloCluster_v1.h:307
xAOD::CaloCluster_v1::setAltEta
void setAltEta(flt_t)
Set for signal state ALTCALIBRATED.
Definition: CaloCluster_v1.cxx:333
skel.it
it
Definition: skel.GENtoEVGEN.py:407
xAOD::CaloCluster_v1::ETA_CALIB_DigiHSTruth
@ ETA_CALIB_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:264
xAOD::CaloCluster_v1::BADLARQ_FRAC_DigiHSTruth
@ BADLARQ_FRAC_DigiHSTruth
Definition: CaloCluster_v1.h:291
xAOD::CaloCluster_v1::m_recoStatus
CaloRecoStatus m_recoStatus
Reco status (transient only)
Definition: CaloCluster_v1.h:689
xAOD::CaloCluster_v1::PHI_CALIB_DigiHSTruth
@ PHI_CALIB_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:265
xAOD::CaloCluster_v1::m
virtual double m() const
The invariant mass of the particle.
Definition: CaloCluster_v1.cxx:261
xAOD::CaloCluster_v1::ENG_CALIB_TILEG3
@ ENG_CALIB_TILEG3
Calibration Hit energy inside the cluster scintillator.
Definition: CaloCluster_v1.h:225
xAOD::CaloCluster_v1::SuperCluster
@ SuperCluster
Definition: CaloCluster_v1.h:110
xAOD::CaloCluster_v1::addCellLink
void addCellLink(std::unique_ptr< CaloClusterCellLink > CCCL)
Set up an ElementLink to a CaloClusterCellLink object.
Definition: CaloCluster_v1.h:729
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_T
@ ENG_CALIB_DEAD_T
Attached Calibration Hit energy in dead material with tight matching (Angle < 0.3).
Definition: CaloCluster_v1.h:217
xAOD::CaloCluster_v1::SW_55gam
@ SW_55gam
Definition: CaloCluster_v1.h:95
xAOD::CaloCluster_v1::insertMoment
void insertMoment(MomentType type, double value)
Definition: CaloCluster_v1.cxx:708
xAOD::CaloCluster_v1::ENG_CALIB_OUT_M
@ ENG_CALIB_OUT_M
Attached Calibration Hit energy outside clusters but inside the calorimeter with medium matching (Ang...
Definition: CaloCluster_v1.h:203
xAOD::other
@ other
Definition: TrackingPrimitives.h:510
xAOD::CaloCluster_v1::et
double et() const
Definition: CaloCluster_v1.h:859
xAOD::CaloCluster_v1::CENTER_LAMBDA
@ CENTER_LAMBDA
Shower depth at Cluster Centroid.
Definition: CaloCluster_v1.h:139
xAOD::CaloCluster_v1::setBadChannelList
void setBadChannelList(const CaloClusterBadChannelList &bcl)
Definition: CaloCluster_v1.cxx:274
xAOD::CaloCluster_v1::etasize
float etasize(const CaloSample sampling) const
Returns cluster size in for a given sampling.
Definition: CaloCluster_v1.cxx:596
athena.value
value
Definition: athena.py:124
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::CaloCluster_v1::signalState
State signalState() const
Get the current signal state.
Definition: CaloCluster_v1.h:636
xAOD::CaloCluster_v1::setLink
bool setLink(CaloClusterCellLinkContainer *CCCL, IProxyDict *sg=nullptr)
Set up an ElementLink to a CaloClusterCellLink object.
Definition: CaloCluster_v1.cxx:826
xAOD::CaloCluster_v1::phiBE
float phiBE(const unsigned layer) const
Get the phi in one layer of the EM Calo.
Definition: CaloCluster_v1.cxx:634
xAOD::CaloCluster_v1::ENG_CALIB_EMB0
@ ENG_CALIB_EMB0
Calibration Hit energy inside the cluster barrel presampler.
Definition: CaloCluster_v1.h:221
xAOD::CaloCluster_v1::setCalEta
void setCalEta(flt_t)
Set for signal state CALIBRATED.
Definition: CaloCluster_v1.cxx:311
stime
std::string stime()
return the current data and time
Definition: computils.cxx:214
xAOD::CaloCluster_v1::CENTER_Y_DigiHSTruth
@ CENTER_Y_DigiHSTruth
Cluster Centroid ( )
Definition: CaloCluster_v1.h:275
xAOD::CaloCluster_v1::upperCellCountBound
UNSIGNED upperCellCountBound() const
upper boundary for cell count
Definition: CaloCluster_v1.h:703
xAOD::CaloCluster_v1::setLowerCount
ncells_store_t::value_type setLowerCount(ncells_store_t::value_type cdata, UNSIGNED clower)
Definition: CaloCluster_v1.h:698
xAOD::CaloCluster_v1::setSamplingPattern
void setSamplingPattern(const unsigned sp, const bool clearSamplingVars=false)
Set sampling pattern (one bit per sampling.
Definition: CaloCluster_v1.cxx:81
xAOD::CaloCluster_v1::setEnergy
bool setEnergy(const CaloSample sampling, const float e)
Set energy for a given sampling. Returns false if the sample isn't part of the cluster.
Definition: CaloCluster_v1.cxx:519
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_TILE0
@ ENG_CALIB_DEAD_TILE0
Attached Calibration Hit energy in dead material between EMB3 and TILE0.
Definition: CaloCluster_v1.h:233
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
CaloSampling::barrelPattern
static constexpr unsigned int barrelPattern()
Get the bit-pattern for barrel samplings.
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:75
xAOD::CaloCluster_v1::ENG_FRAC_MAX
@ ENG_FRAC_MAX
Energy fraction of hottest cell.
Definition: CaloCluster_v1.h:143
xAOD::CaloCluster_v1::adjustToRange
CCTYPE adjustToRange(UNSIGNED count) const
< reduce value range to min and max counts
Definition: CaloCluster_v1.h:704
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::CaloCluster_v1::LATERAL_DigiHSTruth
@ LATERAL_DigiHSTruth
Normalized lateral moment.
Definition: CaloCluster_v1.h:279
xAOD::CaloCluster_v1::CENTER_Z_DigiHSTruth
@ CENTER_Z_DigiHSTruth
Cluster Centroid ( )
Definition: CaloCluster_v1.h:276
xAOD::CaloCluster_v1::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for calo.
Definition: CaloCluster_v1.h:349
xAOD::CaloCluster_v1::etamax
float etamax(const CaloSample sampling) const
Retrieve of cell with maximum energy in given sampling.
Definition: CaloCluster_v1.cxx:569
xAOD::CaloCluster_v1::ncells_t
uint8_t ncells_t
Type for number-of-cells-in-sampling counter.
Definition: CaloCluster_v1.h:75
xAOD::CaloCluster_v1::PHI1CALOFRAME
@ PHI1CALOFRAME
Phi of sampling 1 in the calo frame (for egamma)
Definition: CaloCluster_v1.h:193
IProxyDict
A proxy dictionary.
Definition: AthenaKernel/AthenaKernel/IProxyDict.h:47
xAOD::CaloCluster_v1::calM
flt_t calM() const
Get mass in signal state CALIBRATED.
xAOD::CaloCluster_v1::setEta0
void setEta0(flt_t)
xAOD::CaloCluster_v1::setTime
void setTime(flt_t)
Set cluster time.
xAOD::CaloCluster_v1::setEmax
bool setEmax(const CaloSample sampling, const float eMax)
Set the Energy of the cell with the highest energy in a particular sampling.
Definition: CaloCluster_v1.cxx:564
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
xAOD::CaloCluster_v1::end
iterator end()
Definition: CaloCluster_v1.h:832
xAOD::CaloCluster_v1::SW_7_11
@ SW_7_11
Definition: CaloCluster_v1.h:108
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
xAOD::CaloCluster_v1::SW_37gam
@ SW_37gam
Definition: CaloCluster_v1.h:97
xAOD::CaloCluster_v1::begin
iterator begin()
Definition: CaloCluster_v1.h:831
SG::AuxElement::Accessor
SG::Accessor< T, ALLOC > Accessor
Definition: AuxElement.h:572
xAOD::CaloCluster_v1::SECOND_LAMBDA
@ SECOND_LAMBDA
Second Moment in .
Definition: CaloCluster_v1.h:127
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:69
xAOD::CaloCluster_v1::MomentType
MomentType
Enums to identify different moments.
Definition: CaloCluster_v1.h:123
xAOD::CaloCluster_v1::PTD
@ PTD
relative spread of pT of constiuent cells = sqrt(n)*RMS/Mean
Definition: CaloCluster_v1.h:173
xAOD::CaloCluster_v1::NCELL_SAMPLING
@ NCELL_SAMPLING
Number of cells in sampling layer.
Definition: CaloCluster_v1.h:185
xAOD::CaloCluster_v1::etaSample
float etaSample(const CaloSample sampling) const
Retrieve barycenter in a given sample.
Definition: CaloCluster_v1.cxx:525
xAOD::CaloCluster_v1::setSecondTime
void setSecondTime(flt_t stime)
Set second moment of cell timing distribution.
Definition: CaloCluster_v1.cxx:939
xAOD::CaloCluster_v1::SW_37ele
@ SW_37ele
Definition: CaloCluster_v1.h:93
xAOD::CaloCluster_v1::Tower_005_005
@ Tower_005_005
Definition: CaloCluster_v1.h:113
xAOD::CaloCluster_v1::CENTER_Z
@ CENTER_Z
Cluster Centroid ( )
Definition: CaloCluster_v1.h:136
xAOD::CaloCluster_v1::clusterSize
ClusterSize clusterSize() const
Get cluster size.
Definition: CaloCluster_v1.cxx:364
xAOD::CaloCluster_v1::etaBE
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Definition: CaloCluster_v1.cxx:628
xAOD::CaloCluster_v1::Topo_633
@ Topo_633
Definition: CaloCluster_v1.h:106
xAOD::CaloCluster_v1::SW_55Econv
@ SW_55Econv
Definition: CaloCluster_v1.h:99
xAOD::CaloCluster_v1::setE
void setE(flt_t)
Definition: CaloCluster_v1.cxx:375
xAOD::CaloCluster_v1::SECOND_ENG_DENS
@ SECOND_ENG_DENS
Second Moment in E/V.
Definition: CaloCluster_v1.h:147
DATAVECTOR_BASE_FIN
DATAVECTOR_BASE_FIN(xAOD::CaloCluster_v1, xAOD::IParticle)
xAOD::CaloCluster_v1::setPhimax
bool setPhimax(const CaloSample sampling, const float phiMax)
Set the phi of the cell with the highest energy in a particular sampling.
Definition: CaloCluster_v1.cxx:590
xAOD::CaloCluster_v1::CaloCluster_v1
CaloCluster_v1()
Default constructor.
Definition: CaloCluster_v1.cxx:23
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:62
xAOD::CaloClusterBadChannelList
std::vector< CaloClusterBadChannelData > CaloClusterBadChannelList
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterBadChannelData.h:19
xAOD::CaloCluster_v1::setCalPhi
void setCalPhi(flt_t)
Set for signal state CALIBRATED.
Definition: CaloCluster_v1.cxx:316
xAOD::CaloCluster_v1::inEndcap
bool inEndcap() const
Returns true if at least one clustered cell in the endcap.
Definition: CaloCluster_v1.h:892
xAOD::CaloCluster_v1::DM_WEIGHT
@ DM_WEIGHT
Dead-material weight (E_dm/E_ooc)
Definition: CaloCluster_v1.h:179
xAOD::CaloCluster_v1::ENG_POS_DigiHSTruth
@ ENG_POS_DigiHSTruth
Total positive Energy of this cluster.
Definition: CaloCluster_v1.h:292
xAOD::CaloCluster_v1::setRawE
void setRawE(flt_t)
Set Energy for signal state UNCALIBRATED.
Definition: CaloCluster_v1.cxx:284
xAOD::CaloCluster_v1::HAD_WEIGHT
@ HAD_WEIGHT
Hadronic weight (E_w/E_em)
Definition: CaloCluster_v1.h:177
xAOD::CaloClusterDetails::sampVarIdx
unsigned sampVarIdx(const CaloSample s, const std::uint32_t samplingPattern)
Definition: CaloClusterDetails.h:56
xAOD::CaloCluster_v1::SIGNIFICANCE_DigiHSTruth
@ SIGNIFICANCE_DigiHSTruth
Cluster significance.
Definition: CaloCluster_v1.h:293
xAOD::CaloCluster_v1::removeCell
bool removeCell(const CaloCell *ptr)
Method to remove a cell to the cluster (slow!) (Beware: Kinematics not updated!)
Definition: CaloCluster_v1.cxx:877
xAOD::CaloCluster_v1::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : GenVector type.
Definition: CaloCluster_v1.cxx:457
xAOD::CaloCluster_v1::SECOND_ENG_DENS_DigiHSTruth
@ SECOND_ENG_DENS_DigiHSTruth
Second Moment in E/V.
Definition: CaloCluster_v1.h:285
xAOD::CaloCluster_v1::setCalM
void setCalM(flt_t)
Set mass for singal state CALIBRATED.
Definition: CaloCluster_v1.cxx:321
xAOD::CaloCluster_v1::getClusterEtaSize
unsigned int getClusterEtaSize() const
Get eta size from cluster size.
Definition: CaloCluster_v1.cxx:777
xAOD::CaloCluster_v1::setPhi0
void setPhi0(flt_t)
Set raw of cluster seed.
xAOD::CaloCluster_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition: CaloCluster_v1.cxx:251
xAOD::CaloCluster_v1::CALIBRATED
@ CALIBRATED
Definition: CaloCluster_v1.h:310
xAOD::CaloCluster_v1::ETA_DigiHSTruth
@ ETA_DigiHSTruth
Eta moment that I am trying to include.
Definition: CaloCluster_v1.h:260
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
xAOD::CaloCluster_v1::energy_max
float energy_max(const CaloSample sampling) const
Retrieve maximum cell energy in given sampling.
Definition: CaloCluster_v1.cxx:556
xAOD::CaloCluster_v1::CENTER_LAMBDA_DigiHSTruth
@ CENTER_LAMBDA_DigiHSTruth
Shower depth at Cluster Centroid.
Definition: CaloCluster_v1.h:278
xAOD::CaloCluster_v1::getSisterClusterLink
const ElementLink< xAOD::CaloClusterContainer_v1 > & getSisterClusterLink() const
Get a link to a 'sister' cluster (eg the non-calibrated counterpart)
Definition: CaloCluster_v1.cxx:923
xAOD::CaloCluster_v1::ncells_store_t
std::vector< uint16_t > ncells_store_t
Store type for number-of-cells-in-sampling counter.
Definition: CaloCluster_v1.h:83
xAOD::CaloCluster_v1::CELL_SIG_SAMPLING_DigiHSTruth
@ CELL_SIG_SAMPLING_DigiHSTruth
Definition: CaloCluster_v1.h:295
DMTest::links
links
Definition: CLinks_v1.cxx:22
xAOD::CaloCluster_v1::FIRST_ENG_DENS_DigiHSTruth
@ FIRST_ENG_DENS_DigiHSTruth
First Moment in E/V.
Definition: CaloCluster_v1.h:284
xAOD::CaloCluster_v1::CELL_SIG_SAMPLING
@ CELL_SIG_SAMPLING
CaloSample of the cell with the largest |E|/sig.
Definition: CaloCluster_v1.h:164
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
xAOD::CaloCluster_v1::m_samplingPattern
unsigned m_samplingPattern
bit-pattern describing the calo samplings contributing to this cluster
Definition: CaloCluster_v1.h:680
xAOD::CaloCluster_v1::ENG_CALIB_TOT
@ ENG_CALIB_TOT
Calibration Hit energy inside the cluster.
Definition: CaloCluster_v1.h:198
xAOD::CaloCluster_v1::TIME_CALIB_DigiHSTruth
@ TIME_CALIB_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:266
xAOD::CaloCluster_v1::SW_35gam
@ SW_35gam
Definition: CaloCluster_v1.h:96
xAOD::CaloCluster_v1::getSisterCluster
const CaloCluster_v1 * getSisterCluster() const
Get a pointer to a 'sister' cluster (eg the non-calibrated counterpart)
Definition: CaloCluster_v1.cxx:911
xAOD::CaloCluster_v1::lowerCellCountBound
UNSIGNED lowerCellCountBound() const
lower value boundary for cell count
Definition: CaloCluster_v1.h:702
xAOD::CaloCluster_v1::ENG_CALIB_FRAC_EM
@ ENG_CALIB_FRAC_EM
Calibration Hit energy inside the cluster caused by e/gamma/pi0.
Definition: CaloCluster_v1.h:251
xAOD::CaloCluster_v1::ISOLATION
@ ISOLATION
Energy weighted fraction of non-clustered perimeter cells.
Definition: CaloCluster_v1.h:149
xAOD::CaloCluster_v1::setSignalState
bool setSignalState(const State s)
Switch signal state.
Definition: CaloCluster_v1.cxx:440
CaloClusterContainerFwd.h
xAOD::CaloCluster_v1::const_iterator
const_cell_iterator const_iterator
STL-compatible iterators.
Definition: CaloCluster_v1.h:825
xAOD::CaloCluster_v1::ENG_CALIB_FRAC_REST
@ ENG_CALIB_FRAC_REST
Calibration Hit energy inside the cluster caused by other particles.
Definition: CaloCluster_v1.h:256
xAOD::CaloCluster_v1::Tower_fixed_area
@ Tower_fixed_area
Definition: CaloCluster_v1.h:114
xAOD::CaloCluster_v1::inBarrel
bool inBarrel() const
Returns true if at least one clustered cell in the barrel.
Definition: CaloCluster_v1.h:887
xAOD::CaloCluster_v1::size
size_t size() const
size method (forwarded from CaloClusterCellLink obj)
Definition: CaloCluster_v1.cxx:950
xAOD::CaloCluster_v1::setAltE
void setAltE(flt_t)
Set Energy for signal state ALTCALIBRATED.
Definition: CaloCluster_v1.cxx:328
xAOD::CaloCluster_v1::setRawEta
void setRawEta(flt_t)
Set for signal state UNCALIBRATED.
Definition: CaloCluster_v1.cxx:289
xAOD::CaloCluster_v1::DELTA_PHI
@ DELTA_PHI
Angular shower axis deviation ( ) from IP-to-Center.
Definition: CaloCluster_v1.h:129
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_FCAL
@ ENG_CALIB_DEAD_FCAL
Attached Calibration Hit energy in dead material before FCAL, between FCAL and HEC.
Definition: CaloCluster_v1.h:244
xAOD::CaloCluster_v1::calPhi
flt_t calPhi() const
Get in signal state CALIBRATED.
xAOD::CaloCluster_v1::retrieveMoment
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
Definition: CaloCluster_v1.cxx:692
xAOD::CaloCluster_v1::phiSample
float phiSample(const CaloSample sampling) const
Retrieve barycenter in a given sample.
Definition: CaloCluster_v1.cxx:540
xAOD::CaloCluster_v1::Topo_420
@ Topo_420
Definition: CaloCluster_v1.h:105
xAOD::CaloCluster_v1::cbegin
const_iterator cbegin() const
Definition: CaloCluster_v1.h:829
xAOD::CaloCluster_v1::setSisterClusterLink
bool setSisterClusterLink(const ElementLink< CaloClusterContainer_v1 > &sister)
Set a link to a 'sister' cluster (eg the non-calibrated counterpart)
Definition: CaloCluster_v1.cxx:932
xAOD::CaloCluster_v1::FIRST_ENG_DENS
@ FIRST_ENG_DENS
First Moment in E/V.
Definition: CaloCluster_v1.h:146
xAOD::CaloCluster_v1::m_cellLinks
std::unique_ptr< CaloClusterCellLink > m_cellLinks
Unique ptr to cell links.
Definition: CaloCluster_v1.h:686
xAOD::CaloCluster_v1::getClusterPhiSize
unsigned int getClusterPhiSize() const
Get phi size from cluster size.
Definition: CaloCluster_v1.cxx:799
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::CaloCluster_v1::getCellLinks
const CaloClusterCellLink * getCellLinks() const
Get a pointer to the CaloClusterCellLink object (const version)
Definition: CaloCluster_v1.cxx:859
xAOD::CaloCluster_v1::ENG_BAD_CELLS
@ ENG_BAD_CELLS
Total em-scale energy of bad cells in this cluster.
Definition: CaloCluster_v1.h:151
xAOD::CaloCluster_v1::setSamplVarFromAcc
bool setSamplVarFromAcc(const Accessor< std::vector< float > > &acc, const CaloSample sampling, const float value)
Definition: CaloCluster_v1.cxx:498
CaloSampling::endcapPattern
static constexpr unsigned int endcapPattern()
Get the bit-pattern for endcap samplings.
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:84
xAOD::CaloCluster_v1::ENG_BAD_HV_CELLS_DigiHSTruth
@ ENG_BAD_HV_CELLS_DigiHSTruth
Definition: CaloCluster_v1.h:298
xAOD::CaloCluster_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: CaloCluster_v1.cxx:465
xAOD::CaloCluster_v1::reweightCell
void reweightCell(cell_iterator it, const double weight)
Method to reweight a cell in the cluster (Beware: Kinematics not updated!)
Definition: CaloCluster_v1.h:838
xAOD::CaloCluster_v1::cell_end
cell_iterator cell_end()
Definition: CaloCluster_v1.h:822
xAOD::CaloCluster_v1::TILE_CONFIDENCE_LEVEL
@ TILE_CONFIDENCE_LEVEL
Confidence Level of a tile calorimeter cluster to be noise.
Definition: CaloCluster_v1.h:181
xAOD::CaloCluster_v1::rawM
flt_t rawM() const
Get mass in signal state UNCALIBRATED.
xAOD::CaloCluster_v1::UNCALIBRATED
@ UNCALIBRATED
Definition: CaloCluster_v1.h:309
xAOD::CaloCluster_v1::pt
virtual double pt() const
The transverse momentum ( ) of the particle (negative for negative-energy clusters)
Definition: CaloCluster_v1.cxx:247
xAOD::CaloCluster_v1::~CaloCluster_v1
virtual ~CaloCluster_v1()
Destructor.
Definition: CaloCluster_v1.cxx:78
xAOD::CaloCluster_v1::FourMom_t
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
Definition: CaloCluster_v1.h:346
xAOD::CaloClusterContainer_v1
DataVector< CaloCluster_v1 > CaloClusterContainer_v1
Define the cluster container as a simple DataVector.
Definition: CaloCluster_v1.h:51
xAOD::CaloCluster_v1::ENG_CALIB_EME0
@ ENG_CALIB_EME0
Calibration Hit energy inside the cluster endcap presampler.
Definition: CaloCluster_v1.h:223
xAOD::CaloCluster_v1::N_BAD_CELLS_CORR_DigiHSTruth
@ N_BAD_CELLS_CORR_DigiHSTruth
Definition: CaloCluster_v1.h:289
xAOD::CaloCluster_v1::NSTATES
@ NSTATES
Definition: CaloCluster_v1.h:312
xAOD::CaloCluster_v1::ENG_FRAC_EM
@ ENG_FRAC_EM
Energy fraction in EM calorimeters.
Definition: CaloCluster_v1.h:142
xAOD::CaloCluster_v1::begin
const_iterator begin() const
Definition: CaloCluster_v1.h:827
CaloRecoStatus.h
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_M
@ ENG_CALIB_DEAD_M
Attached Calibration Hit energy in dead material with medium matching (Angle < 0.5).
Definition: CaloCluster_v1.h:214
xAOD::CaloCluster_v1::setUpperCount
ncells_store_t::value_type setUpperCount(ncells_store_t::value_type cdata, UNSIGNED cupper)
Definition: CaloCluster_v1.h:700
xAOD::CaloCluster_v1::sampVarIdx
unsigned sampVarIdx(const CaloSample) const
Definition: CaloCluster_v1.h:871
xAOD::CaloCluster_v1::N_BAD_CELLS_DigiHSTruth
@ N_BAD_CELLS_DigiHSTruth
number of bad cells
Definition: CaloCluster_v1.h:288
xAOD::CaloCluster_v1::recoStatus
CaloRecoStatus & recoStatus()
Accesssor to CaloRecoStatus (non-const)
Definition: CaloCluster_v1.h:843
xAOD::CaloCluster_v1::cell_cend
const_cell_iterator cell_cend() const
Definition: CaloCluster_v1.h:806
xAOD::CaloCluster_v1::badChannelList
const CaloClusterBadChannelList & badChannelList() const
Definition: CaloCluster_v1.cxx:279
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_HEC0
@ ENG_CALIB_DEAD_HEC0
Attached Calibration Hit energy in dead material between EME3 and HEC0.
Definition: CaloCluster_v1.h:241
xAOD::CaloCluster_v1::altE
flt_t altE() const
Get Energy in signal state ALTCALIBRATED.
xAOD::CaloCluster_v1::N_BAD_HV_CELLS_DigiHSTruth
@ N_BAD_HV_CELLS_DigiHSTruth
number of cells with bad HV
Definition: CaloCluster_v1.h:299
xAOD::CaloCluster_v1::setNumberCellsInSampling
void setNumberCellsInSampling(CaloSampling::CaloSample samp, int ncells, bool isInnerWheel=false)
Set the number of cells in a sampling layer.
Definition: CaloCluster_v1.cxx:744
xAOD::CaloCluster_v1::flt_t
float flt_t
Definition: CaloCluster_v1.h:67
xAOD::CaloCluster_v1::SW_55ele
@ SW_55ele
Definition: CaloCluster_v1.h:91
xAOD::CaloCluster_v1::FIRST_PHI_DigiHSTruth
@ FIRST_PHI_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:267
xAOD::CaloCluster_v1::AVG_LAR_Q_DigiHSTruth
@ AVG_LAR_Q_DigiHSTruth
Definition: CaloCluster_v1.h:296
xAOD::CaloCluster_v1::PHI_DigiHSTruth
@ PHI_DigiHSTruth
phi moment I would like to have
Definition: CaloCluster_v1.h:261
xAOD::CaloCluster_v1::ENERGY_DigiHSTruth
@ ENERGY_DigiHSTruth
First Moment in .
Definition: CaloCluster_v1.h:259
xAOD::CaloCluster_v1::AVG_TILE_Q
@ AVG_TILE_Q
Sum(E_cell_Tile^2 Q_cell_Tile)/Sum(E_cell_Tile^2)
Definition: CaloCluster_v1.h:168
xAOD::CaloCluster_v1::ENG_BAD_CELLS_DigiHSTruth
@ ENG_BAD_CELLS_DigiHSTruth
Definition: CaloCluster_v1.h:287
xAOD::CaloCluster_v1::SW_35Econv
@ SW_35Econv
Definition: CaloCluster_v1.h:100
xAOD::CaloCluster_v1::setCalE
void setCalE(flt_t)
Set Energy for signal state CALIBRATED.
Definition: CaloCluster_v1.cxx:306
xAOD::CaloCluster_v1::PHICALOFRAME
@ PHICALOFRAME
Phi in the calo frame (for egamma)
Definition: CaloCluster_v1.h:191
xAOD::CaloCluster_v1::OOC_WEIGHT_DigiHSTruth
@ OOC_WEIGHT_DigiHSTruth
Out-of-cluster weight (E_ooc/E_w)
Definition: CaloCluster_v1.h:302
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_TILEG3
@ ENG_CALIB_DEAD_TILEG3
Attached Calibration Hit energy in dead material before scintillator.
Definition: CaloCluster_v1.h:235
xAOD::CaloCluster_v1::SECOND_R_DigiHSTruth
@ SECOND_R_DigiHSTruth
Second Moment in .
Definition: CaloCluster_v1.h:269
xAOD::CaloCluster_v1::altPhi
flt_t altPhi() const
Get in signal state ALTCALIBRATED.
xAOD::CaloCluster_v1::FIRST_ETA
@ FIRST_ETA
First Moment in .
Definition: CaloCluster_v1.h:125
xAOD::CaloCluster_v1::iterator
cell_iterator iterator
Definition: CaloCluster_v1.h:826
xAOD::CaloCluster_v1::cell_iterator
CaloClusterCellLink::iterator cell_iterator
Iterator of the underlying CaloClusterCellLink (non-const version)
Definition: CaloCluster_v1.h:819
xAOD::CaloCluster_v1::eta0
flt_t eta0() const
Returns raw of cluster seed.
xAOD::CaloCluster_v1::ENG_FRAC_EM_DigiHSTruth
@ ENG_FRAC_EM_DigiHSTruth
Energy fraction in EM calorimeters.
Definition: CaloCluster_v1.h:281
xAOD::CaloCluster_v1::DELTA_THETA
@ DELTA_THETA
Angular shower axis deviation ( ) from IP-to-Center.
Definition: CaloCluster_v1.h:131
xAOD::CaloCluster_v1::eSample
float eSample(const CaloSample sampling) const
Definition: CaloCluster_v1.cxx:514
xAOD::CaloCluster_v1::operator=
CaloCluster_v1 & operator=(const xAOD::CaloCluster_v1 &other)
Assignment operator.
Definition: CaloCluster_v1.cxx:53
xAOD::CaloCluster_v1::addCellLink
void addCellLink(CaloClusterCellLink *CCCL)
Definition: CaloCluster_v1.h:724
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_TOT
@ ENG_CALIB_DEAD_TOT
Attached Calibration Hit energy in dead material.
Definition: CaloCluster_v1.h:227
xAOD::CaloCluster_v1::end
const_iterator end() const
Definition: CaloCluster_v1.h:828
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
xAOD::CaloCluster_v1::setClusterSize
void setClusterSize(const ClusterSize)
Get cluster size.
Definition: CaloCluster_v1.cxx:369
xAOD::CaloCluster_v1::extractLowerCount
UNSIGNED extractLowerCount(ncells_store_t::value_type cdata) const
extract lower cell count from data
Definition: CaloCluster_v1.h:696
xAOD::CaloCluster_v1::rawPhi
flt_t rawPhi() const
Get in signal state UNCALIBRATED.
xAOD::CaloCluster_v1::ALTCALIBRATED
@ ALTCALIBRATED
Definition: CaloCluster_v1.h:311
xAOD::CaloCluster_v1::SIGNIFICANCE
@ SIGNIFICANCE
Cluster significance.
Definition: CaloCluster_v1.h:160
xAOD::CaloCluster_v1::PHI2CALOFRAME
@ PHI2CALOFRAME
Phi of sampling 2 in the calo frame (for egamma)
Definition: CaloCluster_v1.h:195
xAOD::CaloCluster_v1::HAD_WEIGHT_DigiHSTruth
@ HAD_WEIGHT_DigiHSTruth
Hadronic weight (E_w/E_em)
Definition: CaloCluster_v1.h:301
xAOD::CaloCluster_v1::N_BAD_HV_CELLS
@ N_BAD_HV_CELLS
number of cells with bad HV
Definition: CaloCluster_v1.h:171
xAOD::CaloCluster_v1::getOwnCellLinks
CaloClusterCellLink * getOwnCellLinks()
Get a pointer to the owned CaloClusterCellLink object (non-const version)
Definition: CaloCluster_v1.h:765
xAOD::CaloCluster_v1::DELTA_ALPHA_DigiHSTruth
@ DELTA_ALPHA_DigiHSTruth
Definition: CaloCluster_v1.h:273
xAOD::CaloCluster_v1::extractUpperCount
UNSIGNED extractUpperCount(ncells_store_t::value_type cdata) const
extract upper cell count from data
Definition: CaloCluster_v1.h:697
xAOD::CaloCluster_v1::addCell
bool addCell(const unsigned index, const double weight)
Method to add a cell to the cluster (Beware: Kinematics not updated!)
Definition: CaloCluster_v1.h:774
xAOD::CaloCluster_v1::cell_end
const_cell_iterator cell_end() const
Definition: CaloCluster_v1.h:816
xAOD::CaloCluster_v1::DELTA_THETA_DigiHSTruth
@ DELTA_THETA_DigiHSTruth
Definition: CaloCluster_v1.h:272
xAOD::CaloCluster_v1::energyBE
float energyBE(const unsigned layer) const
Get the energy in one layer of the EM Calo.
Definition: CaloCluster_v1.cxx:623
xAOD::CaloCluster_v1::setPhi
bool setPhi(const CaloSample sampling, const float phi)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
Definition: CaloCluster_v1.cxx:549
xAOD::CaloCluster_v1::BAD_CELLS_CORR_E_DigiHSTruth
@ BAD_CELLS_CORR_E_DigiHSTruth
Definition: CaloCluster_v1.h:290
xAOD::CaloCluster_v1::DM_WEIGHT_DigiHSTruth
@ DM_WEIGHT_DigiHSTruth
Dead-material weight (E_dm/E_ooc)
Definition: CaloCluster_v1.h:303
xAOD::CaloCluster_v1::phisize
float phisize(const CaloSample sampling) const
Returns cluster size in for a given sampling.
Definition: CaloCluster_v1.cxx:609
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_L
@ ENG_CALIB_DEAD_L
Attached Calibration Hit energy in dead material with loose matching (Angle < 1.0).
Definition: CaloCluster_v1.h:211
xAOD::CaloCluster_v1::toPersistent
void toPersistent()
Function preparing the object to be persistified.
Definition: CaloCluster_v1.cxx:893
xAOD::CaloCluster_v1::LATERAL
@ LATERAL
Normalized lateral moment.
Definition: CaloCluster_v1.h:140
xAOD::CaloCluster_v1::altEta
flt_t altEta() const
Get in signal state ALTCALIBRATED.
xAOD::CaloCluster_v1::setEtamax
bool setEtamax(const CaloSample sampling, const float etaMax)
Set the eta of the cell with the highest energy in a particular sampling.
Definition: CaloCluster_v1.cxx:577
xAOD::CaloCluster_v1::cell_cbegin
const_cell_iterator cell_cbegin() const
Definition: CaloCluster_v1.h:798
xAOD::CaloCluster_v1::SW_softe
@ SW_softe
Definition: CaloCluster_v1.h:103
xAOD::CaloCluster_v1::ENG_FRAC_MAX_DigiHSTruth
@ ENG_FRAC_MAX_DigiHSTruth
Energy fraction of hottest cell.
Definition: CaloCluster_v1.h:282
xAOD::CaloCluster_v1::SECOND_TIME
@ SECOND_TIME
Second moment of cell time distribution in cluster.
Definition: CaloCluster_v1.h:183
xAOD::CaloCluster_v1::DELTA_ALPHA
@ DELTA_ALPHA
Angular shower axis deviation ( ) from IP-to-Center.
Definition: CaloCluster_v1.h:133
xAOD::CaloCluster_v1::ENG_CALIB_FRAC_HAD
@ ENG_CALIB_FRAC_HAD
Calibration Hit energy inside the cluster caused by charged pi+ and pi-.
Definition: CaloCluster_v1.h:254
xAOD::CaloCluster_v1::CELL_SIGNIFICANCE
@ CELL_SIGNIFICANCE
Cell significance = E/sig of the cell with the largest |E|/sig.
Definition: CaloCluster_v1.h:162
xAOD::CaloCluster_v1::setEtasize
bool setEtasize(const CaloSample sampling, const float etaSize)
Set the cluster size in for a given sampling.
Definition: CaloCluster_v1.cxx:604
xAOD::CaloCluster_v1::ENG_CALIB_OUT_L
@ ENG_CALIB_OUT_L
Attached Calibration Hit energy outside clusters but inside the calorimeter with loose matching (Angl...
Definition: CaloCluster_v1.h:199
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_EME0
@ ENG_CALIB_DEAD_EME0
Attached Calibration Hit energy in dead material before EME0, between EME0 and EME1.
Definition: CaloCluster_v1.h:238
xAOD::CaloCluster_v1::ENG_CALIB_OUT_T
@ ENG_CALIB_OUT_T
Attached Calibration Hit energy outside clusters but inside the calorimeter with tight matching (Angl...
Definition: CaloCluster_v1.h:207
xAOD::CaloCluster_v1::BAD_CELLS_CORR_E
@ BAD_CELLS_CORR_E
Energy of bad cells with energy density average correction applied.
Definition: CaloCluster_v1.h:156
xAOD::CaloCluster_v1::setEta
bool setEta(const CaloSample sampling, const float eta)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
Definition: CaloCluster_v1.cxx:534
xAOD::CaloCluster_v1::SW_35ele
@ SW_35ele
Definition: CaloCluster_v1.h:92
xAOD::CaloCluster_v1::type
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
Definition: CaloCluster_v1.cxx:489
xAOD::CaloClusterDetails::defaultErrorValue
constexpr float defaultErrorValue
the default error code to return in case of error
Definition: CaloClusterDetails.h:47
xAOD::CaloCluster_v1::hasSampling
bool hasSampling(const CaloSample s) const
Checks if certain smapling contributes to cluster.
Definition: CaloCluster_v1.h:882
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition: ObjectType.h:32
xAOD::CaloCluster_v1::ETACALOFRAME
@ ETACALOFRAME
Eta in the calo frame (for egamma)
Definition: CaloCluster_v1.h:190
xAOD::CaloCluster_v1::AVG_TILE_Q_DigiHSTruth
@ AVG_TILE_Q_DigiHSTruth
Definition: CaloCluster_v1.h:297
xAOD::CaloCluster_v1::N_BAD_CELLS_CORR
@ N_BAD_CELLS_CORR
Number of bad cells with energy density average correction applied.
Definition: CaloCluster_v1.h:154
xAOD::CaloCluster_v1::LONGITUDINAL
@ LONGITUDINAL
Normalized longitudinal moment.
Definition: CaloCluster_v1.h:141
xAOD::CaloCluster_v1::setAltPhi
void setAltPhi(flt_t)
Set for signal state ALTCALIBRATED.
Definition: CaloCluster_v1.cxx:338
xAOD::CaloCluster_v1::const_cell_iterator
CaloClusterCellLink::const_iterator const_cell_iterator
Iterator of the underlying CaloClusterCellLink (explicitly const version)
Definition: CaloCluster_v1.h:796
xAOD::CaloCluster_v1::samplingPattern
unsigned samplingPattern() const
Access to sampling pattern (one bit per sampling) (Method may be removed later)
Definition: CaloCluster_v1.h:867
xAOD::CaloCluster_v1::altM
flt_t altM() const
Get mass in signal state ALTCALIBRATED.
xAOD::CaloCluster_v1::NVERTEX_FRACTION
@ NVERTEX_FRACTION
slightly updated vertex fraction more pile up independent (similar to nJVF)
Definition: CaloCluster_v1.h:188
xAOD::CaloCluster_v1::N_BAD_CELLS
@ N_BAD_CELLS
number of bad cells
Definition: CaloCluster_v1.h:152
xAOD::CaloCluster_v1::ENG_FRAC_CORE_DigiHSTruth
@ ENG_FRAC_CORE_DigiHSTruth
Definition: CaloCluster_v1.h:283
xAOD::CaloCluster_v1::rapidity
virtual double rapidity() const
The true rapidity (y) of the particle.
Definition: CaloCluster_v1.cxx:461
CaloRecoStatus
reconstruction status indicator
Definition: CaloRecoStatus.h:12
xAOD::CaloCluster_v1::e
virtual double e() const
The total energy of the particle.
Definition: CaloCluster_v1.cxx:265
xAOD::CaloCluster_v1::CENTER_Y
@ CENTER_Y
Cluster Centroid ( )
Definition: CaloCluster_v1.h:135
xAOD::CaloCluster_v1::cend
const_iterator cend() const
Definition: CaloCluster_v1.h:830
xAOD::CaloCluster_v1::ENG_CALIB_DEAD_EMB0
@ ENG_CALIB_DEAD_EMB0
Attached Calibration Hit energy in dead material before EMB0, between EMB0 and EMB1.
Definition: CaloCluster_v1.h:230
xAOD::CaloCluster_v1::UNKNOWN
@ UNKNOWN
Definition: CaloCluster_v1.h:308
xAOD::CaloCluster_v1::CENTER_X_DigiHSTruth
@ CENTER_X_DigiHSTruth
Cluster Centroid ( )
Definition: CaloCluster_v1.h:274
xAOD::CaloCluster_v1::setM
void setM(flt_t)
Set Mass for the current signal state.
Definition: CaloCluster_v1.cxx:424
xAOD::CaloCluster_v1::ENG_POS
@ ENG_POS
Total positive Energy of this cluster.
Definition: CaloCluster_v1.h:159
xAOD::CaloCluster_v1::setRawPhi
void setRawPhi(flt_t)
Set for signal state UNCALIBRATED.
Definition: CaloCluster_v1.cxx:294
CaloClusterBadChannelData.h
xAOD::CaloCluster_v1::CELL_SIGNIFICANCE_DigiHSTruth
@ CELL_SIGNIFICANCE_DigiHSTruth
Definition: CaloCluster_v1.h:294
xAOD::CaloCluster_v1::numberCellsInSampling
int numberCellsInSampling(const CaloSample samp, bool isInnerWheel=false) const
Returns number of cells in given sampling.
Definition: CaloCluster_v1.cxx:756
xAOD::CaloCluster_v1::BADLARQ_FRAC
@ BADLARQ_FRAC
Energy fraction of LAr cells with quality larger than a given cut.
Definition: CaloCluster_v1.h:158