ant
A2 ant: class-based analysis framework
ant Namespace Reference

Namespaces

 analysis
 
 calibration
 
 detail
 
 expconfig
 
 logger
 
 math
 
 mc
 
 MC
 
 progs
 
 reconstruct
 
 std_ext
 
 test
 
 TH_ext
 
 unpacker
 

Classes

struct  Array2D
 
class  Array2D_TH2D
 
struct  Array2DBase
 
class  AxisSettings
 
class  BinSettings
 
class  bitflag
 
class  BrowseHistogramsCanvas
 
class  Calibration
 
class  canvas
 The canvas class. More...
 
struct  CBESum_Check
 
struct  Channel_t
 The Channel_t struct enumerates the different channel types. More...
 
struct  channelFitResult_t
 
struct  ClippedInterpolatorWrapper
 
struct  ClusterDetector_t
 
struct  ColorPalette
 
struct  ConvergencePlot
 
struct  Detector_t
 The Detector_t struct is the minimal base class for all detectors. More...
 
class  DetectorPlots
 
struct  DisplayClustering
 
struct  drawoption
 
struct  endcanvas
 
struct  endrow
 
class  ExpConfig
 
class  ExtractResolutions
 
class  Fits
 
struct  ForLoopCounter
 
class  GitInfo
 
struct  GraphExt
 
struct  hadd
 
struct  histtools
 
struct  hstack
 
struct  hstack_Menu
 
struct  InterpolatedPulls
 
class  Interpolator2D
 
class  interval
 Interval class template. More...
 
struct  interval2D
 
struct  KinfitExtract
 
struct  LambdaExec
 
struct  LogicalChannel_t
 The LogicalChannel_t struct uniquely identifies detector element within setup. More...
 
struct  LorentzVec
 A Lorentz vector (x,y,z,E), diag(-1,-1,-1, 1) More...
 
struct  Math
 
class  matrixstack
 
struct  MemoryPool
 
struct  MultiChannelFitResult_t
 
class  Omega
 
class  OptionsList
 
struct  padoption
 
class  ParticleTypeDatabase
 
class  ParticleTypeTreeDatabase
 
struct  PeakFitResult_t
 
class  Pi0
 
class  pi0_true_calib
 
class  PiecewiseInterval
 
struct  PlotTimings
 
struct  ProgressCounter
 
struct  Range_t
 
class  RawFileReader
 The RawFileReader class. More...
 
class  Reconstruct
 
struct  Reconstruct_traits
 
struct  ReconstructHook
 The ReconstructHook struct. More...
 
struct  root_drawable_traits
 
struct  samepad_t
 
struct  SavitzkyGolay
 
struct  stepper
 
class  stream_TBuffer
 
class  SymmetricPi0
 
struct  TaggerDetector_t
 
struct  TAntHeader
 The TAntHeader class holds information about the histogram file. More...
 
struct  TAPSEnergy_Check
 
class  TBinGraphCanvas
 
struct  TCalibrationData
 The TCalibrationData struct contains one calibration iteration. More...
 
struct  TCandidate
 
struct  TCluster
 
struct  TClusterHit
 
struct  TDAQError
 
struct  TDetectorReadHit
 
struct  TEvent
 
struct  TEventData
 
class  TFSum
 
class  TH2CB
 The TH2CB class. More...
 
class  TH2Crystals
 Base class for A2 Calorimeter display classes. More...
 
class  TH2DrawTool
 
struct  TH2Ext
 
class  TH2TAPS
 
struct  TID
 
struct  TimeDependentCalibration
 
struct  TKeyValue
 
struct  tmpfile_t
 A tmpfile class which cleans up after itself. More...
 
struct  tmpfolder_t
 A tmpfolder class which deletes the whole directory on destroy. More...
 
struct  TParticle
 Base TParticle class. More...
 
class  Tree
 
struct  TSimpleParticle
 Base TSimpleParticle class. More...
 
struct  TSlowControl
 
