36 SetTheta ( 0, 2.*3.14159265358979323846 );
45 if ( crit==
"veryLoose" || crit==
"loose" ) {
50 SetTheta ( 0, 2.*3.14159265358979323846 );
56 SetTheta ( 0, 2.*3.14159265358979323846 );
67 if ( b == 0 ) {
return kFALSE; }
70 if ( !
Accept ( tmp2 ) ) {
return kFALSE; }
80 if ( cand == 0 ) {
return kFALSE; }
86 if ( emc <
fEmcMin ) {
return kFALSE; }
87 if ( emc >
fEmcMax ) {
return kFALSE; }
92 if ( nc <
fNcMin ) {
return kFALSE; }
93 if ( nc >
fNcMax ) {
return kFALSE; }
108 if ( p.Theta() <
fThetaMin ) {
return kFALSE; }
109 if ( p.Theta() >
fThetaMax ) {
return kFALSE; }
122 o << GetName() << endl;
124 if (
fNcMin > 0 ) { o <<
"Number of Crystals = " <<
fNcMin <<
" ... " <<
fNcMax << endl; }
virtual void PrintOn(std::ostream &o=std::cout) const
void emc(Int_t nEvents=10, Char_t part[]="e-", Double_t momentum_min=1.0, Double_t momentum_max=1.0, Double_t theta_min=0, Double_t theta_max=180, Double_t phi_min=0, Double_t phi_max=360, Char_t OutputSimFile[]="sim_emc.root", Char_t OutputDatabaseFile[]="simparams.root", Char_t TransportModel[]="TGeant3", UInt_t seed=0, Bool_t savepoints=kFALSE, Bool_t savehits=kFALSE, Bool_t savewaves=kFALSE, Bool_t savedigis=kFALSE, Bool_t saveclusters=kTRUE, Bool_t savebumps=kTRUE)
Float_t GetEmcCalEnergy() const
Int_t GetEmcNumberOfCrystals() const
PndPidCandidate * GetRecoCandidate() const
std::ostream & operator<<(std::ostream &o, const PndEventInfo &a)
virtual void SetCriterion(const char *crit)
void SetTheta(Double_t min, Double_t max)
RhoGoodPhotonSelector(const char *name="RhoGoodPhotonSelector", Double_t e=0.1, Int_t nCrys=0, Double_t lat=1.0, Bool_t qc=kFALSE)
void SetShowerEnergy(Double_t min, Double_t max=1.E8)
friend F32vec4 fabs(const F32vec4 &a)
void SetTypeAndMass(RhoCandidate *b)
virtual void SetCriterion(const char *crit)
virtual Bool_t Accept(RhoCandidate *b)
void SetCrystals(Int_t min, Int_t max)
TVector3 GetMomentum() const