Module filters_mod

module filters_mod

        ! Uses
    use precision_mod
    use det_geom_mod
    use unp_mod
    use namelist_mod

        ! Variables
    integer (kind=i4), public, PARAMETER :: MAXTEST = 50
    logical, public, dimension (MAXTEST) :: FailedTest
    integer (kind=i4), public :: TestEvent = 0
    integer (kind=i4), public :: NHitPlanesDC
    integer (kind=i4), public :: NHitPlanesPC
    integer (kind=i4), public, dimension (MAX_PLANES_D) :: NHitWiresDC
    integer (kind=i4), public, dimension (MAX_PLANES_P) :: NHitWiresPC
    integer (kind=i4), public :: NTotHitsDC
    integer (kind=i4), public :: NTotHitsPC
    integer (kind=i4), private :: TotNHitScints
    integer (kind=i4), private, dimension (MAX_SCINTS) :: NhitScints
    integer (kind=i4), private :: NTotScintHits
    integer (kind=i4), public, PARAMETER :: DCMaxAllowedHits = 1000
    integer (kind=i4), public, PARAMETER :: PCMaxAllowedHits = 200

        ! Subroutines and functions
    public subroutine Filters ()
    private subroutine FiltersInit ()
    private subroutine FiltersCounters ()
    private subroutine FiltersApply ()
    public subroutine FillPostFilterHists ()

end module filters_mod

Description of Variables

MAXTEST

integer (kind=i4), public, PARAMETER :: MAXTEST = 50

FailedTest

logical, public, dimension (MAXTEST) :: FailedTest

TestEvent

integer (kind=i4), public :: TestEvent = 0

NHitPlanesDC

integer (kind=i4), public :: NHitPlanesDC

NHitPlanesPC

integer (kind=i4), public :: NHitPlanesPC

NHitWiresDC

integer (kind=i4), public, dimension (MAX_PLANES_D) :: NHitWiresDC

NHitWiresPC

integer (kind=i4), public, dimension (MAX_PLANES_P) :: NHitWiresPC

NTotHitsDC

integer (kind=i4), public :: NTotHitsDC

NTotHitsPC

integer (kind=i4), public :: NTotHitsPC

TotNHitScints

integer (kind=i4), private :: TotNHitScints

NhitScints

integer (kind=i4), private, dimension (MAX_SCINTS) :: NhitScints

NTotScintHits

integer (kind=i4), private :: NTotScintHits

DCMaxAllowedHits

integer (kind=i4), public, PARAMETER :: DCMaxAllowedHits = 1000

PCMaxAllowedHits

integer (kind=i4), public, PARAMETER :: PCMaxAllowedHits = 200

Description of Subroutines and Functions

Filters

public subroutine Filters ()
    ! Calls: FillPostFilterHists, FiltersApply, FiltersCounters, FiltersInit
end subroutine Filters

FiltersInit

private subroutine FiltersInit ()
end subroutine FiltersInit

FiltersCounters

private subroutine FiltersCounters ()
end subroutine FiltersCounters

FiltersApply

private subroutine FiltersApply ()
end subroutine FiltersApply

FillPostFilterHists

public subroutine FillPostFilterHists ()
    ! Calls: hf1
end subroutine FillPostFilterHists