struct  TTaggerHit
 
struct  TTarget
 
struct  TTree_drawable
 
struct  TTrigger
 
struct  TUnpackerMessage
 
struct  TwoPi0_MCSmearing_Tool
 
class  Unpacker
 The Unpacker class encapsulates the interface for unpacking raw data. More...
 
class  UnpackerA2Geant
 The UnpackerA2Geant class. More...
 
class  UnpackerA2GeantConfig
 The UnpackerA2GeantConfig class provides stuff the A2Geant unpacker needs. More...
 
class  UnpackerAcqu
 
class  UnpackerAcquConfig
 
class  UnpackerAcquFileFormat
 
struct  Updateable_traits
 The Updateable_traits class used by the UpdateableManager. More...
 
class  VarAxisSettings
 
class  VarBinSettings
 
struct  vec2
 
struct  vec3
 
class  WrapTFile
 
class  WrapTFileInput
 
class  WrapTFileOutput
 
class  WrapTTree
 The WrapTTree struct simplifies TTree handling in physics classes. More...
 

Typedefs

using padmodifier_t = std::function< void(TVirtualPad *)>
 
using IntervalD = interval< double >
 Interval of doubles. More...
 
using IntervalI = interval< int >
 Interval of ints. More...
 
using OptionsPtr = std::shared_ptr< const OptionsList >
 
using ParticleTypeTree = std::shared_ptr< Tree< const ParticleTypeDatabase::Type & > >
 
typedef double radian_t
 
typedef double mev_t
 
typedef double ns_t
 
typedef unsigned int index_t
 
typedef unsigned int clustersize_t
 
typedef int element_index_t
 
using TClusterHitList = std::vector< TClusterHit >
 
using TClusterList = std_ext::shared_ptr_container< TCluster >
 
using TCandidateList = std_ext::shared_ptr_container< TCandidate >
 
using TCandidatePtr = std_ext::cc_shared_ptr< TCandidate >
 
using TCandidatePtrList = std::vector< TCandidatePtr >
 
using TClusterPtr = std_ext::cc_shared_ptr< TCluster >
 
using TClusterPtrList = std::vector< TClusterPtr >
 
using TParticlePtr = std_ext::cc_shared_ptr< TParticle >
 
using TParticleList = std::vector< TParticlePtr >
 
using TParticleTree_t = Tree< TParticlePtr >::node_t
 

Functions

template<typename canvas >
canvasoperator<< (canvas &&c, const MCClusterECorr::CBTAPS_t &cbtaps)
 
template<typename canvas >
canvasoperator<< (canvas &&c, const MCEnergyThresholds::CBTAPS_t &cbtaps)
 
istream & operator>> (istream &in, BinSettings &t)
 
ostream & operator<< (ostream &out, const BinSettings &b)
 
ostream & operator<< (ostream &out, const VarBinSettings &b)
 
template<typename Enum , std::size_t n>
constexpr std::enable_if< std::is_enum< Enum >::value, bitflag< Enum, n > >::type operator| (Enum left, const bitflag< Enum, n > &right)
 
template<typename Enum , std::size_t n>
constexpr std::enable_if< std::is_enum< Enum >::value, bitflag< Enum, n > >::type operator & (Enum left, const bitflag< Enum, n > &right)
 
template<typename Enum , std::size_t n>
constexpr std::enable_if< std::is_enum< Enum >::value, bitflag< Enum, n > >::type operator^ (Enum left, const bitflag< Enum, n > &right)
 
ostream & operator<< (ostream &stream, const ClippedInterpolatorWrapper &o)
 
ostream & operator<< (ostream &stream, const ClippedInterpolatorWrapper::boundsCheck_t &o)
 
ostream & operator<< (ostream &stream, const Detector_t::Any_t &o)
 
Detector_t::ElementFlags_t operator| (Detector_t::ElementFlag_t t1, Detector_t::ElementFlag_t t2)
 
