13 const std::vector<OffEle>& eles = evt.
eles();
15 for(
size_t eleNr=0;eleNr<eles.size();eleNr++){
20 tagEle = &eles[eleNr];
25 float mass = (theEle.
p4()+tagEle->
p4()).
mag();
41 const std::vector<OffEle>& eles = evt.
eles();
43 for(
size_t eleNr=0;eleNr<eles.size();eleNr++){
48 tagEle = &eles[eleNr];
53 float mass = (theEle.
p4()+tagEle->
p4()).
mag();
70 const std::vector<OffPho>& phos = evt.
phos();
72 for(
size_t phoNr=0;phoNr<phos.size();phoNr++){
77 tagPho = &phos[phoNr];
82 float mass = (thePho.
p4()+tagPho->
p4()).
mag();
91 const std::vector<OffEle>& eles = evt.
eles();
92 for(
size_t eleNr=0;eleNr<eles.size();eleNr++){
93 if(&eles[eleNr]!=&obj){
96 if( (diEleCutCode &
cutCode_)==0x0)
return true;
106 const std::vector<OffPho>& phos = evt.
phos();
107 for(
size_t phoNr=0;phoNr<phos.size();phoNr++){
108 if(&phos[phoNr]!=&obj){
111 if( (diPhoCutCode &
cutCode_)==0x0)
return true;
bool pass(const OffPho &pho, const OffEvt &evt) const
TrigCodes::TrigBitSet bit1ToPass_
TrigCodes::TrigBitSet trigBits() const
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
TrigCodes::TrigBitSet bit1ToPass_
TrigCodes::TrigBitSet trigBits() const
int(OffEle::* cutCodeFunc_)() const
TrigCodes::TrigBitSet bit2ToPass_
double deltaR2(const T1 &t1, const T2 &t2)
bool pass(const OffEle &obj, const OffEvt &evt) const
bool pass(const OffEle &ele, const OffEvt &evt) const
TrigCodes::TrigBitSet bitsToPass_
const std::vector< OffPho > & phos() const
bool pass(const OffEle &ele, const OffEvt &evt) const
const std::vector< OffEle > & eles() const
bool pass(const OffPho &obj, const OffEvt &evt) const
int(OffEle::* cutCodeFunc_)() const
const math::XYZTLorentzVector & p4() const
int(OffPho::* cutCodeFunc_)() const
const math::XYZTLorentzVector & p4() const
int(OffEle::* cutCodeFunc_)() const
int(OffPho::* cutCodeFunc_)() const
TrigCodes::TrigBitSet bit2ToPass_