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)
bool operator() (const GridletElement *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 35 of file CalSectionReject.cxx.

00036                                                                   :
00037     m_etaMin(etaMin), m_etaMax(etaMax),
00038     m_phiMin(phiMin), m_phiMax(phiMax) {}
  

Atlfast::CalSectionReject::CalSectionReject const CalSectionReject &    other
 

Definition at line 40 of file CalSectionReject.cxx.

00040                                                                  :
00041     m_etaMin(other.m_etaMin), m_etaMax(other.m_etaMax),
00042     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 48 of file CalSectionReject.cxx.

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

00048                                                                 {
00049     double eta = ((p->particle())->momentum()).pseudoRapidity();
00050     ::Phi phi = p->phi();
00051     if(eta<=m_etaMin || eta > m_etaMax) return true;
00052     if(phi<=m_phiMin || phi > m_phiMax) return true;
00053     return false; 
00054   }

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

Definition at line 56 of file CalSectionReject.cxx.

References m_etaMax, and m_phiMax.

00056                                                            {
00057     double eta = p->eta();
00058     ::Phi phi = p->phi();
00059     if(eta<=m_etaMin || eta > m_etaMax) return true;
00060     if(phi<=m_phiMin || phi > m_phiMax) return true;
00061     return false; 
00062   }

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

Definition at line 64 of file CalSectionReject.cxx.

References m_etaMax, and m_phiMax.

00064                                                            {
00065     double eta = p->eta();
00066     ::Phi phi = p->phi();
00067     if(eta<=m_etaMin || eta > m_etaMax) return true;
00068     if(phi<=m_phiMin || phi > m_phiMax) return true;
00069     return false; 
00070   }

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

Definition at line 72 of file CalSectionReject.cxx.

References m_etaMax, m_etaMin, m_phiMax, and m_phiMin.

Referenced by Atlfast::operator<<().

00072                                                               {
00073     stream<<setiosflags(ios::fixed);
00074     stream<<setprecision(3);
00075     stream<<"Lower limits (phi, eta):"<<endreq;
00076     stream<< m_phiMin <<" "<<m_etaMin<<endreq;
00077     stream<<"Upper limit (phi, eta):"<<endreq;
00078     stream<< m_phiMax <<" "<<m_etaMax<<endreq;
00079     return stream;
00080   }

Member Data Documentation

double Atlfast::CalSectionReject::m_etaMin [private]
 

Definition at line 50 of file CalSectionReject.h.

Referenced by writeout().

double Atlfast::CalSectionReject::m_etaMax [private]
 

Definition at line 51 of file CalSectionReject.h.

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

double Atlfast::CalSectionReject::m_phiMin [private]
 

Definition at line 52 of file CalSectionReject.h.

Referenced by writeout().

double Atlfast::CalSectionReject::m_phiMax [private]
 

Definition at line 53 of file CalSectionReject.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:18:52 2003 for AtlfastAlgs by doxygen1.3-rc1