|
ATLAS Offline Software
|
Go to the documentation of this file.
97 "ElectronPhotonSelectorTools/offline/mc15_20150712/PhotonIsEMLooseSelectorCutDefs.conf");
99 Fatal(
"MyFunction",
"Failed to initialize PhotonLooseIsEMSelector ");
105 "ElectronPhotonSelectorTools/offline/mc15_20150712/PhotonIsEMTightSelectorCutDefs.conf");
107 Fatal(
"MyFunction",
"Failed to initialize PhotonTightIsEMSelector ");
109 if (
sc.isFailure()) {
110 Warning(
"MyFunction",
"Failed to set some properties");
119 return StatusCode::SUCCESS;
135 return StatusCode::SUCCESS;
144 sc =
evtStore()->retrieve(evtShape,
"HIEventShape");
145 if (
sc.isFailure()) {
147 return StatusCode::FAILURE;
153 for (
int i = 0;
i <
size;
i++) {
155 if (
sh->layer() == 21 ||
sh->layer() == 22 ||
sh->layer() == 23) {
164 sc =
evtStore()->retrieve(photons,
"Photons");
165 if (
sc.isFailure()) {
167 return StatusCode::FAILURE;
175 for (; photons_itr != photons_end; ++photons_itr) {
176 float pt = (*photons_itr)->pt() * 1
e-3;
177 float eta = (*photons_itr)->caloCluster()->etaBE(2);
178 float phi = (*photons_itr)->phi();
193 if (
pt < 20)
continue;
204 float etcone20 = etcone20Acc(**photons_itr) * 1
e-3;
205 float etcone30 = etcone30Acc(**photons_itr) * 1
e-3;
206 float etcone40 = etcone40Acc(**photons_itr) * 1
e-3;
253 float reta = RetaAcc(**photons_itr);
254 float rphi = RphiAcc(**photons_itr);
255 float weta2 = weta2Acc(**photons_itr);
261 float rhad = RhadAcc(**photons_itr);
262 float rhad1 = Rhad1Acc(**photons_itr);
263 float wtots1 = wtots1Acc(**photons_itr);
264 float fracs1 = fracs1Acc(**photons_itr);
269 float deltae = DeltaEAcc(**photons_itr) * 1
e-3;
270 float eratio = EratioAcc(**photons_itr);
271 float f1 = f1Acc(**photons_itr);
273 if (fabs(
eta) < 1.37) {
284 if (fabs(
eta) > 1.52) {
342 return StatusCode::SUCCESS;
400 return StatusCode::SUCCESS;
405 std::string path0 =
"HeavyIon/Photons/Basic";
432 std::string path1 =
"HeavyIon/Photons/ShowerShapes";
571 std::string path2 =
"HeavyIon/Photons/Isolation";
virtual StatusCode initialize()
AlgTool initialize method.
setCharge setNTRTHiThresholdHits eratio
const unsigned int PhotonTight
Tight photon selection.
Const iterator class for DataVector/DataList.
Scalar phi() const
phi method
const unsigned int PhotonLoose
Loose photon selection.
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Interface class for the HI reconstruction EDM.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual asg::AcceptData accept(const xAOD::IParticle *part) const
Accept with generic interface.
@ etcone20
Calorimeter isolation.
virtual void Fill(const double &x, const double &y) override
::StatusCode StatusCode
StatusCode definition for legacy code.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const T * at(size_type n) const
Access an element, as an rvalue.
Helper class to provide constant type-safe access to aux data.
setBGCode setTAP setLVL2ErrorBits bool
static TH2D_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
size_type size() const noexcept
Returns the number of elements in the collection.
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...