Detector_t::Any_t operator| (Detector_t::Type_t t1, Detector_t::Type_t t2)
 
template<typename GetVal_t , typename SetVal_t , typename GetNeighbours_t , typename GetValid_t >
void floodFillAverages (int N, GetVal_t getVal, SetVal_t setVal, GetNeighbours_t getNeighbours, GetValid_t getValid)
 
template<typename T >
interval< T > intersect (const interval< T > &a, const interval< T > &b)
 
template<typename T >
step (const ant::interval< T > i, const unsigned n, const unsigned p)
 
template<typename T >
Range_t< T > Range (const ant::interval< T > &i, const unsigned n) noexcept
 
ostream & operator<< (ostream &stream, const ParticleTypeDatabase::Type &particle_type)
 
bool operator< (const ant::ParticleTypeDatabase::Type &a, const ant::ParticleTypeDatabase::Type &b)
 
double GetMaxPos (TH1 *hist)
 
template<typename T >
void FixParameters (TF1 *func, const T &pars)
 
template<typename T >
void UnFixParameters (TF1 *func, const T &pars)
 
LorentzVec Boost (const LorentzVec &lv, const vec3 &boost)
 Boost a Lorentz vector. More...
 
ostream & operator<< (ostream &s, const hstack &o)
 
ostream & operator<< (ostream &s, const TAntHeader &o)
 
ostream & operator<< (ostream &s, const TEvent &o)
 
ostream & operator<< (ostream &s, const TEventData &o)
 
std::ostream & operator<< (std::ostream &stream, const TParticle &o)
 

Variables

const endcanvas endc = endcanvas()
 
const endrow endr = endrow()
 
const samepad_t samepad = samepad_t()
 

Typedef Documentation

◆ clustersize_t

typedef unsigned int ant::clustersize_t

◆ element_index_t

typedef int ant::element_index_t

◆ index_t

typedef unsigned int ant::index_t

◆ IntervalD

using ant::IntervalD = typedef interval<double>

Interval of doubles.

◆ IntervalI

using ant::IntervalI = typedef interval<int>

Interval of ints.

◆ mev_t

typedef double ant::mev_t

◆ ns_t

typedef double ant::ns_t

◆ OptionsPtr

using ant::OptionsPtr = typedef std::shared_ptr<const OptionsList>

◆ padmodifier_t

using ant::padmodifier_t = typedef std::function<void(TVirtualPad*)>

◆ ParticleTypeTree

using ant::ParticleTypeTree = typedef std::shared_ptr<Tree<const ParticleTypeDatabase::Type&> >

◆ radian_t

typedef double ant::radian_t

◆ TCandidateList

◆ TCandidatePtr

◆ TCandidatePtrList

using ant::TCandidatePtrList = typedef std::vector<TCandidatePtr>

◆ TClusterHitList

typedef std::vector< TClusterHit > ant::TClusterHitList

◆ TClusterList

◆ TClusterPtr

◆ TClusterPtrList

using ant::TClusterPtrList = typedef std::vector<TClusterPtr>

◆ TParticleList

using ant::TParticleList = typedef std::vector<TParticlePtr>

◆ TParticlePtr

◆ TParticleTree_t

using ant::TParticleTree_t = typedef Tree<TParticlePtr>::node_t

Function Documentation

◆ Boost()

LorentzVec ant::Boost ( const LorentzVec lv,
const vec3 boost 
)
inline

Boost a Lorentz vector.

Parameters
lvThe Lorentz vector to boost
boostthe boost vector
Returns
boosted Lorentz vector

◆ FixParameters()

template<typename T >
void ant::FixParameters ( TF1 *  func,
const T &  pars 
)

◆ floodFillAverages()

template<typename GetVal_t , typename SetVal_t , typename GetNeighbours_t , typename GetValid_t >
void ant::floodFillAverages ( int  N,
GetVal_t  getVal,
SetVal_t  setVal,
GetNeighbours_t  getNeighbours,
GetValid_t  getValid 
)
inline

