ATLAS Offline Software
Macros | Functions
InDetGlobalBCMTool.cxx File Reference
#include "InDetGlobalBCMTool.h"
#include "GaudiKernel/IInterface.h"
#include "GaudiKernel/StatusCode.h"
#include "StoreGate/ReadHandle.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TrkEventPrimitives/ParamDefs.h"
#include "VxVertex/VxCandidate.h"
#include "VxVertex/VxTrackAtVertex.h"
#include "InDetGlobalPrimaryVertexMonTool.h"
#include "InDetRawData/PixelRDORawData.h"
#include <string>
#include <list>
#include <vector>

Go to the source code of this file.

Macros

#define BCM_LVL1A   18
 

Functions

void FillGlobalHistos (TH2F *h1, TH2F *h2, TH2F *h3, TH1F *h4, TH1F *h5, int pulsewid, int channel, int bcid, int ecr, int lvl1a)
 
void FillPulseHistos (TH1F *h1, TH1F *h2, TH1F *h3, TH1F *h4, int pulsepos, int pulsewid, int tmp=0, TH1F *h5=nullptr)
 
bool bcid_select (const deltat_data &data)
 

Detailed Description

Implementation of inner detector beam conditions monitoring tool

Author
Heidi Sandaker Heidi.nosp@m..San.nosp@m.daker.nosp@m.@cer.nosp@m.n.ch
Alex Kastanas Alex..nosp@m.Kast.nosp@m.anas@.nosp@m.cern.nosp@m..ch
Jennifer Jentzsch Jenni.nosp@m.fer..nosp@m.Jentz.nosp@m.sch@.nosp@m.cern..nosp@m.ch

Definition in file InDetGlobalBCMTool.cxx.

Macro Definition Documentation

◆ BCM_LVL1A

#define BCM_LVL1A   18

Definition at line 40 of file InDetGlobalBCMTool.cxx.

Function Documentation

◆ bcid_select()

bool bcid_select ( const deltat_data data)

Definition at line 586 of file InDetGlobalBCMTool.cxx.

586  {
587  return (data.bcid <data.bcid_max);
588 }

◆ FillGlobalHistos()

void FillGlobalHistos ( TH2F h1,
TH2F h2,
TH2F h3,
TH1F h4,
TH1F h5,
int  pulsewid,
int  channel,
int  bcid,
int  ecr,
int  lvl1a 
)

Definition at line 549 of file InDetGlobalBCMTool.cxx.

549  {
550  if (pulsewid!=0){
551  h1->Fill(lvl1a, channel);
552  h2->Fill(bcid, channel);
553  h3->Fill(ecr, channel);
554  h4->Fill(lvl1a);
555  h5->Fill(bcid);
556  }
557 }

◆ FillPulseHistos()

void FillPulseHistos ( TH1F h1,
TH1F h2,
TH1F h3,
TH1F h4,
int  pulsepos,
int  pulsewid,
int  tmp = 0,
TH1F h5 = nullptr 
)

Definition at line 559 of file InDetGlobalBCMTool.cxx.

559  {
560  if (pulsewid!=0){
561  h1->Fill(pulsepos);
562  h2->Fill(pulsewid);
563  h3->Fill(pulsepos);
564  h4->Fill(pulsewid);
565  if (h5 != nullptr){
566  h5->Fill(tmp);
567  }
568  }
569 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
read_hist_ntuple.h1
h1
Definition: read_hist_ntuple.py:21
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133