Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • andesai/calypso
  • sazhang/calypso
  • yuxu/calypso
  • wfilali/calypso
  • bewilson/calypso
  • ovaldesm/calypso
  • xai/calypso
  • ymaruya/calypso
  • anburger/calypso
  • seley/calypso
  • sudatta/calypso
  • notarann/calypso
  • hhjelm/calypso
  • tarai/calypso
  • lmccoy/calypso
  • agarabag/calypso
  • fneuhaus/calypso
  • vlian/calypso
  • yechou/calypso
  • vlian/calypso-official
  • fasermc/calypso
  • schsu/calypso
  • maprim/calypso
  • cantel/calypso
  • jwspence/calypso
  • diwang/calypso
  • ccavanag/calypso
  • gwilliam/calypso
  • asalman/calypso
  • toinada/calypso
  • jboyd/calypso
  • abarkley/calypso
  • yafik/calypso
  • cpandini/calypso
  • tboeckh/calypso
  • sshively/calypso
  • keli/calypso
  • dfellers/calypso
  • torrence/calypso
  • coccaro/calypso
  • dcasper/calypso
  • faser/calypso
42 results
Show changes
Showing
with 3178 additions and 0 deletions
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
// CaloIntersect.h
///////////////////////////////////////////////////////////////////
// (c) ATLAS Detector software
///////////////////////////////////////////////////////////////////
#ifndef CALOREADOUTGEOMETRY_CALOINTERSECT_H
#define CALOREADOUTGEOMETRY_CALOINTERSECT_H
namespace CaloDD {
/** @class CaloIntersect
class to run intersection tests
@author Grant Gorfine
*/
class CaloIntersect {
public:
enum IntersectState {OUT = 0, BOUNDARY = 1, IN = 2};
CaloIntersect(IntersectState state = OUT);
bool in() const; // Definitely in
bool out() const; // Definitely out
bool nearBoundary() const; // Near boundary within tolerences
bool mayIntersect() const; // in() || nearBoundary()
operator bool() const; // Equivalent to mayIntersect().
void setIn();
void setOut();
void setNearBoundary();
private:
IntersectState m_state;
};
inline CaloIntersect::CaloIntersect(IntersectState state)
: m_state(state)
{}
inline bool CaloIntersect::in() const
{
return (m_state == IN);
}
inline bool CaloIntersect::out() const
{
return (m_state == OUT);
}
inline bool CaloIntersect::nearBoundary() const
{
return (m_state == BOUNDARY);
}
inline bool CaloIntersect::mayIntersect() const
{
return (m_state == BOUNDARY || m_state == IN);
}
inline CaloIntersect::operator bool() const
{
return mayIntersect();
}
inline void CaloIntersect::setIn()
{
m_state = IN;
}
inline void CaloIntersect::setOut()
{
m_state = OUT;
}
inline void CaloIntersect::setNearBoundary()
{
m_state = BOUNDARY;
}
} // namespace CaloDD
#endif //CALOREADOUTGEOMETRY_CALOINTERSECT_H
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#include "CaloReadoutGeometry/CaloCommonItems.h"
namespace CaloDD {
CaloCommonItems::CaloCommonItems(const FaserDetectorID* const idHelper)
: AthMessaging("CaloDetectorElement"),
m_idHelper(idHelper),
m_mutex{}
{}
} // End namespace CaloDD
This diff is collapsed.
This diff is collapsed.
Calorimeter/CaloDetDescr/EcalGeoModel