15 |
|
TH1D *hEmu_Muon, *hEmu_Wide, *hEmu_L1Rpc; |
16 |
|
} |
17 |
|
|
18 |
< |
AnaEmu::AnaEmu(TObjArray& histos) |
19 |
< |
: debug(false) |
18 |
> |
void AnaEmu::init(TObjArray& histos) |
19 |
|
{ |
20 |
|
hEmu_Muon= new TH1D( "hEmu_Muon", "hEmu_Muon", 64, -1.6, 1.6); histos.Add( hEmu_Muon); |
21 |
|
hEmu_Wide= new TH1D( "hEmu_Wide", "hEmu_Wide", 64, -1.6, 1.6); histos.Add( hEmu_Wide); |
42 |
|
if (l1Rpcs.size() > 0) hEmu_L1Rpc->Fill(muon->eta()); |
43 |
|
if (l1RpcsEmu.size() > 0) hEmu_Wide->Fill(muon->eta()); |
44 |
|
if (l1Rpcs.size() > 0 && l1RpcsEmu.size()==0) { |
45 |
< |
std::cout <<"has no Emu but Rpc, run="<<event->run<<" lumi="<<event->lumi<<std::endl; |
45 |
> |
// std::cout <<"has no Emu but Rpc, run="<<event->run<<" lumi="<<event->lumi<<std::endl; |
46 |
|
// debug = true; |
47 |
|
} |
48 |
|
if (debug) std::cout <<"MUON: pt="<<muon->pt()<<" eta="<<muon->eta()<<std::endl; |