Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Atlfast::CalSectionReject Class Reference

#include <CalSectionReject.h>

List of all members.


Public Methods

 CalSectionReject (double etaMin, double etaMax, double phiMin, double phiMax)
 CalSectionReject (const CalSectionReject &other)
bool operator() (const TransportedParticle *p)
 Returns true if particle fails acceptance cuts: pseudoRapidity - from CLHEP momentum phi - rotated by B field.

bool operator() (const EPileupDeposit *p)
MsgStream & writeout (MsgStream &stream) const

Private Attributes

double m_etaMin
double m_etaMax
double m_phiMin
double m_phiMax

Constructor & Destructor Documentation

Atlfast::CalSectionReject::CalSectionReject double    etaMin,
double    etaMax,
double    phiMin,
double    phiMax
 

Definition at line 31 of file CalSectionReject.cxx.

00032                                                                   :
00033     m_etaMin(etaMin), m_etaMax(etaMax),
00034     m_phiMin(phiMin), m_phiMax(phiMax) {}
  

Atlfast::CalSectionReject::CalSectionReject const CalSectionReject &    other
 

Definition at line 36 of file CalSectionReject.cxx.

00036                                                                  :
00037     m_etaMin(other.m_etaMin), m_etaMax(other.m_etaMax),
00038     m_phiMin(other.m_phiMin), m_phiMax(other.m_phiMax) {}

Member Function Documentation

bool Atlfast::CalSectionReject::operator() const TransportedParticle   p
 

Returns true if particle fails acceptance cuts: pseudoRapidity - from CLHEP momentum phi - rotated by B field.

Definition at line 44 of file CalSectionReject.cxx.

References m_etaMax, m_phiMax, Atlfast::TransportedParticle::particle(), and Atlfast::TransportedParticle::phi().

00044                                                                 {
00045     double eta = ((p->particle())->momentum()).pseudoRapidity();
00046     ::Phi phi = p->phi();
00047     if(eta<=m_etaMin || eta > m_etaMax) return true;
00048     if(phi<=m_phiMin || phi > m_phiMax) return true;
00049     return false; 
00050   }

bool Atlfast::CalSectionReject::operator() const EPileupDeposit *    p
 

Definition at line 52 of file CalSectionReject.cxx.

References m_etaMax, and m_phiMax.

00052                                                            {
00053     double eta = p->eta();
00054     ::Phi phi = p->phi();
00055     if(eta<=m_etaMin || eta > m_etaMax) return true;
00056     if(phi<=m_phiMin || phi > m_phiMax) return true;
00057     return false; 
00058   }

MsgStream & Atlfast::CalSectionReject::writeout MsgStream &    stream const
 

Definition at line 60 of file CalSectionReject.cxx.

References m_etaMax, m_etaMin, m_phiMax, and m_phiMin.

Referenced by Atlfast::operator<<().

00060                                                               {
00061     stream<<setiosflags(ios::fixed);
00062     stream<<setprecision(3);
00063     stream<<"Lower limits (phi, eta):"<<endreq;
00064     stream<< m_phiMin <<" "<<m_etaMin<<endreq;
00065     stream<<"Upper limit (phi, eta):"<<endreq;
00066     stream<< m_phiMax <<" "<<m_etaMax<<endreq;
00067     return stream;
00068   }

Member Data Documentation

double Atlfast::CalSectionReject::m_etaMin [private]
 

Definition at line 42 of file CalSectionReject.h.

Referenced by writeout().

double Atlfast::CalSectionReject::m_etaMax [private]
 

Definition at line 43 of file CalSectionReject.h.

Referenced by operator()(), and writeout().

double Atlfast::CalSectionReject::m_phiMin [private]
 

Definition at line 44 of file CalSectionReject.h.

Referenced by writeout().

double Atlfast::CalSectionReject::m_phiMax [private]
 

Definition at line 45 of file CalSectionReject.h.

Referenced by operator()(), and writeout().


The documentation for this class was generated from the following files:
Generated on Tue Jan 28 09:57:34 2003 for AtlfastAlgs by doxygen1.3-rc1