<commit_before>#ifndef CEPEVENTBUFFER
#define CEPEVENTBUFFER

#include "TObject.h"
#include "TObjArray.h"
#include "TArrayI.h"
#include "AliVEvent.h"
#include "AliVVZERO.h"
#include "AliESDAD.h"
#include "AliCEPBase.h"
#include "TParticle.h"
#include "CEPTrackBuffer.h"

class CEPEventBuffer : public TObject {

  private:
    Int_t fRunNumber;
    Int_t fEventNumber;
    Int_t fPeriodNumber;
    Int_t fOrbitNumber;
    Int_t fBunchCrossNumber;
    Int_t fCollissionType;
    Double_t fMagnField;
    TString fFiredTriggerClasses;
    
    Bool_t fPFBBFlagV0[21];
    Bool_t fPFBGFlagV0[21];
    Bool_t fPFBBFlagAD[21];
    Bool_t fPFBGFlagAD[21];

    // general event features
    Bool_t fEventCutsel;
    Bool_t fPhysel;
    Bool_t fisPileup;
    Bool_t fisClusterCut;
    Short_t fnITSCluster[6];   // Number of ITS clusters on all 6 layers
                               // and number of offline fired chips
    Short_t fFiredChips[4];    // Number of FastOR chips in the two SPD layers
                               // and number of offline fired chips
    TBits  fSPD_0STG_Online;   //! using FastOrMap    (online)
    TBits  fSPD_0STG_Offline;  //! using FiredChipMap (offline)


    Bool_t fisDGTrigger;
    UInt_t fisSTGTriggerFired;
    Int_t  fnTOFmaxipads;
    AliTOFTriggerMask *fTOFTriggerMask;
    
    // see AliCEPBase.h for the definition of fEventCondition
    UInt_t fEventCondition;

    // summary track information
    Int_t fnTracklets;      // total number of tracklets
    Int_t fnSingles;        // number of clusters on SPD layer 1 and 2
                            // not associated with a tracklet on other SPD 
    Int_t fnTracksTotal;    // total number of tracks
    Int_t fnTracks;         // number of tracks in fCEPTracks
    Int_t fnTracksCombined; // ITS+TPC
    Int_t fnTracksITSpure;  // ITS only
    Int_t fnResiduals;      // tracklets without associated track
    Int_t fnMSelection;     // tracks after Martin's selection
                            // negative value: full event is rejected
    Int_t fnV0;             // number of V0s

    UInt_t   fVtxType;      // see AliCEPBase.h for a definition of the bits
    TVector3 fVtxPos;       // vertex position<commit_msg>save CEPEventBuffer::{fSPD_0STG_Online,fSPD_0STG_Offline} in output<commit_after>#ifndef CEPEVENTBUFFER
#define CEPEVENTBUFFER

#include "TObject.h"
#include "TObjArray.h"
#include "TArrayI.h"
#include "AliVEvent.h"
#include "AliVVZERO.h"
#include "AliESDAD.h"
#include "AliCEPBase.h"
#include "TParticle.h"
#include "CEPTrackBuffer.h"

class CEPEventBuffer : public TObject {

  private:
    Int_t fRunNumber;
    Int_t fEventNumber;
    Int_t fPeriodNumber;
    Int_t fOrbitNumber;
    Int_t fBunchCrossNumber;
    Int_t fCollissionType;
    Double_t fMagnField;
    TString fFiredTriggerClasses;
    
    Bool_t fPFBBFlagV0[21];
    Bool_t fPFBGFlagV0[21];
    Bool_t fPFBBFlagAD[21];
    Bool_t fPFBGFlagAD[21];

    // general event features
    Bool_t fEventCutsel;
    Bool_t fPhysel;
    Bool_t fisPileup;
    Bool_t fisClusterCut;
    Short_t fnITSCluster[6];   // Number of ITS clusters on all 6 layers
                               // and number of offline fired chips
    Short_t fFiredChips[4];    // Number of FastOR chips in the two SPD layers
                               // and number of offline fired chips
    TBits  fSPD_0STG_Online;   // using FastOrMap    (online)
    TBits  fSPD_0STG_Offline;  // using FiredChipMap (offline)


    Bool_t fisDGTrigger;
    UInt_t fisSTGTriggerFired;
    Int_t  fnTOFmaxipads;
    AliTOFTriggerMask *fTOFTriggerMask;
    
    // see AliCEPBase.h for the definition of fEventCondition
    UInt_t fEventCondition;

    // summary track information
    Int_t fnTracklets;      // total number of tracklets
    Int_t fnSingles;        // number of clusters on SPD layer 1 and 2
                            // not associated with a tracklet on other SPD 
    Int_t fnTracksTotal;    // total number of tracks
    Int_t fnTracks;         // number of tracks in fCEPTracks
    Int_t fnTracksCombined; // ITS+TPC
    Int_t fnTracksITSpure;  // ITS only
    Int_t fnResiduals;      // tracklets without associated track
    Int_t fnMSelection;     // tracks after Martin's selection
                            // negative value: full event is rejected
    Int_t fnV0;             // number of V0s

    UInt_t   fVtxType;      // see AliCEPBase.h for a definition of the bits
    TVector3 fVtxPos;       // vertex position
{'fraction_non_alphanumeric': 0.06653315531820204, 'fraction_numerical': 0.009345794392523364, 'mean_word_length': 2.4365443425076454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '966213', 'n_tokens_mistral': 1554, 'n_tokens_neox': 1479, 'n_words': 416}