◆ GetMaxPos()

double ant::GetMaxPos ( TH1 *  hist)

◆ intersect()

template<typename T >
interval<T> ant::intersect ( const interval< T > &  a,
const interval< T > &  b 
)

◆ operator &()

template<typename Enum , std::size_t n>
constexpr std::enable_if<std::is_enum<Enum>::value, bitflag<Enum, n> >::type ant::operator& ( Enum  left,
const bitflag< Enum, n > &  right 
)

◆ operator<()

bool ant::operator< ( const ant::ParticleTypeDatabase::Type a,
const ant::ParticleTypeDatabase::Type b 
)
inline

◆ operator<<() [1/13]

std::ostream & ant::operator<< ( ostream &  stream,
const ParticleTypeDatabase::Type particle_type 
)

◆ operator<<() [2/13]

ostream& ant::operator<< ( std::ostream &  stream,
const Detector_t::Any_t o 
)

◆ operator<<() [3/13]

ostream& ant::operator<< ( std::ostream &  s,
const TAntHeader o 
)

◆ operator<<() [4/13]

std::ostream& ant::operator<< ( std::ostream &  stream,
const TParticle o 
)

◆ operator<<() [5/13]

ostream& ant::operator<< ( std::ostream &  s,
const TEventData o 
)

◆ operator<<() [6/13]

ostream& ant::operator<< ( std::ostream &  s,
const TEvent o 
)

◆ operator<<() [7/13]

ostream& ant::operator<< ( std::ostream &  out,
const BinSettings b 
)

◆ operator<<() [8/13]

template<typename canvas >
canvas& ant::operator<< ( canvas &&  c,
const MCEnergyThresholds::CBTAPS_t cbtaps 
)

◆ operator<<() [9/13]

ostream& ant::operator<< ( ostream &  out,
const VarBinSettings b 
)

◆ operator<<() [10/13]

ostream& ant::operator<< ( std::ostream &  s,
const hstack o 
)
Todo:
print current options...?

◆ operator<<() [11/13]

ostream& ant::operator<< ( std::ostream &  stream,
const ClippedInterpolatorWrapper o 
)

◆ operator<<() [12/13]

ostream& ant::operator<< ( std::ostream &  stream,
const ClippedInterpolatorWrapper::boundsCheck_t o 
)

◆ operator<<() [13/13]

template<typename canvas >
canvas& ant::operator<< ( canvas &&  c,
const MCClusterECorr::CBTAPS_t cbtaps 
)

◆ operator>>()

istream& ant::operator>> ( std::istream &  in,
BinSettings t 
)

◆ operator^()

template<typename Enum , std::size_t n>
constexpr std::enable_if<std::is_enum<Enum>::value, bitflag<Enum, n> >::type ant::operator^ ( Enum  left,
const bitflag< Enum, n > &  right 
)

◆ operator|() [1/3]

template<typename Enum , std::size_t n>
constexpr std::enable_if<std::is_enum<Enum>::value, bitflag<Enum, n> >::type ant::operator| ( Enum  left,
const bitflag< Enum, n > &  right 
)

◆ operator|() [2/3]

◆ operator|() [3/3]

Detector_t::Any_t ant::operator| ( Detector_t::Type_t  t1,
Detector_t::Type_t  t2 
)
inline

◆ Range()

template<typename T >
Range_t<T> ant::Range ( const ant::interval< T > &  i,
const unsigned  n 
)
noexcept

◆ step()

template<typename T >
T ant::step ( const ant::interval< T >  i,
const unsigned  n,
const unsigned  p 
)

◆ UnFixParameters()

template<typename T >
void ant::UnFixParameters ( TF1 *  func,
const T &  pars 
)

Variable Documentation

◆ endc

const endcanvas ant::endc = endcanvas()

◆ endr

const endrow ant::endr = endrow()

◆ samepad

const samepad_t ant::samepad = samepad_t()